|
|
我stty -a
speed 38400 baud; rows 24; columns 80; line = 0;
intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff
-iuclc -ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke
假如我stty erase ^?
那么在这个SHELL里vi,一切就正常了。但是换一个shell,也就是重新打开一个xterm vi,还是老毛病,于是我把stty erase ^?放到~/.bashrc里,这样就好了。但是问题又来了,重启动后,机器进入不了XWindows,干掉stty erase ^?这句,就能启动了。
唉,请哪位高人指导一下,我GOOGLE了半天,找不到问题解决的方法 |
|