- 授权协议: MIT
- 开发语言: Python
- 操作系统: 跨平台
- 软件首页: https://github.com/tweekmonster/tmux2html
- 软件文档: https://github.com/tweekmonster/tmux2html/blob/master/README.md
- 官方下载: https://github.com/tweekmonster/tmux2html/archive/master.zip
软件介绍
tmux2htm 渲染TMUX全窗口或单个窗格为HTML。
通过捕捉TMUX全窗口或单个窗格,对它们的内容进行分析,并在实时色彩中转换成HTML。输出可以是快照或动画序列。包含一个使用gzip压缩的Web服务,因为合理大小的窗口或窗格,所以通过网络的大小是可以忽略不计的。
要求:
tmux 1.8
Python 2.7 or 3.4 (could be wrong since it's not tested in lower versions)
安装:
pip install tmux2html
用法:
tmux2html 4 -o window_5_in_current_session.html tmux2html .0 -o first_pane_in_current_window.html tmux2html other:1.2 -o second_window_third_pane_in_other_session.html
命令行选项
target (positional) - Target window or pane. Uses tmux's target syntax, but always 0-indexed. (e.g. sess:1.2 - Session - sess, Window 2, Pane 3. Default target is window.)
-o, --output - Output file. Prints to stdout if omitted.
-m, --mode - Output file permissions. Default - 644
--light - Light background.
--interval - Number of seconds between captures.
--duration - Number of seconds to capture. 0 for indefinite recording, -1 to disable.
--stream - Continuously renders until stopped and adds a script to auto refresh based on --interval. See the notes below for more info.
--fg - Foreground color. Can be a color index or R,G,B
--bg - Background color. Can be a color index or R,G,B
--full - Renders the full history of a single pane
编程的修炼(中英双语)
[荷]Edsger W. Dijkstra / 裘宗燕 / 电子工业出版社 / 2013-7 / 79.00元
本书是图灵奖获得者Edsger W. Dijkstra在编程领域里的经典著作中的经典。作者基于其敏锐的洞察力和长期的实际编程经验,对基本顺序程序的描述和开发中的许多关键问题做了独到的总结和开发。书中讨论了顺序程序的本质特征、程序描述和对程序行为(正确性)的推理,并通过一系列从简单到复杂的程序的思考和开发范例,阐释了基于严格的逻辑推理开发正确可靠程序的过程。 本书写于20世纪70年代中后期,但......一起来看看 《编程的修炼(中英双语)》 这本书的介绍吧!
