*BSD News Article 91984


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!msunews!agate!ihnp4.ucsd.edu!munnari.OZ.AU!news.mel.connect.com.au!news.syd.connect.com.au!phaedrus.kralizec.net.au!gurney.zeta.org.au!usenet
From: andrew@gurney.zeta.org.au (Andrew Reilly)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Backspace = ^H
Date: 25 Mar 1997 23:11:49 GMT
Organization: Andrew and Catherine Reilly at home
Lines: 23
Message-ID: <5h9m3l$1ih@gurney.zeta.org.au>
References: <5h2c01$4i2@reader.seed.net.tw>
    <5h6e83$1mk@ui-gate.utell.co.uk> <E7KvDC.ILE@nemesis.lonestar.org>
    <5h8905$lj1@ui-gate.utell.co.uk>
    <87g1xkqe8d.fsf@erlenstar.demon.co.uk>
Reply-To: reilly@zeta.org.au
NNTP-Posting-Host: dialup51.syd1.zeta.org.au
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:37775

In article <87g1xkqe8d.fsf@erlenstar.demon.co.uk>,
	Andrew Gierth <andrew@erlenstar.demon.co.uk> writes:

> From a user's point of view, and assuming a PC keyboard, there are two keys
> to consider; the <- (backspace) key, and the "Delete" key. Normal user
> expectations require <- to behave as a *destructive* backspace, and "Delete"
> to be 'delete character forward' (kdch1 in terminfo-speek). This can best be
> achieved by having <- generate DEL, having "Delete" generate an escape 
> sequence, and defaulting to 'stty erase ^?'. (Which is what I have done on
> my system, and have done in the past to many other Unix flavours, terminals
> and terminal emulators.) This leaves ^h free, which keeps Emacs happy. 
> Having "Delete" generate ^h is insane, and likely to confuse people 
> considerably.

Yes, but which escape sequence, and how do you do that?

I've discovered that using xmodmap to make the "<-" key
return "Delete" makes emacs happy, but Netscape and other
Motif-style applications insist on "BackSpace".  So what's
one to do?

-- 
Andrew Reilly: reilly@zeta.org.au