cuegetty(1M)
Series 800 Only
NAME
cuegetty − set terminal type, modes, speed, and line discipline for cue(1)
SYNOPSIS
/bin/cuegetty [-L nls_language] [-h] [-t timeout] line [speed]
DESCRIPTION
cuegetty, which is very similar to getty(1M), is the second process in the series, (init-cuegetty-cue-worksession) that ultimately connects a user with the HP-UX CUE system. It is invoked by init to monitor the terminal lines configured on a system (see init(1M)). Each cuegetty process resets its process group using setpgrp, opens a particular terminal line, and usually sleeps in the open() until the machine senses a hardware connection for the terminal. When open() returns, cuegetty attempts to adapt the system to the terminal speed and type, and displays the contents of the /etc/issue file, if it exists. Lastly, cuegetty invokes cue which displays the Login screen and performs user validation (see cue(1)).
To start cuegetty, an entry for cuegetty should be placed in the /etc/inittab file. A typical CUE entry in the /etc/inittab file resembles the following:
cue:2:respawn:/bin/cuegetty -L french -h tty0p1
See /bin/cue.etc/cue.inittab for an example /etc/inittab file. See cue(1) for more details on the CUE system.
Configuration Options and Arguments
cuegetty recognizes the following arguments:
line Name of a tty line in /dev to which cuegetty is to attach itself. cuegetty uses this string as the name of a file in the /dev directory to open for reading and writing. By default cuegetty forces a hangup on the line by setting the speed to zero before setting the speed to the default or specified speed. However, when cuegetty is run on a direct port, cuegetty does not force a hangup on the line since the driver ignores changes to zero speed on ports open in direct mode (see modem(7)).
-L nls_language is used to set the language for the CUE login screens. If the message catalog, cue.cat, does not exist for nls_language, the default native language, C, is used.
-h Tells cuegetty not to force a hangup on the line before setting the speed to the default or specified speed.
-t timeout cuegetty exits if the open on the line succeeds and no one types anything within timeout seconds.
speed A label to a speed and tty definition in the file /etc/gettydefs. This definition tells cuegetty at what speed to initially run, what the login message should look like, what the initial tty settings are, and what speed to try next should the user indicate that the speed is inappropriate (by typing a break character). The default speed is 300 baud.
When no optional arguments appear on the command line, cuegetty sets the terminal interface as follows:
• Interface speed: 300 baud,
• Raw mode (awaken on every character),
• Echo suppressed,
• Parity: either,
• New-line characters: convert to carriage-return, line-feed pair,
• Expand tabs on the standard output.
• Type login message then read user’s name, one character at a time.
• If a null character (or framing error) is received, assumed it to be the result of the user pushing the “break” key. This causes cuegetty to attempt the next speed in the series. The series that cuegetty tries is determined by what it finds in /etc/gettydefs.
After interface set-up is complete, cue is started to accept and validate the user name and password.
DEPENDENCIES
cuegetty is available only on Series 800 systems, and is compatible only with the following terminals:
HP700/92HP700/94HP2392 HP2394
FILES
/etc/gettydefs contains speed and terminal settings used by cuegetty
/etc/inittab init reads this file to determine which processes to spawn
/etc/issue contains issue identification data
/bin/cue.etc/cue.inittab sample inittab file with cuegetty entry
SEE ALSO
cue(1), env(1), environ(5), hpnls(5), init(1M), ioctl(2), getty(1M), gettydefs(4), inittab(4), lang(5), nlsinfo(1), termio(7).
Hewlett-Packard Company — HP-UX Release 9.03: April 1994