From owner-freebsd-current Mon May 15 15:03:57 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA17821 for current-outgoing; Mon, 15 May 1995 15:03:57 -0700 Received: from cs.weber.edu (cs.weber.edu [137.190.16.16]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id PAA17815 for ; Mon, 15 May 1995 15:03:56 -0700 Received: by cs.weber.edu (4.1/SMI-4.1.1) id AA11057; Mon, 15 May 95 15:15:29 MDT From: terry@cs.weber.edu (Terry Lambert) Message-Id: <9505152115.AA11057@cs.weber.edu> Subject: Re: bin/407: Odd tset -I behaviour, termcap says xterm kb=^H To: wollman@halloran-eldar.lcs.mit.edu (Garrett Wollman) Date: Mon, 15 May 95 15:15:28 MDT Cc: current@FreeBSD.org In-Reply-To: <9505151842.AA18796@halloran-eldar.lcs.mit.edu> from "Garrett Wollman" at May 15, 95 02:42:30 pm X-Mailer: ELM [version 2.4dev PL52] Sender: current-owner@FreeBSD.org Precedence: bulk > > Of course, this isn't recommended, since in principle, the key should > > send the ASCII kvalue that its keycap label implies it sends. > > Of course, not all keyboards are the same. My LK-401 has a keycap > labeled > ___ > / X| > \__| > > and I defy you to state definitively that this symbol implies any > ASCII code at all. DEC being typically obnoxious decided to make it > send BS; I use this magic to make it send something sensible: > > xmodmap - << EOF > keysym BackSpace = Delete > # more stuff goes here > EOF Serves you right for buying a DEC keyboard... must be hooked to a PC. I always thought that symbol was a registered trademark of DEC or something. 8-) 8-). I'll add a rider that keys labelled with something other than ASCII codes or control code names (with the exception of space) send whatever the heck their manuals say they send. Otherwise, I think you are morally obligated to make the key send nothing at all unless the previous character is an 'X'. Or you could make it shift all 'X' characters on the screen left one. Then you could print out the message "NOW are you sorry you bought a wierd keyboard?". Probably the "Microsoft Natural" ought to send the same message for its little "Windows" keys... or start Windows or something. Terry Lambert terry@cs.weber.edu --- Any opinions in this posting are my own and not those of my present or previous employers.