From owner-freebsd-questions Fri Oct 25 18:40: 3 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A83C137B401 for ; Fri, 25 Oct 2002 18:40:00 -0700 (PDT) Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4EE743E8A for ; Fri, 25 Oct 2002 18:39:59 -0700 (PDT) (envelope-from swear@attbi.com) Received: from localhost.localdomain ([12.242.158.67]) by sccrmhc01.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021026013959.WLLP27756.sccrmhc01.attbi.com@localhost.localdomain>; Sat, 26 Oct 2002 01:39:59 +0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost.localdomain (8.12.6/8.12.5) with ESMTP id g9Q1fpUW094856; Fri, 25 Oct 2002 18:41:51 -0700 (PDT) (envelope-from swear@attbi.com) Received: (from jojo@localhost) by localhost.localdomain (8.12.6/8.12.5/Submit) id g9Q1fibt094853; Fri, 25 Oct 2002 18:41:44 -0700 (PDT) (envelope-from swear@attbi.com) X-Authentication-Warning: localhost.localdomain: jojo set sender to swear@attbi.com using -f To: Giorgos Keramidas Cc: Michael Morris , freebsd-questions@FreeBSD.ORG Subject: Re: backspace and del keys 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> <1035584433.205.33.camel@dilbert.christsgarden.org> <20021025230951.GA12379@hades.hell.gr> From: swear@attbi.com (Gary W. Swearingen) Date: 25 Oct 2002 18:41:43 -0700 In-Reply-To: <20021025230951.GA12379@hades.hell.gr> Message-ID: Lines: 23 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Giorgos Keramidas 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