tmux:GNU screen 替代品

tmux 是一个与 GNU screen 类似的程序,可作为后者的替代品使用。tmux 采用 BSD 许可授权,其最新版本(当前是 0.5)的源代码可从 SourceForge 网站下载。

tmux

如上图所示,启动 tmux 后,在窗口底部有状态行显示,其中包括已创建的窗口列表、当前窗口(使用 * 表示)等。

与 GNU screen 相似,tmux 也使用快捷键来执行相关操作。要创建一个新的窗口,可以按 C-b c,即先按 Ctrl-b,再按 c。在各个窗口间切换可使用下列快捷键:

  • C-b n 切换到下一个窗口
  • C-b p 切换到上一个窗口
  • C-b 0、C-b 1……C-b n 切换到第 n 个窗口

分离会话可执行 C-b d 。

通过 man tmux 可以获得更详尽的 tmux 使用指南。

[感谢 fcicq 同学推荐]

Read More:

  • No related posts

24 Comments

  1. 1 Aspirin Commented @ 2008-12-03 19:58Reply to this comment

    有什么不同之处呢? 作者不会无故写个同类软件的吧

  2. 2 fireflyoo Commented @ 2008-12-03 20:10Reply to this comment

    因为授权协议不同。。故而又重写了个。。

  3. 3 adonais Commented @ 2008-12-03 20:40Reply to this comment

    功能差不多,仅授权不同,莫非想用到嵌入式环境

  4. 4 dram Commented @ 2008-12-03 21:28Reply to this comment

    Toy:

    能共享下你的终端的背景图片吗?看上去很不错。 多谢。:)

  5. 5 isun Commented @ 2008-12-03 21:33Reply to this comment

    终端用的室什么字体啊

  6. 6 Kevin Commented @ 2008-12-03 21:40Reply to this comment

    @isun: 没有猜错的话,应该是Monaco

  7. 7 Aspirin Commented @ 2008-12-03 21:55Reply to this comment

    背景确实不做,刚还没注意。我也要~ Toy共享吧~

  8. 8 Jan Commented @ 2008-12-03 22:05Reply to this comment

    用^b是因为screen用^a吗。。。

  9. 9 latteye Commented @ 2008-12-03 23:27Reply to this comment

    ^a 确实不好,我用 screen 都要改掉的。^a bash里面是到行首,用到的次数太多了。平时我改 ^z 在加个 ^S 全屏 putty 干一天活~~

  10. 10 沙漠之子 Commented @ 2008-12-04 1:01Reply to this comment

    终于解决 在opera中不能显示贵站的图片问题了

    站点参数中 启用发送应用者信息

    可能大大用了一些发盗链技术

  11. 11 ioky Commented @ 2008-12-04 4:33Reply to this comment

    I think there is a lot of room for screen to expend in term of it's function. Never the less, it is one of them most useful GNU tool.

  12. 12 transtone Commented @ 2008-12-04 6:56Reply to this comment

    @latteye ^a 的确不爽,我都是改成 ^l 的,习惯了一进图形界面就tilda-->screen :)

  13. 13 Toy Commented @ 2008-12-04 9:02Reply to this comment

    @dram, @Aspirin: 背景可从这里下载

  14. 14 yetiboy Commented @ 2008-12-04 9:49Reply to this comment

    t0y:字体是Comic Sans MS吗?我试了一下Comic,没有你图片上的好看:-(

  15. 15 Toy Commented @ 2008-12-04 10:18Reply to this comment

    @yetiboy: 字体就是 6 楼 @Kevin 说的 Monaco。

  16. 16 Zoom.Quiet Commented @ 2008-12-04 10:32Reply to this comment

    @沙漠之子: FireFox 中怎么整呢?

  17. 17 eot Commented @ 2008-12-04 11:06Reply to this comment

    见过同学在用

  18. 18 恶臭的 Commented @ 2008-12-04 12:04Reply to this comment

    对于个人来说bsd和gnu有什么区别,

  19. 19 Rainux Commented @ 2008-12-04 17:42Reply to this comment

    偶习惯用 ^g,使用方便,而且 bash 里 ^g 是中断当前输入,也没什么用(可以用 ^u 来取代)。

    很好奇 Toy man 里的颜色是怎么配置的?

  20. 20 Toy Commented @ 2008-12-05 9:22Reply to this comment

    @Rainux: 参考:

    http://linuxtoy.org/archives/colored-manpages.html

  21. 21 Sutra Commented @ 2008-12-05 21:31Reply to this comment

    比screen下面多出个状态栏,感觉不错。

  22. 22 wumin Commented @ 2008-12-06 17:53Reply to this comment

    下載完成後不知道該怎麼安裝 make && make install 出錯 ...Orz

  23. 23 Sutra Commented @ 2008-12-21 23:46Reply to this comment

    tmux 处理双字节文字时好像有点问题。 在输入有汉字的路径的时候,莫名地出现空格。 而在不使用tmux时是正常的。

  24. 24 邱焜 Commented @ 2009-08-12 21:55Reply to this comment

    @Sutra: 我的screen会