dsanson / termpdf

barebones graphical pdf/djvu/cbr/image viewer that works inside iTerm2 2.9+ and Kitty
MIT License
637 stars 24 forks source link

Error: Couldn't open file '-list': No such file or directory. #1

Closed buzzbo closed 8 years ago

buzzbo commented 9 years ago

I get this error when I try to run the command

$ termpdf bash.pdf
Error: Couldn't open file '-list': No such file or directory.

The error appears very briefly, then it opens a blank page; ^c gets me back to the prompt.

Here is the pdf I used (dropbox link).

Edit: does this only work on a Mac?

dsanson commented 9 years ago

Sorry, yes, this is Mac only, because it depends on iTerm2. It shouldn't be hard to add support for X11 and framebuffer, using w3m's w3mimgdisplay utility (you can see how ranger does this here. But my version of w3m doesn't include w3mimgdisplay, so I don't have any easy way to test that.

buzzbo commented 9 years ago

Ah OK. If I was more devvy I would probably look into that, but I'll just watch. Thanks.

dsanson commented 8 years ago

I just added support for X11 using w3m. Try it out.