English 中文(简体)
switching between screens
原标题:
  • 时间:2010-03-05 23:10:10
  •  标签:
  • gnu-screen

I m using GNU screen just recently. I m wondering if there is an easier way to switch between screen. for example to map it to alt+left arrow and alt+right arrow ?

问题回答

You can bind keys in screen settings (.screenrc) using the bindkey function. For example:

# Bind F11 and F12 (NOT F1 and F2) to previous and next screen window
bindkey -k F1 prev
bindkey -k F2 next

(this example can be found at http://www.pixelbeat.org/lkdb/screen.html)





相关问题
switching between screens

I m using GNU screen just recently. I m wondering if there is an easier way to switch between screen. for example to map it to alt+left arrow and alt+right arrow ?

Custom script in .screenrc

I made a script that spawns a remote shell or runs a local shell whether it s on the current machine or not: #!/bin/bash # By: benoror <benoror@gmail.com> # # spawns a remote shell or runs a ...

GNU Screen: Changing Global Key-binding

I ve recently started using screen in remote sessions. One problem is that emacs doesn t recognize its C-a and I don t want to bind emacs C-a to something else, as I m very used to it. Google shows ...

Set screen-title from shellscript

Is it possible to set the Screen Title using a shell script? I thought about something like sending the key commands ctrl+A shift-A Name enter I searched for about an hour on how to emulate ...

热门标签