Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 May 1999 22:06:51 +0100
From:      Mark Ovens <marko@uk.radan.com>
To:        Jonathan Chen <jonc@pinnacle.co.nz>
Cc:        Jim Pazarena <paz@ccstores.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: console backspace ^H
Message-ID:  <19990506220650.E255@marder-1>
In-Reply-To: <Pine.SC5.4.10.9905070858140.5713-100000@kiwi.pinnacle.co.nz>; from Jonathan Chen on Fri, May 07, 1999 at 09:00:04AM %2B1200
References:  <37313921.D0BD89D8@uk.radan.com> <Pine.SC5.4.10.9905070858140.5713-100000@kiwi.pinnacle.co.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 07, 1999 at 09:00:04AM +1200, Jonathan Chen wrote:
> On Thu, 6 May 1999, Mark Ovens wrote:
> 
> > Jim Pazarena wrote:
> > > 
> > > I rlogin into my FreeBSD machine, and the default shell
> > > can't seem to figure out that I want to backspace and all it
> > > does is echo back '^H'.
> > > 
> > > If I use the bash shell, backspace works as I expect it.
> > > 
> > > What do I have to do to get the default shell to *also* perform
> > > a backspace instead of an echo of ^H
> > > ?
> > 
> > ``stty erase ^H'', where ``^H'' is typed by hitting the backspace key.
> > 
> 
> I personally hate control characters in my .login file - so what I do
> is to enter:
> 
> 	stty erase '^h'
> 
> literally. There are no control characters in the above line.

Thanks for the tip. I didn't realize you could do that.

> --
> Jonathan Chen                                       Once is dumb luck.
>                                                  Twice is coincidence.
>              Three times and Somebody Is Trying To Tell You Something.
> 
> 

-- 
      FreeBSD - The Power To Serve http://www.freebsd.org
      My Webpage http://www.users.globalnet.co.uk/~markov
_______________________________________________________________
Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK
CAD/CAM solutions for Sheetmetal Working Industry
mailto:marko@uk.radan.com                  http://www.radan.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990506220650.E255>