Skip site navigation (1)Skip section navigation (2)
Date:      25 Oct 2002 18:41:43 -0700
From:      swear@attbi.com (Gary W. Swearingen)
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        Michael Morris <memorris@christsgarden.org>, freebsd-questions@FreeBSD.ORG
Subject:   Re: backspace and del keys
Message-ID:  <jau1jaugbs.1ja@localhost.localdomain>
In-Reply-To: <20021025230951.GA12379@hades.hell.gr>
References:  <1035470680.2126.16.camel@dilbert.christsgarden.org> <002001c27b95$f7f705e0$f7808c96@LocalHost> <1035500526.273.33.camel@dilbert.christsgarden.org> <20021025020559.GA19906@hades.hell.gr> <1035558058.204.11.camel@dilbert.christsgarden.org> <20021025163633.GD673@hades.hell.gr> <1035564527.685.22.camel@dilbert.christsgarden.org> <k6k7k6w4b6.7k6@localhost.localdomain> <1035584433.205.33.camel@dilbert.christsgarden.org> <20021025230951.GA12379@hades.hell.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
Giorgos Keramidas <keramida@ceid.upatras.gr> writes:

> 	keramida@hades[02:07]/home/keramida$ tput kbs | hd
> 	00000000  7f                                                |.|
> 	00000001
> 
> I'm not sure if that's correct, or a bug.  But it certainly won't
> match your backspace key.  At worst, it will match your keyboard's
> DEL key, and will create the impression that backspace and DEL keys
> work "backwards".

Good use of "hd".
I get "08" (BS) instead of "7f".
And "tput kdel" gives "1b 4f 42".
As long as the two give different codes, his shell can translate them
as he likes, and he needn't "fix" lower-level key config.  Of course,
it doesn't change things for other apps.

I found "kbs" in /usr/X11R6/lib/X11/etc/xterm.terminfo, but it doesn't
have "kdel", so I doubt if that's the source of even "kbs".

Oh well.  I've learned to live in ignorance when it comes to keys and
fonts (among other things).

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




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