什么是"tty"在FreeBSD上? [英] what is "tty" on FreeBSD?

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

问题描述

"uprintf()函数输出到当前进程的控制tty"

"uprintf() function outputs to the current process' controlling tty"

这是Freebsd MAN对uprintf()的描述.我不明白什么是tty?谢谢.祝您假期愉快!

This is description of uprintf() from Freebsd MAN. I don't understand what is tty? Thanks.Nice holiday!

推荐答案

tty 是字符I/O设备的抽象模型.它是最直接的系统接口,带有相应的应用程序接口.

A tty is an abstract model of a character I/O device. It is most directly a system interface, with corresponding application program interfaces.

从前,有一家名为 Teletype 的公司.他们制造了硬拷贝自动打字机设备,这些设备被用作通讯终端数十年,然后又被重新用作硬拷贝计算机终端.为了避免使用品牌名称,电传打字机通常被推广到电传打字机或电传打字机.

Once upon a time there was a corporation named Teletype. They made hardcopy automatic typewriter devices that were used as communications terminals for decades and then repurposed as hardcopy computer terminals. Teletype was generalized to teletypewriter or teleprinter in order to avoid using a brand name.

最初它们是功能性的,但相当丑陋...

Originally they were functional but rather ugly...

但是后来的模型(这个模型43是1970年代后期的)非常漂亮...

But later models (this model 43 is from the late 1970's) were quite beautiful...

微处理器使视频显示终端变得实用,以前,硬拷贝终端便宜得多,而且普及得多.碰巧的是,Unix tty抽象对于视频终端也很有效.

The microprocessor made video display terminals practical, previously, the hard copy terminals were quite a bit cheaper and vastly more popular. As it happens, the Unix tty abstraction worked great for video terminals as well.

而且,它在 xterm 窗口和xterm的子级(通常称为 Terminal )上也能正常工作,这些子级可以在Linux,Mac和Unix的其他后代中找到...

And, it worked just fine for xterm windows, and xterm's children (usually called Terminal) that will be found on Linux, Mac, and other descendants of Unix...

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

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