Tag Archives: erase

Setting the backspace key in HP-UX:

The following procedure describes the setting of the backspace key in HP-UX

1. Logon to your HP-UX server.

2. While typing a command you make a mistake, but instead of backspacing the system produces ^? marks, as seen below.

myLINUX:> ls -lrt^?^?^?^?^?
ls: illegal option —
ls: illegal option —
ls: illegal option —
ls: illegal option —
ls: illegal option —
usage: ls -1ARadeCxmnlogrtucpFLbqisf [files]
myLINUX:>

3. From the command prompt type the command: stty erase ^?

myLINUX:> stty erase ^?
myLINUX:>

4. Now the backspace key is enabled for this session.

5. To automate this process, place the line command (stty erase ^?) at the end of your .profile file in you home directory. This will enable the backspace operation upon connection.

Larry J. Catt, OCP 9i, 10g
oracle@allcompute.com
www.allcompute.com