TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

PDF viewer that works inside terminals that support inline graphics

113 pointsby gnocchiabout 9 years ago

7 comments

tlackabout 9 years ago
If anyone is as curious about how this works as I am, here&#x27;s some info from the source: <a href="https:&#x2F;&#x2F;github.com&#x2F;dsanson&#x2F;termpdf&#x2F;blob&#x2F;master&#x2F;termpdf#L71" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;dsanson&#x2F;termpdf&#x2F;blob&#x2F;master&#x2F;termpdf#L71</a><p>Some notes on Tmux&#x27;s support: <a href="https:&#x2F;&#x2F;groups.google.com&#x2F;forum&#x2F;#!topic&#x2F;iterm2-discuss&#x2F;PJzHwRMOWK4" rel="nofollow">https:&#x2F;&#x2F;groups.google.com&#x2F;forum&#x2F;#!topic&#x2F;iterm2-discuss&#x2F;PJzHw...</a><p>Here are some other weird extended escape codes supported by iTerm on Mac, such as notifications and setting clipboard contents: <a href="https:&#x2F;&#x2F;www.iterm2.com&#x2F;documentation-escape-codes.html" rel="nofollow">https:&#x2F;&#x2F;www.iterm2.com&#x2F;documentation-escape-codes.html</a>
truncateabout 9 years ago
Coincidentally, just today my friend was talking about terminal based browser, and I opened w3m, only to discover that it displays images now. I still couldn&#x27;t figure out how it does that, so thought I might as well just ask here as it seems to be doing something similar here.
评论 #11236928 未加载
评论 #11238131 未加载
评论 #11239099 未加载
cm3about 9 years ago
I really wish devdraw would get real Plan9 behavior and 9term would gain readline-style interaction such that they would allow us to transition to a rich terminal which can host text and graphics natively. I know there are some hacks like this one or Terminology (Enlightenment project), but those are still hacks. If you&#x27;ve ever used a native Plan9 environment where running a graphical application from within a shell transforms the shell into the graphical application, you know what I mean. It&#x27;s very natural to lose the distinction. Yes, there are some hacks and closed applications that do some of this, but those cannot be used universally. Sadly plan9port and their devdraw and drawterm create a separate window and do not transform the terminal.
评论 #11240151 未加载
rekadoabout 9 years ago
I find it interesting that the screenshot resembles my Emacs session. Personally, I find terminal emulators to be a worse target for PDF viewers than Emacs buffers.
cypharabout 9 years ago
I&#x27;ll check this when I get back on my Linux machine, but has anyone tried this in Termite (or Gnome Terminal since they use essentially the same terminal library).
chris-atabout 9 years ago
Would this work via ssh as well?
jkotabout 9 years ago
More useful would be text based PDF viewer.
评论 #11239676 未加载