02.07.2013 Views

A/UX® System Administrator's Reference Sections 1M, 7, and 8

A/UX® System Administrator's Reference Sections 1M, 7, and 8

A/UX® System Administrator's Reference Sections 1M, 7, and 8

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

getty(IM) getty(IM)<br />

2<br />

none Default<br />

vt61 DEC vt61<br />

vt100 DEC vt100<br />

c100 Concept 100<br />

The default terminal is none, that is, any CRT or normal terminal<br />

unknown to the system. Also, for the terminal type to have any<br />

meaning, the virtual terminal h<strong>and</strong>lers must be compiled into the<br />

operating system. They are available, but not compiled, in the default<br />

condition. The optional fourth argument, linedisc, is a character<br />

string describing which line discipline to use in communicating<br />

with the terminal. Again, the hooks for line disciplines are<br />

available in the operating system, but only one is presently available,<br />

the default line discipline LDISCO.<br />

When given no optional arguments, getty sets the speed of the<br />

interface to 300 baud, specifies that raw mode is to be used (awaken<br />

on every character), that echo is to be suppressed, that either<br />

parity is allowed, that newline characters are to be converted to<br />

return-line feed, <strong>and</strong> that tab expansion be performed on the st<strong>and</strong>ard<br />

output. It types the login message before reading the user's<br />

name one character at a time. If a null character (or framing error)<br />

is received, it is assumed to be the result of the user pushing the<br />

"break" key. This will cause getty to attempt the next speed in<br />

the series. The series that getty tries is determined by what it<br />

finds in /etc/gettydefs.<br />

The user's name is terminated by a newline or RETURN character.<br />

The latter results in the system being set to treat RETURN characters<br />

appropriately (see ioctl(2».<br />

The user's name is scanned to see if it contains any lowercase alphabetic<br />

characters; if not, <strong>and</strong> if the name is nonempty, the system<br />

is told to map any future uppercase characters into the<br />

corresponding lowercase characters.<br />

In addition to the st<strong>and</strong>ard A/UX system erase <strong>and</strong> kill characters<br />

(DELETE <strong>and</strong> CONTROL-U), getty also underst<strong>and</strong>s \b as an<br />

erase. getty sets the st<strong>and</strong>ard erase character or kill character to<br />

match.<br />

getty also underst<strong>and</strong>s the "st<strong>and</strong>ard" ESS protocols for erasing,<br />

killing, aborting, <strong>and</strong> terminating a line. If getty sees the<br />

ESS erase character, ,or kill character, $, or abort character, &,<br />

or the ESS line terminators, / or !, it arranges for this set of characters<br />

to be used for these functions.<br />

February, 1990<br />

RevisionC

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!