Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Nov 2000 09:03:01 -0600
From:      "Michael C . Wu" <keichii@iteration.net>
To:        Kirk McKusick <mckusick@mckusick.com>
Cc:        Jordan Hubbard <jkh@winston.osd.bsdi.com>, arch@FreeBSD.ORG
Subject:   Re: Rui Pedro Mendes Salgueiro: erase2 patch (was: 4.2-RELEASE ISO image for x86 updated.)
Message-ID:  <20001130090301.D16834@peorth.iteration.net>
In-Reply-To: <200011272241.OAA93364@beastie.mckusick.com>; from mckusick@mckusick.com on Mon, Nov 27, 2000 at 02:41:05PM -0800
References:  <52694.975362925@winston.osd.bsdi.com> <200011272241.OAA93364@beastie.mckusick.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 27, 2000 at 02:41:05PM -0800, Kirk McKusick scribbled:
| When we first implemented termios at CSRG, we had an erase2
| character. Mike Karels was vehemently opposed to it, and
| insisted that it be deleted before we did our next release
| (4.3-tahoe if I remember correctly). I am of the opinion that
| it is a good idea, and should be there. I do not believe that
| we need/want a general aliasing facility as erase is really
| the only character for which there is widespead disagreement
| over which character to use. So, my take would be to add
| erase2 and be done with it.

/me putting on I18N crybaby hat

This feature has one very important aspect that I18N can use very
well.  Currently, for two-byte characters, we need to put delete
twice in console/tty/et al.  The best way to solve this would be
having the tty determine whethere it is a two-byte or one-byte
character.  Then the tty determines whether to push ^H/^? once
or twice depending on the character.

It would be easy to simply alias backspace/delete to two "^H/^?"'s
when we meet a two-byte character.  Please do not lock us
into hardcoding these erase2 characters and assume that everybody
uses English only.  I am not pointing fingers, but this mistake
was made many years ago in all *nix systems, perhaps we should not
hardcode this kind of stuff again. :)

/me hides and takes off all hats

--
+------------------------------------------------------------------+
| keichii@peorth.iteration.net         | keichii@bsdconspiracy.net |
| http://peorth.iteration.net/~keichii | Yes, BSD is a conspiracy. |
+------------------------------------------------------------------+


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




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