免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1267 | 回复: 0
打印 上一主题 下一主题

screen快捷键【zz】 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-07-25 15:59 |只看该作者 |倒序浏览

                KeyActionNotes
  Ctrl+a cnew window
  Ctrl+a nnext windowI bind F12 to this
  Ctrl+a pprevious windowI bind F11 to this
  Ctrl+a "select window from listI have window list in the status line
  Ctrl+a Ctrl+aprevious window viewed
  
  Ctrl+a Ssplit terminal horizontally into regionsCtrl+a c to create new window there
  Ctrl+a :resizeresize region
  Ctrl+a :fitfit screen size to new terminal sizeCtrl+a F is the same. Do after resizing xterm
  Ctrl+a :removeremove regionCtrl+a X is the same
  Ctrl+a tabMove to next region
  
  Ctrl+a ddetach screen from terminalStart screen with -r option to reattach
  Ctrl+a Aset window title
  Ctrl+a xlock sessionEnter user password to unlock
  Ctrl+a [enter scrollback/copy modeEnter to start and end copy region. Ctrl+a ] to leave this mode
  Ctrl+a ]paste bufferSupports pasting between windows
  Ctrl+a >write paste buffer to fileuseful for copying between screens
  Ctrl+a read paste buffer from fileuseful for pasting between screens
  
  Ctrl+a ?show key bindings/command namesNote unbound commands only in man page
  Ctrl+a :goto screen command promptup shows last command entered
Caption 定制
caption 命令可以用于定制显示的 caption ,通过指定 always 参数,可以让
她始终显示,而不仅仅是在分割的时候才显示出来。显示的内容里面可以使用的
特殊命令详细请参见 screen 的 info 文档里面 String Escapes 一节。我在网
上看到一个好像是 FreeWizard@newsmth 的配置,非常不错:
caption always "%?%F%{-b 4w}%:%{-b bb}%? %H | %l | %m-%d %c |%?%F%{-b 4w}%?%L=%-Lw%45>%{-b w4}%n%f* %t%{-}%+Lw%-0
显示了时间、系统负荷以及各个窗口的标签等很实用的内容。
【zz自】http://www.pixelbeat.org/lkdb/screen.html
【zz自】http://lifegoo.pluskid.org/wiki/Screen.html
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/87830/showart_2007121.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP