BigAdmin System Administration Portal
Community-Submitted Tech Tip
Print-friendly VersionPrint-friendly Version
This content is submitted by a BigAdmin user. It has not been reviewed for technical accuracy by Sun Microsystems, though it may have been lightly edited to improve readability. If you find an error or would like to comment on the article, please contact the submitter or use the comment field at the bottom of the article. Community submissions may not follow Sun trademark guidelines. For information on Sun trademarks, please see http://www.sun.com/suntrademarks/.
 
 

Setting Up the Backspace Key in a Terminal Emulation

By Fabian C. Toller

When you use a terminal emulation to connect to a server running the Solaris Operating System, you need to configure a backspace key in order to have this key available. Note: In an X Windows scenario, this is not necessary.

This setup could be necessary for each specific user or for all users.

During the process of login, certain files receive data such as variables or commands. These files include .profile in the home directory of the user and /etc/profile for general settings. Modify one of these files, for a single user or for all users, respectively.

Insert this line:

stty  erase  ^H

This setting assigns the erase function to the backspace key.

To insert this special character with the vi editor, use <CTRL-V> (insert special character) and then <CTRL-H> to insert the character.

When you log in again, this setting will be active.

 


The information and links on this page have been provided by a BigAdmin user. The submitter is solely responsible for such information and links. Sun is not responsible for the availability of external sites or resources, and does not endorse and is not responsible or liable for any content, advertising, products, or other materials on or available from such sites or resources. Sun will not be responsible or liable, directly or indirectly, for any actual or alleged damage or loss caused by or in connection with use of or reliance on the information posted here, or goods or services available on or through any external site or resource.


BigAdmin