Configuring HP-UX For Peripherals

130 Chapter4
Configuring Terminals and Modems
Troubleshooting Terminal Problems
work-in-progress to a temporary file so that both the original and edited
versions of the file are accessible. If all else fails, kill the editor process
from the console, as described in step 8.)
Step 3. Enter Ctrl-Q at the terminal keyboard. If output to the unresponsive
terminal was stopped because an XOFF signal (Ctrl-S) was sent from the
terminal to the computer, you can restart it by sending an XON signal
(Ctrl-Q).
If an application program is looping or functioning improperly, press the
Break key and then Ctrl-C to attempt to regain a shell prompt.
If the unresponsive terminal uses something other than Ctrl-C as the
interrupt character, you can identify it by logging into another terminal
and executing the command stty -a against the device special file of the
unresponsive terminal. Use the stty command only with device file
names for currently active terminal device files. (Use who to see which
device files are active.) Executing stty with an inactive device file will
hang the terminal from which you enter the command. For example,
stty -a < /dev/tty0p1
Compare the baud rate shown in the stty output and that set on the
terminal. They should match.
Step 4. Reset the terminal. On an HP terminal, try a soft reset of Shift-Reset.
If the terminal is stuck in an unusable state, power the terminal off, wait
for a few seconds, and power it back on. This will reset the terminal,
though the terminal owner's manual may have information on a better
way to do it. You also might need to set the tabs with the tabs command.
Step 5. On an HP terminal, use the menu keys to examine the modes
configuration.
Is the terminal in Remote * mode? It should be.
Is Block * mode turned ON? If so, turn it OFF
Is Line * mode turned ON? If so, turn it OFF
Is Modify * mode turned ON? If so, turn it OFF
Step 6. Check the physical connection of the terminal to ensure that all
cables are firmly attached and properly located, all interface cards are
firmly seated, the power cord is firmly connected, and the power switch
is turned on.