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

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 23 Sep 2001 22:48:22 +0100 (BST)


> termios(3) gets its erase character from user setting via stty(1) or
> tset(1), neither of which know what character will be generated by the
> terminal's main backspace key. The current situation is that the user

Which is correct, because mindreading equipment is currently classified
CIA property at best (hello echelon!)

> The Linux tty canonical mode is a problem app. Let's fix it.

The Debian people have. There is an official Debian policy which other
vendors adopted on the matter

> we look at glass ttys, we have the Linux console (with standard setup)
> generating ^? for backspace, and xterm generating ^H for backspace.

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.

Alan
-
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/