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

它的键盘上有键吗?人们是如何产生它的?

现在还在使用的语言或系统中,垂直制表符有一些有趣和有用的地方吗?


当前回答

similar to R0byn's experience, i was experimenting with a Powerpoint slide presentation and dumped out the main body of text on the slide, finding that all the places where one would typically find carriage return (ASCII 13/0x0d/^M) or line feed/new line (ASCII 10/0x0a/^J) characters, it uses vertical tab (ASCII 11/0x0b/^K) instead, presumably for the exact reason that dan04 described above for Word: to serve as a "newline" while staying within the same paragraph. good question though as i totally thought this character would be as useless as a teletype terminal today.

其他回答

Microsoft Word使用VT作为行分隔符,以区别于普通的new line函数,后者用作段落分隔符。

垂直制表符与换行相反,即向上一行。它与制表位无关。如果你想证明这一点,可以在RS232终端上试试。

在打字机时代,它被用来向下移动一页到下一个垂直的位置,通常间隔6行(与水平制表符沿一行移动8个字符大致相同)。

在现代环境中,vt即使有意义,也是微不足道的。

similar to R0byn's experience, i was experimenting with a Powerpoint slide presentation and dumped out the main body of text on the slide, finding that all the places where one would typically find carriage return (ASCII 13/0x0d/^M) or line feed/new line (ASCII 10/0x0a/^J) characters, it uses vertical tab (ASCII 11/0x0b/^K) instead, presumably for the exact reason that dan04 described above for Word: to serve as a "newline" while staying within the same paragraph. good question though as i totally thought this character would be as useless as a teletype terminal today.

我发现VT字符是用在pptx文本框在每行显示在盒子的末尾,以调整文本到盒子的大小。 它似乎是由powerpoint自动生成的(不是用户引入的),目的是将文本移动到下一行,并将完整的文本块固定到文本框中。在下面的例子中,在§的位置:

"This is a text §
inside a text box"