Knowledge Base

Useful Terminal options in Solaris

Aug 7th 2008
No Comments

Map the delete key to delete a character:
# stty erase ^?

Map the backspace to delete a character:
# stty erase ^H

Reset terminal after viewing a binary file:
# stty sane

Reset to standard char set:
# tput rmacs

View SIGNALs supported by the shell:
# psig $$ (or psig PID)
(look at INT for interrupt!)

Stop CTRL+C from logging you off in Korn shell!
Edit .profile and separate “trap 2” and “trap 3” statements:
trap "exit 1" 0 1 4 5 6 7 14 15
trap 2
trap 3

This post is tagged , ,

No Comments

Leave a Reply