stty erase

stty erase

Post by me.. » Wed, 23 Feb 2000 04:00:00



Hi,

I have CDE with the HP server,  the problem is my operators and I have
to type stty erase each time we log in  to get the backspace key
working.  Can anyone please tell me what files I have to modify so that
the backspace key works automatically.

Also,  it would also be great if the up arrow is pressed then the
previous command would show up. Thanks in advance.

Leila

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

stty erase

Post by Barry Margoli » Wed, 23 Feb 2000 04:00:00



>I have CDE with the HP server,  the problem is my operators and I have
>to type stty erase each time we log in  to get the backspace key
>working.  Can anyone please tell me what files I have to modify so that
>the backspace key works automatically.

$HOME/.profile

Quote:>Also,  it would also be great if the up arrow is pressed then the
>previous command would show up. Thanks in advance.

This is dependent on the shell you're using.

--

GTE Internetworking, Powered by BBN, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.

 
 
 

stty erase

Post by Cal Dunniga » Fri, 25 Feb 2000 04:00:00


: I have CDE with the HP server,  the problem is my operators and I have
: to type stty erase each time we log in  to get the backspace key
: working.  Can anyone please tell me what files I have to modify so that
: the backspace key works automatically.

: Also,  it would also be great if the up arrow is pressed then the
: previous command would show up. Thanks in advance.

It depends on your shell.  Type ps and note the last word on the lines
you see.  One of them should be csh, tcsh, ksh, sh, bash, something
like that.  Then read the man pages for that shell (e.g. man ksh).
Likely, the file will be either .profile or .cshrc.  Put the stty
command in that file.

While you're reading the man pages look for "history substitution".
That will tell you how (if your shell supports it) to enable the cursor
keys.  And if not, what to use instead.

--
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

      Consulting                   wrong with a world in which Ken
      Modeling                     Thompson lives in obscurity and
      Training                     Bill Gates is a famous billionaire.
//////////////////////////////////////////////////////////////////////

 
 
 

1. Change "stty erase ^?" for "stty erase ^H"

Hi,

I have Red Hat Linux 7.0 on i386. I have a spanish keyboard. The
special character "erase" is "^?" by default on my system, but when I
connect to remote
machines I need that erase = "^H", so, I want that whem my system
start, it get
erase = "^H" by default. How can I do it ?

Thanks in advance, Jose Luis.

2. Read error?

3. Doing 'stty erase ^H' on remote shells

4. Playing .au sound files

5. xterm parameter to "stty erase" character

6. Programs

7. stty erase ^H

8. Replacement for /etc/nologin under Solaris 2.3

9. automatic stty erase ^H at starting

10. How do I "stty erase" BEFORE login?

11. ^H or ^? for stty erase?

12. stty erase ???

13. stty erase ^H not working!!!!!