Date: Wed, 29 Jun 2016 12:29:45 +0200 From: Niklaas Baudet von Gersdorff <stdin@niklaas.eu> To: freebsd-questions@freebsd.org Subject: Reading PDFs on the command line (with misc/lesspipe) Message-ID: <20160629102945.GA24197@box-hlm-03.niklaas.eu>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Since I use mutt to read emails on my server, I would like to
read PDFs on the command line. How can I do that?
I installed misc/lesspipe and -- as far as I can judge --
configured it properly.
$ echo $LESSOPEN
|/usr/local/bin/lesspipe.sh %s
However, if I run
$ less some.pdf
I still get an unreadable output of fancy symbols.
Has anybody got lesspipe running properly? Or are there even
better approaches for reading PDF on the command line?
Niklaas
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJXc6MTAAoJEG2fODeJrIU/q84P/2FNlGNN+PMyPYKLsMy3p6f/
f3k6AEiKhDrv+mKiHt3Jq1Cib2YSAlkMz81vxIHqQM6CAq5ZD3NXfbxSqnaj5q4M
OYHLJj6aCS78kTZyTpFxaKR1PJYq8IzX9teBlSiGCssjlh+N4cA35WwhSem1t1k/
GEc27dWU+AW0hiFFmjN0fWnpW4Wms9QBQOhJK75MQGme8EXpqsAEouzhadksU5tg
muf5SsnYOlAlfOdumjPaOcRvqlI+dA0b8yZ9ixkHzfoKVkhk+F4Y5EDveAr72HTP
chsAYnWcW7ho3ZP0eJNMz914WYCsyOyK1E5BTsM+sHkURdjj0b8yf4hWAtXOfsOc
98rjmx8RBG6niY5YX/LRRArl4Y0DgDLs+GMT8ZIMM+gikGiCDj7Cclf+dUMPNGZE
yHJqww76dtgq3HER+nLDG7XZo7od5O7iBYWqwsT06lYbJfdBZSbyEfeZiYw7Ebka
DjHBcsILy20vSQGQDdynYVzwcQtKEWpn8SbZokZylxISR/WdhOWtACFlF1+tVLaN
rVnpysoSemGijWnP8LH9dqvRJWb95Cq9zC2x6it3otuIRJw+mQPij88KOrVFw3fh
dRx922zr24z4pgdUoQ9MXsKh6KeuabQ/9SNw4YWwnN2vLghRH6ogmFlvN88tdGo9
VYIN0u4RdgrZTjzk+wOp
=+J9K
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160629102945.GA24197>
