The following procedure is required to set up a terminal on ttya port through the command line.
Determine the port monitor version number by typing the following command:
# ttyadm -V |
The port monitor version number displays.
Type the following commands, substituting the port monitor version number for ver.
# pmadm -r -p zsmon -s ttya # sacadm -a -p zsmon -t ttymon -c /usr/lib/saf/ttymon -v ver |
For more information, see the pmadm(1M) and sacadm(1M) man pages.
To add a login service, use the pmadm command that matches your terminal type.
For EUC terminals, use the following command.
#pmadm -a -p zsmon -s ttya -i root -fu -v ver -m “ `ttyadm -S y \ -T terminal_type -d /dev/ttya -l 9600 -m ldterm,ttcompat -s \ /usr/bin/login`” |
For BIG5 code terminals, use the STREAMS module big5euc in the ttyadm command.
# pmadm -a -p zsmon -s ttya -i root -fu -v ver -m “`ttyadm -S y \ -T terminal_type -d /dev/ttya -l 9600 -m big5euc,ldterm,ttcompat -s \ /usr/bin/login`” |
Turn on the terminal.
Familiarize yourself with the documentation that accompanies the terminal.
Log in to the terminal.
Check to see that the installation is correct.
# setenv LANG locale # /bin/stty cs8 -istrip defeucw |
These values show that the operating system is set to communicate with the terminal in 8-bit no-parity mode. Make sure the terminal is set up in 8-bit no-parity mode. Refer to the terminal's setup manual for the proper way to set terminal options.