Niklaas Baudet von Gersdorff
2016-06-29 10:29:45 UTC
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
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