免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1254 | 回复: 0
打印 上一主题 下一主题

[文本处理] 关于vi中修改termios结构的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2015-01-30 18:17 |只看该作者 |倒序浏览
现在的VI设置VTIME和VMIN值时多少 ,Linux下stty -F /dev/pts/1 -a  查看在终端1中打开的vi进程,

  1. [xxxx@localhost ~]$ stty -F /dev/pts/1 -a
  2. speed 38400 baud; rows 24; columns 80; line = 0;
  3. intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = M-^?; eol2 = M-^?;
  4. swtch = M-^?; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
  5. lnext = ^V; flush = ^O; [color=Red]min = 1; time = 0;[/color]
  6. -parenb -parodd cs8 hupcl -cstopb cread -clocal -crtscts -cdtrdsr
  7. -ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl ixon -ixoff
  8. -iuclc ixany imaxbel iutf8
  9. opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
  10. -isig -icanon -iexten -echo -echoe echok -echonl -noflsh -xcase -tostop -echoprt
  11. echoctl echoke
复制代码
在AUPE上第18.2的答案中给的是1,1难道是我方法用错了,还是现在的VI修改了VTIME和VMIN的值?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP