 |
Index for Section 8 |
|
 |
Alphabetical listing for U |
|
 |
Bottom of page |
|
uugetty(8)
NAME
uugetty - Sets the terminal type, modes, speed, and line.
SYNOPSIS
/usr/lib/uucp/uugetty [-h] [-t time] [-r] [-c file] line
[speed_label [terminal [line_discipline] ] ]
The uugetty utility sets the terminal type, modes, speed, and line
discipline.
FLAGS
-h Hold the carrier during the initialization phase; do not hang up.
-t Timeout after time seconds and drop the line if nothing is typed while
trying to login.
-r Specifies that uugetty should wait for a character before it displays a
login message, thus preventing two uugetty commands from looping and
allowing the line to be shared by uucico, cu, and tip.
-c Specifies that file should be checked instead of /etc/uugettydefs.
DESCRIPTION
The uugetty command sets and manages terminals by setting up speed,
terminal flags, and the line discipline. If command flags are provided,
uugetty adapts the system to those specifications; uugetty prints the login
prompt, waits for the user to enter a username, and invokes the login
command.
The uugetty command provides all the features of the getty command, but
also provides support through the -r flag for using the line with the
uucico, cu, ct, and tip commands. The line can thereby be used in both
directions. The uugetty command enables users to log in, but if the line
is free, the uucico, cu, ct, and tip commands can be used for dialing out.
The implementation depends on the fact that the uucico, cu, ct, and tip
commands create lock files when devices are used. When uugetty first reads
characters, the status of the lock file indicates whether the line is being
used by uucico, cu, ct, or tip, or by someone trying to log in.
The line argument specifies the /dev/entry for the terminal line. It can
be entered as a relative pathname or an absolute pathname. The speed_label
argument is a pointer into the /etc/uugettydefs file where the definitions
for speed and other associated flags are located. If this argument is not
specified, uugetty uses the first entry in the file. The terminal argument
specifies the name of the terminal type. This argument is used to set the
TERM environment variable for the user who logs in from this terminal. The
line_discipline argument specifies the name of the line discipline.
When the -r flag is used, the user may have to key several carriage returns
before the login message is displayed. When uucico attempts to log in, the
following login script informs it that several carriage returns may be
necessary before the login message is displayed,
"" \r\d\r\d\r\d\r in:--in:login sequence
where login sequence is whatever is normally 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 flag. The following 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
FILES
/usr/lib/uucp/uugetty
Specifies the command path
/etc/uugettydefs
The terminal line database file. This uses the same format as
/etc/gettydefs.
/etc/inittab
File which specifies the initialization processes.
/var/spool/locks/LCK*
Lock files used by uugetty, uucico, cu, ct, and tip to keep other
commands from using the same terminal line.
RELATED INFORMATION
Commands: uucico(8), getty(8), init(8), ct(1) cu(1), tip(1), login(1),
stty(1)
Files: gettydefs(4), inittab(4), tty(7)
 |
Index for Section 8 |
|
 |
Alphabetical listing for U |
|
 |
Top of page |
|