*BSD News Article 91905


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.mel.connect.com.au!news.syd.connect.com.au!phaedrus.kralizec.net.au!news.mel.aone.net.au!news.netspace.net.au!news.mira.net.au!pumpkin.pangea.ca!eru.mt.luth.se!newsfeed.luth.se!news.luth.se!erix.ericsson.se!erinews.ericsson.se!news.seinf.abb.se!news.mdh.se!columba.udac.uu.se!du.se!news.kth.se!nntp.uio.no!uninett.no!Oslo2.Norway.EU.net!Norway.EU.net!EU.net!news.mathworks.com!rill.news
pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet
From: brian@shift.lan.awfulhak.org (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Backspace = ^H
Date: 24 Mar 1997 17:39:15 GMT
Organization: Awfulhak Ltd.
Lines: 34
Message-ID: <5h6e83$1mk@ui-gate.utell.co.uk>
References: <5h2c01$4i2@reader.seed.net.tw>
    <5h41iq$ii7@uriah.heep.sax.de>
Reply-To: brian@awfulhak.demon.co.uk, brian@utell.co.uk
NNTP-Posting-Host: shift.utell.net
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:37708

In article <5h41iq$ii7@uriah.heep.sax.de>,
	j@uriah.heep.sax.de (J Wunsch) writes:
> ronald@trace.com.tw wrote:
> 
>> How can I set it, that the key 'Backspace' will do a backspace
>> rather than type ^H ?
> 
> stty erase ^H
> 
> (where you can actually hit the Backspace key instead of typing ``^''
> and ``h'', both are equivalent)
> 
> The opinions whether backspace (^H, 0x08) or delete (^?, 0x7f) should
> be used as the default rubout character differ vastly between people,
> so it's impossible to provide a default that would satisfy everyone.

What's the argument for BS=^h ?

Surely everyone agrees that since the dawn of time, dumb terminals
have sent ^? for the BS key.  A lot of termcaps have the DEL key
grouped with INS, PGUP etc - all with various escape sequences.
Emacs uses ^h for help, laptops put DEL in wierd places making it
difficult to use....

The first thing I do with any terminal emulator is make BS=^?
(if I can - kbdcontrol -l on FreeBSD)

To the original poster: if you install BASH, the problem will
almost go away - it treats both ^? and ^h as rubouts.

--
Brian <brian@awfulhak.demon.co.uk> <brian@freebsd.org>
      <http://www.awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour !