You know...I never was sure what the difference was. I always just hit the
key I wanted to use as erase (ie the backspace key). I let the console
generate the control code (which was ^H sometimes and ^? others).
I found that the Delete key (both on the numberpad and above the arrow
keys) generates the same control character as shift-backspace (^?).
Depending on the system I attach to, the backspace key seems to toggle
between these two...
Can you explain how to generate the control characters on the screen that
match what the key actually sends?
-Doug
On 26 Oct 2000, at 15:05, Mark Kim wrote:
Date sent: Thu, 26 Oct 2000 15:05:21 -0700 (PDT)
From: Mark Kim <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: [vox-tech] Linux and exceed
Send reply to: [EMAIL PROTECTED]
> Not to undermine your knowledge, but when you type:
>
> stty erase ^H
>
> do you actually press Ctrl-H to generate the code or do you type Shift-6
> followed by H? (I must ask this question since it's important to this
> situation and I don't know whether you know this or not.)
>
> Another question. If you type:
>
> stty erase <Ctrl-v><Backspace>
>
> you say you get
>
> stty erase ^[[3~
>
> After typing this, does your backspace work (before you put the
> code in the startup script)? And when you put the code in the startup
> script, do you actually press <Ctrl-v><Backspace>, copy & paste, or type
> out ^[[3~?
>
> > I think exceed lets me change the hex that is sent from the keyboard, what is
> > the hex for ^H and ^?
>
> ^A = 0x01
> ^B = 0x02
> ^C = 0x03
> ...
>
> you get the idea. ^H is 0x08.
>
> -Mark
>
> ---
> Mark K. Kim
> http://www.cbreak.org/mark/
> PGP key available upon request.
>
>