免费注册 查看新帖 |

Chinaunix

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

关于终端IO的延迟位。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-12-02 13:28 |只看该作者 |倒序浏览
The delay bits specify how long transmission stops to allow for mechanical or other movement when certain characters are sent to the terminal. In all cases, a value of  0  indicates no  delay. If  OFILL is set, fill characters are transmitted for delay instead of a timed delay. This is useful for  high baud  rate  terminals  that  need  only a minimal delay.  If OFDEL is set, the fill character is DEL ;  otherwise  it  is NULL.
依据技术上或其他某个操作上的需要(哪位前辈能举个例子?),在传送某些特殊字符给终端的时候,延迟位指定了传输操作停止多长时间。在所有的情况下,0代表没有延迟。如果设定了OFILL,则传送某个填充字符而不是进行时间上的延迟。在需要最小延迟的高波特率的终端上,这种方法很有用。如果设定了OFDEL,则填充字符是DEL,否则填充NULL。

If a form-feed or vertical-tab delay is specified, it  lasts for about 2 seconds.
如果换页或者水平制表符被指定为延迟,则延迟大约2秒钟。

Newline delay lasts about 0.10 seconds. If  ONLRET  is  set, the  carriage-return  delays are used instead of the newline delays. If OFILL is set, two fill characters  are  transmitted.
换行符大约延迟0.10秒,如果设定了ONLRET,则回车延迟替代了换行延迟。如果OFILL设定了,则传送两个填充字符。

Carriage-return delay type 1 is dependent on the current column position, type 2 is about 0.10 seconds, and type 3 is about 0.15 seconds. If  OFILL is set, delay type 1 transmits two  fill characters, and type 2 transmits four fill characters.
回车延迟类型1依赖于当前列的位置。类型2延迟大约0.10秒,类型3大约为0.15秒。如果OFILL设定了,则类型1延迟传送2个填充字符,类型2传送4个填充字符。

Horizontal-tab delay type 1 is dependent on the current column position. Type 2 is about 0.10 seconds. Type 3 specifies that tabs are to be expanded into spaces. If OFILL is set, two fill characters are transmitted for any delay.
水平制表符延迟类型1依赖于当前列的位置。类型2大约0.10秒,类型3指定将制表符转换为空格。如果OFILL设置了,所有类型的延迟均传送2个填充字符。

Backspace delay lasts about 0.05 seconds. If OFILL is set, one fill character is transmitted.
退格符延迟大约持续0.05秒。如果OFILL设定了,则传送一个填充字符。

The actual delays depend on line speed and system load.
真正的延迟时间依赖于线路的速度和当时的系统负载。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP