getty, 是"get teletype"的缩写,它是一个Unix程序,用来连接物理的或虚拟的terminal。

历史

在PDP-7时代(1970年),video display terminal还没有成熟,用的最多的terminal是ASR-33 teletype。ASR-33 teletype是一种又慢又响的设备,把输出打印到大卷的黄色纸上。早期的UNIX,getty就负责检测串口连接,串口一般就是teletype,连接之后就会执行login命令,login命令在纸上打印信息,要求输入用户名和密码。

发展

现在的tty的意思逐渐变成了text terminal。一个getty进程只支持一个terminal。在一些系统上,如Solaris,并不用getty而用ttymon。

See also

  • [1] - Origins and History of Unix, 1969-1995
  • getty - BSD Unix man page
  • ttymon - Solaris man page
  • agetty(8) - alternative Linux agetty
  • mgetty(8) - mgetty (modem aware getty)
  • mingetty(8) - mingetty (minimal getty)
  • ngetty - minimal getty (one process controls all ttys)
  • Qingy - Qingy Is Not GettY
  • vgetty an extension to mgetty


zh:Getty (Unix)

Wikiwand in your browser!

Seamless Wikipedia browsing. On steroids.

Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.

Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.