Reading PDFs on the command line (with misc/lesspipe)
Niklaas Baudet von Gersdorff
stdin at niklaas.eu
Wed Jun 29 10:29:54 UTC 2016
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20160629/4b487142/attachment.sig>
More information about the freebsd-questions
mailing list