Re: Need help setting BackSpace behaviour for slink
- To: Avery Pennarun <email@example.com>
- Cc: Debian Developers <firstname.lastname@example.org>
- Subject: Re: Need help setting BackSpace behaviour for slink
- From: Yann Dirson <email@example.com>
- Date: Tue, 1 Dec 1998 21:09:37 +0100 (CET)
- Message-id: <firstname.lastname@example.org>
- In-reply-to: <19981126232749.B21684@worldvisions.ca>
- References: <email@example.com> <19981126232749.B21684@worldvisions.ca>
Avery Pennarun writes:
> On Thu, Nov 26, 1998 at 11:56:51PM +0100, Yann Dirson wrote:
> > However, it gets (is it really what out keyboard policy asks ?)
> > character 263 decimal (latin1 superscript 3) when I press Backspace
> > both in an xterm and on the console.
> > It works as expected when I hardcode to handle char 263 as a
> > backspace, but I don't really think that's the Right Way to solve
> > this.
> There is no ASCII character 263, since it's more than 8 bits :)
> Interestingly, 263 = 255 + 8, and 8 is the character for ^H, Backspace.
> This probably doesn't mean anything :)
> However, 263 is 0407 in octal, which according to /usr/include/curses.h is:
Uh, oh... seems I was tired enough to 1) mix octal and decimal 2)
forgot to check that 265 > 255 :(
> You know, with a few minor implementation changes, curses might not suck.
> I wonder what "unreliable" means.
Eh, as long as it works for us ;)
> Looks like you should accept KEY_BACKSPACE as a valid backspace character...
You know what ? It does not work .... (just kidding ;)
Yann Dirson | Stop making M$-Bill richer & richer,
<firstname.lastname@example.org> | support Debian GNU/Linux:
debian-email: <email@example.com> | more powerful, more stable !
http://www.mygale.org/~ydirson/ | Check <http://www.debian.org/>