Talking Serially: Terminal Configuration in
HP-UX
/etc/inittab
Typical terminal entries in HP-UX inittab files look like
this:
ttp2:234:respawn:/usr/sbin/getty -h tty0p2 H
In the process field, the arguments to getty are as
follows:
- The -h option tells getty not to hang up the line
before setting the port speed. It is optional.
- tty0p2 is the port to which the getty process
attaches.
- H specifies which port configuration to use from the
gettydefs file. H is the configuration for hard-wired
terminals.
After modifying the inittab, issue the command
init q to activate it.
/etc/ttytype and /etc/gettydefs
Configuration of these files in HP-UX is standard and explained
well in the previous section.