What is a vertical tab?

2019-01-10 05:08发布

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?

10条回答
淡お忘
2楼-- · 2019-01-10 05:20

In the medical industry, VT is used as the start of frame character in the MLLP/LLP/HLLP protocols that are used to frame HL-7 data, which has been a standard for medical exchange since the late 80s and is still in wide use.

查看更多
我欲成王,谁敢阻挡
3楼-- · 2019-01-10 05:24

It was used during the typewriter era to move down a page to the next vertical stop, typically spaced 6 lines apart (much the same way horizontal tabs move along a line by 8 characters).

In modern day settings, the vt is of very little, if any, significance.

查看更多
姐就是有狂的资本
4楼-- · 2019-01-10 05:26

Microsoft Word uses VT as a line separator in order to distinguish it from the normal new line function, which is used as a paragraph separator.

查看更多
Luminary・发光体
5楼-- · 2019-01-10 05:28

The ASCII vertical tab (\x0B)is still used in some databases and file formats as a new line WITHIN a field. For example:

查看更多
够拽才男人
6楼-- · 2019-01-10 05:31

I believe it's still being used, not sure exactly. There might be even a key combination of it.

As English is written Left to Right, Arabic Right to Left, there are languages in world that are also written top to bottom. In that case a vertical tab might be useful same as the horizontal tab is used for English text.

I tried searching, but couldn't find anything useful yet.

查看更多
我想做一个坏孩纸
7楼-- · 2019-01-10 05:33

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.

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.

查看更多
登录 后发表回答