Re: [PATCH] tty canonical mode: nicer erase behaviour

Linus Torvalds (torvalds@transmeta.com)
Sun, 23 Sep 2001 18:25:53 -0700 (PDT)


On Sun, 23 Sep 2001 zefram@fysh.org wrote:

> Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> >Your xterm is not following Linux policy - this is a solved problem in
> >Linuxspace. Debian bit the bullet a few years ago and did the neccessary
> >deed to make all their terminal emulators and console match.
>
> So Linux policy is to support only terminals that generate ^? for
> backspace?

No.

Linux supports everything. Try doing a "man stty".

But the default behaviour is ^?, which makes emacs happy, and also happens
to be the default mode for most real vt100 terminals out there.

If you have a terminal that really really wants ^H, just do

stty erase ^H

and Linux will happily believe you.

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/