Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ uugetty(1M) — HP-UX 6.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

uucico(1M)

getty(1M)

init(1M)

tty(7)

ct(1)

cu(1)

login(1)

ioctl(2)

gettydefs(4)

inittab(4)

UUGETTY(1M)  —  HP-UX

NAME

uugetty − set terminal type, modes, speed and line discipline

SYNOPSIS

/usr/lib/uucp/uugetty [ −h ] [ −t timeout ] [ −r ] line [ speed [ type [ linedisc ]]]
/usr/lib/uucp/uugetty −c file

DESCRIPTION

Uugetty sets terminal type, modes, speed and line discipline.  It is similar to getty(1M), except that uugetty supports using the line in both directions.  This allows users to login, but, if the line is free, uucico(1), cu(1), and ct(1) can dial out. When devices are used with uucico(1), cu(1), and ct(1) lock files are created.  Therefore, when the call to open(2) returns (or the first character is read when the −r option is used), the status of the lock files indicates whether the line is used by uucico(1), cu(1), ct(1) or someone trying to login.  See getty(1M) for more information.

Note that with the option −r, several <carriage-return> characters might be required before the login message is output.  When uucico is trying to login, it can be instructed to enter numerous <carriage-return> characters with the following login script:

" \r\d\r\d\r\d\r in:-in: ... 

where the ... is whatever would normally be used for the login sequence. 

An entry for an intelligent modem or direct line that has a uugetty on each end must use the −r option.  (This causes uugetty to wait to read a character before it enters the login message, thus preventing two instances of uugetty from looping.)  If there is a uugetty on one end of a direct line, there must be a uugetty on the other end as well. 

EXAMPLES

The following line is an /etc/inittab entry using uugetty on an intelligent modem or direct line:

30:2:respawn:/usr/lib/uucp/uugetty -r -t 60 tty12 1200

WARNINGS

Ct will not work when uugetty is used with an intelligent modem such as a Penril or a Ventel. 

DEPENDENCIES

Series 300 Diskless
In a clustered environment, all UUCP activity is handled through devices attached to the rootserver as if the cluster were a single system.

FILES

/etc/gettydefs
/etc/issue
/usr/spool/uucp/LCK*

SEE ALSO

uucico(1M), getty(1M), init(1M), tty(7), ct(1), cu(1), login(1), ioctl(2), gettydefs(4), inittab(4). 

UUCP, a tutorial in HP-UX Concepts and Tutorials. 

Hewlett-Packard Company  —  May 11, 2021

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026