Operating System - HP-UX
1825791 Members
2350 Online
109687 Solutions
New Discussion

Re: HPUX 11.0: Erase Varible stty erase ^H

 
SOLVED
Go to solution
LG Porter
Frequent Advisor

HPUX 11.0: Erase Varible stty erase ^H

I have a L2000 server running HPUX 11.0. I'm having a problem with the stty erase ^H varible being set once I login into the server. Each time I login to this particular system, thought the varible is defined in the ".profile" and /etc/profile, I still have to redefine it from the command line. (I have set this varible on several other N-class and K-class server with no problem.) I would like to know if there is some else I need to check for this varible to function correctly or is there a another varible that can be over riding this varible setting once the .profile or /etc/profile defined?
4 REPLIES 4
Leif Halvarsson_2
Honored Contributor
Solution

Re: HPUX 11.0: Erase Varible stty erase ^H

Hi
I assume you log in from a terminal (not CDE).

Try this in the .profile

ENV=.shrc ; export ENV



And then create a .shrc file containing

stty erase ^H

In this case the stty command is executed for evry shell.

PS
If you use CDE you should uncomment the line

DTSOURCEPROFILE=true

in the .dtprofile.
Rodney Hills
Honored Contributor

Re: HPUX 11.0: Erase Varible stty erase ^H

LG,

A little more information is needed.

Are you running an X-Window session?

As soon as you log in, do you enter "stty -a" to see what the current settings are?

Which shell are you logging in with?

Did you identify and examine all "startup" files for that shell?

If you are not logging into a standard shell, does the application you are running do any terminal manipulations? (we run a system called UniVerse, which does monkey with the stty settings).

-- Rod Hills
There be dragons...
Leif Halvarsson_2
Honored Contributor

Re: HPUX 11.0: Erase Varible stty erase ^H

Hi

I forgot the home directory.

ENV=$HOME/.shrc ; export ENV



James Murtagh
Honored Contributor

Re: HPUX 11.0: Erase Varible stty erase ^H

Hi,

If you are having this problem when running CDE, edit the following file :

/usr/dt/config/C/sys/resources

You should find an entry for the tty settings in there :

# grep -i erase sys.resources
*ttyModes: erase ^? intr ^C kill ^U start ^Q stop ^S swtch ^@ susp ^Z

Change the erase here and restart the CDE session.

Regards,

James.