Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!pumpkin.pangea.ca!www.nntp.primenet.com!nntp.primenet.com!news.mathworks.com!news-xfer.netaxs.com!ddsw1!news.mcs.net!ddsw1!not-for-mail From: Font <font.ReMoVeThIsPaRt@mcs.net> Newsgroups: comp.unix.bsd.freebsd.misc Subject: syscons: extra character generated from keyboard Date: 2 Jun 1997 23:45:32 -0500 Organization: MCSNet Services Lines: 37 Message-ID: <5n07hc$7am$1@Venus.mcs.net> NNTP-Posting-Host: venus.mcs.net Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:42094 Under 2.2.2, I am using a syscons keymap which changes caps lock to left control (works fine) and accent grave to escape. It's the latter which gives me trouble. In fact, both the accent grave and the escape keys are mapped the same way: 001 esc '~' '`' nop esc '~' '`' nop O 041 esc '~' '`' nop esc '~' '`' nop O So, pressing the accent grave key gives me escape char, and pressing control key and accent grave key gives me accent grave/backtick/ backquote char. However, when I am typing quickly, I find that when typing tilde using the normal tilde key, I type shift, tilde, release shift, release tilde. This causes two characters to be generated: tilde and escape. That is to say, when the shift key is released, an extra character is generated. If I repeat these actions with the actual escape key (shift, escape, release shift, release escape), only one character is generated: tilde. This seems the proper behavior. Everything works normally if I release the accent grave or escape key before releasing the shift key. Why should these two keyboard keys behave differently, and is there a way I can get the accent grave key to behave just like the escape key as described in the keymap example above? I'm tired of getting that extra escape character in my shell! I know, this is a pretty obscure-looking potential bug. I guess I'm picky about keyboard mappings. NeXTUSA, anyone? :-) -- A bug in my MUA causes news.announce.newusers font to be sent to beneficiaries and senders of UCE/SPAM. @ mcs.net Wishes are like dishes.