由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Linux版 - how to avoid hang when using screen+Vim?
相关主题
Screen用ctrl-a S split屏幕以后的问题Vim: how can I jump to the previous cursor position?
vim和emacs的区别问个VIM查找并修改的问题
你们谁写过长一点儿的python?键盘的map,帮一下我。
xemacs状态栏不显示行数emacs 怎么设 mark
似乎开发者喜欢vim多过喜欢emacs问个小问题
vi这玩意的主要问题是用起来太费神了用emacs手疼怎么办
今天拿到了atom editor的测试邀请问个emacs的操作问题
比NANO更好的终端文本编辑器?tmux 和emacs快捷键冲突
相关话题的讨论汇总
话题: screen话题: hang话题: vim话题: ctrl话题: avoid
进入Linux版参与讨论
1 (共1页)
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.
1 (共1页)
进入Linux版参与讨论
相关主题
tmux 和emacs快捷键冲突似乎开发者喜欢vim多过喜欢emacs
到目前为止只用过不到5小时的emacsvi这玩意的主要问题是用起来太费神了
gnu screen issue今天拿到了atom editor的测试邀请
screen下vi的问题--急问比NANO更好的终端文本编辑器?
Screen用ctrl-a S split屏幕以后的问题Vim: how can I jump to the previous cursor position?
vim和emacs的区别问个VIM查找并修改的问题
你们谁写过长一点儿的python?键盘的map,帮一下我。
xemacs状态栏不显示行数emacs 怎么设 mark
相关话题的讨论汇总
话题: screen话题: hang话题: vim话题: ctrl话题: avoid