02.07.2013 Views

A/UX® Programmer's Reference Sections

A/UX® Programmer's Reference Sections

A/UX® Programmer's Reference Sections

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

gettydefs(4} gettydefs(4}<br />

SANE - PARENB. This field specifies what type of<br />

flow control to use on the line. The currently allowed<br />

settings are APPLE (for apple flow control),<br />

DTR (for DTR flow control), MODEM (for modem<br />

control), and FLOW (for hardware flow control).<br />

These modes can also be turned off by using the -<br />

as a prefix.<br />

login-prompt This entire field is printed as the login-prompt. Unlike<br />

the above fields where white space is ignored<br />

(a space, tab or newline), they are included in the<br />

login-prompt field.<br />

next-label If this entry does not specify the desired speed, indicated<br />

by the user typing a BREAK character, then<br />

get ty will search for the entry with next-label as<br />

its label field and set up the terminal for those settings.<br />

Usually, a series of speeds are linked together<br />

in this fashion, into a closed set; For instance,<br />

2400 linked to 1200, which in turn is linked to<br />

300, which finally is linked to 2400.<br />

IT getty is called without a second argument, then the first entry<br />

of /etc/gettydefs is used, thus making the first entry of<br />

/etc/gettydefs the default entry. It is also used if getty<br />

can not find the specified label. If /etc/gettydefs itself is<br />

missing, there is one entry built into the command which will<br />

bring up a terminal at 300 baud.<br />

It is strongly recommended that after making or modifying<br />

/etc/gettydefs, it be run through getty with the check option<br />

to be sure there are no errors.<br />

The following four symbols define the SANE state.<br />

i define ISANE (BRKINT I IGNPAR I ISTRIP I ICRNL I IXON)<br />

i define OSANE (OPOST I ONLCR)<br />

i define CSANE (CS7 I PARENB I CREAD)<br />

# define LSANE (ISIG I ICANON I ECHO I ECHOK)<br />

FILES<br />

/etc/gettydefs<br />

February, 1990<br />

Revision C<br />

2

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

Saved successfully!

Ooh no, something went wrong!