1

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 ?

4

1 回答 1

2

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)

于 2010-03-05T23:14:13.053 回答