TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

PDF viewer that works inside terminals that support inline graphics

113 点作者 gnocchi大约 9 年前

7 条评论

tlack大约 9 年前
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>
truncate大约 9 年前
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 未加载
cm3大约 9 年前
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 未加载
rekado大约 9 年前
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.
cyphar大约 9 年前
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-at大约 9 年前
Would this work via ssh as well?
jkot大约 9 年前
More useful would be text based PDF viewer.
评论 #11239676 未加载