Redian新闻
>
how to avoid hang when using screen+Vim?
avatar
how to avoid hang when using screen+Vim?# Linux - Linux 操作系统
e*e
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?
avatar
N*w
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?

avatar
e*e
3
any configure I could do to let screen or vim ingore ctrl+xxx command?
avatar
a*i
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?
avatar
a*e
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?

avatar
E*V
6
把screen的ctrl map成 `

【在 a*******e 的大作中提到】
: 可能screen和emacs都有这个组合键,结果screen把它给拦截了
avatar
e*e
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.
avatar
a*i
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.

avatar
e*e
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.
avatar
e*e
10
using vi under screen, why ctrl+s will make vi hang? even i use `+f to set
to -f mode.
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。