Subject: Re: delete and backspace...
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: Don Lewis <Don.Lewis@tsc.tdk.com>
List: current-users
Date: 08/19/1999 02:06:33
On Aug 18,  4:28pm, Jonathan Stone wrote:
} Subject: Re: delete and backspace...
} 
} That may be what you think but that doesn't make it a fact.  If the
} key is the large one on the upper-right, used to erase the
} next-leftward character, and there's no adjacent equal-sized key
} labelled delete, then the standard DEC and Unix convention is to
} generate 0x7F

That's not how it works in SunOS.  On my Sun type 5 keyboard (Unix
layout), there is a large key labeled
	Back
	Space
with a left pointing arrow on it immediately above the "Return" key.
If I change my erase character to something other than ^h and type
on this key I see:

% stty erase ^n
% ^H^H^H^H^H

If I do:

% stty erase ^h

using the "Back Space" key erases whatever I type.

If I type on the tiny little key labeled "Del" in the keypad to the
right of the "Back Space" key, I see:

% ^?^?^?^?


My Sun type 4 keyboard also has a "Back Space" key immediately above
the "Return" key, and a key labeled "Delete" immediately above the
"Back Space" key.  The characters emitted by these keys also seem to
match the labels on the keycaps.