e***e 发帖数: 168 | 1 hi,
I use screen to open multiple windows. Then I use vim within one windows.
However, sometime, I press ctrl+x+s (save cmd) for the old habit of using
emacs. Then, the screen hang and it accepts no more key stroke.
Does anyone have a solution to avoid accidental trigger of hang? |
N****w 发帖数: 21578 | 2 hehe i never use that hehe
what if you press ctrl-Q...?
【在 e***e 的大作中提到】 : hi, : I use screen to open multiple windows. Then I use vim within one windows. : However, sometime, I press ctrl+x+s (save cmd) for the old habit of using : emacs. Then, the screen hang and it accepts no more key stroke. : Does anyone have a solution to avoid accidental trigger of hang?
|
e***e 发帖数: 168 | 3 any configure I could do to let screen or vim ingore ctrl+xxx command? |
a*****i 发帖数: 4391 | 4
Try this:
Each window has a flow-control setting that determines how screen deals with
the XON and XOFF characters (and perhaps the interrupt character). When
flow-control is turned off, screen ignores the XON and XOFF characters,
which allows the user to send them to the current program by simply typing
them (useful for the emacs editor, for instance). The trade-off is that it
will take longer for output from a "normal" program to pause in response to
an XOFF. With flow-control turned on, XON
【在 e***e 的大作中提到】 : any configure I could do to let screen or vim ingore ctrl+xxx command?
|
a*******e 发帖数: 3021 | 5 可能screen和emacs都有这个组合键,结果screen把它给拦截了
【在 e***e 的大作中提到】 : hi, : I use screen to open multiple windows. Then I use vim within one windows. : However, sometime, I press ctrl+x+s (save cmd) for the old habit of using : emacs. Then, the screen hang and it accepts no more key stroke. : Does anyone have a solution to avoid accidental trigger of hang?
|
E*V 发帖数: 17544 | 6 把screen的ctrl map成 `
【在 a*******e 的大作中提到】 : 可能screen和emacs都有这个组合键,结果screen把它给拦截了
|
e***e 发帖数: 168 | 7 I actually 把screen的ctrl map成 `. If you try that, you will see the problem
. Whennever you press ctrl+x, the whole screen will hang. |
a*****i 发帖数: 4391 | 8
problem
.和x离着老远。。。
看看我的回帖吧。
【在 e***e 的大作中提到】 : I actually 把screen的ctrl map成 `. If you try that, you will see the problem : . Whennever you press ctrl+x, the whole screen will hang.
|
e***e 发帖数: 168 | 9 the solution works for me is to map ctrl+a to `, then use ` + f to toggle to
-f option . see ayanami's first post. |
e***e 发帖数: 168 | 10 using vi under screen, why ctrl+s will make vi hang? even i use `+f to set
to -f mode. |