Configuring terminal line settings

Setting terminal options with the stty command

The stty(1) command can be used to set or change terminal options after a user has logged in. An stty command line may also be added to a user's .profile to set options automatically as part of the login process.

For example, the command stty cr0 nl0 echoe -tabs erase ^h specifies cr0 nl0 to set no delay for carriage return or newline. (Delays are not used on a video display terminal but are necessary on some printing terminals to allow time for the mechanical parts of the equipment to move.) echoe selects to erase characters as you backspace. -tabs expands tabs to spaces when printing. erase ^h changes the delete character to <Ctrl>H. Most terminals transmit this character when the backspace key is pressed. The default character-delete character is the hash sign (#).


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004