Subject: Re: An old unix Issue the Delete key how do you fix it
To: None <netbsd-help@netbsd.org>
From: Valeriy E. Ushakov <uwe@stderr.spb.ru>
List: netbsd-help
Date: 05/05/2007 23:07:49
James K. Lowden <jklowden@schemamania.org> wrote:
> Valeriy E. Ushakov wrote:
> > I'd like to know why --
> > > sooner or later, with enough indirection via ssh/rsh -- the backspace
> > > key starts being echoed as ^H when I mistype a search in less(1).
> >
> > less doesn't check "kb" capability and you have stty erase '^?' on
> > that system.
>
> but if I try "man ls" while logged in and try to use the, um, delete key
> when searching, I get:
>
> /^H
>
> I think that confirms what you said. Except that it works fine when
> logged in locally.
>
> What's the Right Thing to do?
As your <X] key sends ^H, just set stty erase '^h' on the netbsd
system. I don't think rsh propagates stty settings. If you were
using ssh, it would propagate erase from your macos machine to the
netbsd machine.
SY, Uwe
--
uwe@stderr.spb.ru | Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen