什么是垂直标签? [英] What is a vertical tab?

查看:20
本文介绍了什么是垂直标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

垂直制表符(C 语言中的v,ASCII 11)的原始历史用途是什么?

What was the original historical use of the vertical tab character (v in the C language, ASCII 11)?

它在键盘上有过按键吗?有人是如何生成它的?

Did it ever have a key on a keyboard? How did someone generate it?

今天是否有任何语言或系统仍在使用,其中垂直制表符可以做一些有趣和有用的事情?

Is there any language or system still in use today where the vertical tab character does something interesting and useful?

推荐答案

Vertical tab 用于加速打印机垂直移动.一些打印机使用带有各种标签点的特殊标签带.这有助于对齐表单上的内容.VT到页眉空间,填充页眉,VT到正文区域,填充行,VT形成页脚.通常它在程序中被编码为字符常量.从键盘上,它将是 CTRL-K.

Vertical tab was used to speed up printer vertical movement. Some printers used special tab belts with various tab spots. This helped align content on forms. VT to header space, fill in header, VT to body area, fill in lines, VT to form footer. Generally it was coded in the program as a character constant. From the keyboard, it would be CTRL-K.

我相信没有人会再使用它.大多数表单都是用打印机控制语言(如 postscript)生成的.

I don't believe anyone would have a reason to use it any more. Most forms are generated in a printer control language like postscript.

@Talvi Wilson 指出它在 python 'v' 中使用.

@Talvi Wilson noted it used in python 'v'.

print("hellovworld")

输出:

hello
     world

上面的输出似乎导致默认的垂直尺寸为一行.我已经用 perl "13" 进行了测试,并且出现了相同的输出.这可用于在具有将换行符转换为回车符 + 换行符的设备上进行不带回车的换行.

The above output appears to result in the default vertical size being one line. I have tested with perl "13" and the same output occurs. This could be used to do line feed without a carriage return on devices with convert linefeed to carriage-return + linefeed.

这篇关于什么是垂直标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆