From owner-freebsd-bugs Sun Jan 17 06:50:04 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA22576 for freebsd-bugs-outgoing; Sun, 17 Jan 1999 06:50:04 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA22523 for ; Sun, 17 Jan 1999 06:50:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id GAA29373; Sun, 17 Jan 1999 06:50:01 -0800 (PST) Date: Sun, 17 Jan 1999 06:50:01 -0800 (PST) Message-Id: <199901171450.GAA29373@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: "José Mª Alcaide" Subject: Re: i386/9532: [PATCH] fixes and new features for spanish keyboard maps Reply-To: "José Mª Alcaide" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR i386/9532; it has been noted by GNATS. From: "José Mª Alcaide" To: Kazutaka YOKOTA Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: i386/9532: [PATCH] fixes and new features for spanish keyboard maps Date: Sun, 17 Jan 1999 15:48:10 +0100 This is a multi-part message in MIME format. --------------EB6C5EDDC977DF8CFE11B2F6 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Kazutaka YOKOTA wrote: > > Before the patch can be included in the source tree, I have several > questions. > > The keycode for the Pause key is 104 on other keyboards. Are you sure > you get the keycode 92 for the Pause key on the Spanish keyboard? > > 92 is for the PrtScr key on the other keyboards. See below. > > The keycode for the PrtScr key is usually 92. The Spanish keyboard > differs from the other keyboards in this respect too? > > The keycode 70 is usually for the ScrlLock key. You are right!! I have one of those wonderful classic IBM keyboards, with keys with removable caps. After some cleaning session :-) I swapped the caps for the Pause, PrtScr and ScrLock keys by mistake. Now they are correctly placed. Of course, I have fixed the keymap. However, I have found a problem (not related to the spanish keymap): alt-*-PrtScr give the ASCII "us" character (CNTRL-^), and cntrl-*-Pause give no symbol, despite of the mapping in both cases (why?). For this reason, I have moved the "susp" action from cntrl-Pause to alt-Pause. > The numpad * key is one of those tricky keys. The numpad * key is > also the PrtScr key on the 84-key keyboard. As such, They keymap > includes nscr in some fields for this key. Your proposed modification > is indeed most desirable and canonical, but the 84-key keyboard will > loose the nscr function. We have to make compromise somehow. You are right again. I did not take into account the 84-key keyboards. I'm attaching the new patch for spanish.iso.kbd and spanish.iso.acc.kbd. I think that everything is correct now. -- JMA ----------------------------------------------------------------------- José Mª Alcaide | mailto:jose@we.lc.ehu.es Universidad del País Vasco | http://www.we.lc.ehu.es/~jose Dpto. de Electricidad y Electrónica | Facultad de Ciencias - Campus de Lejona | Tel.: +34-946012479 48940 Lejona (Vizcaya) - SPAIN | Fax: +34-944858139 ----------------------------------------------------------------------- "Go ahead... make my day." - H. Callahan --------------EB6C5EDDC977DF8CFE11B2F6 Content-Type: text/plain; charset=us-ascii; name="spkbd.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="spkbd.patch" --- spanish.iso.acc.kbd.orig Thu Aug 6 12:00:32 1998 +++ spanish.iso.acc.kbd Sun Jan 17 15:12:13 1999 @@ -3,19 +3,19 @@ # code base shift cntrl shift alt shift cntrl shift state # ------------------------------------------------------------------ 000 nop nop nop nop nop nop nop nop O - 001 esc esc esc esc esc esc debug esc O + 001 esc esc nop nop esc esc debug nop O 002 '1' '!' nop nop '|' '|' nop nop O 003 '2' '"' nul nul '@' '@' nul nul O 004 '3' 183 nop nop '#' '#' nop nop O 005 '4' '$' nop nop '~' '~' nop nop O - 006 '5' '%' nop nop '5' '5' nop nop O - 007 '6' '&' rs rs 172 172 rs rs O - 008 '7' '/' esc esc '7' '7' esc esc O - 009 '8' '(' nop nop '8' '8' nop nop O - 010 '9' ')' gs gs '8' '8' gs gs O - 011 '0' '=' nop nop '9' '9' nop nop O - 012 ''' '?' nop nop ''' ''' nop nop O - 013 161 191 nop nop ''' '`' nop nop O + 006 '5' '%' nop nop '5' '%' nop nop O + 007 '6' '&' nop nop 172 172 nop nop O + 008 '7' '/' nop nop '7' '/' nop nop O + 009 '8' '(' nop nop '8' '(' nop nop O + 010 '9' ')' nop nop '9' ')' nop nop O + 011 '0' '=' nop nop '0' '=' nop nop O + 012 ''' '?' nop nop ''' '?' nop nop O + 013 161 191 nop nop 161 191 nop nop O 014 bs bs del del bs bs del del O 015 ht btab nop nop ht btab nop nop O 016 'q' 'Q' dc1 dc1 'q' 'Q' dc1 dc1 C @@ -23,7 +23,7 @@ 018 'e' 'E' enq enq 233 201 enq enq C 019 'r' 'R' dc2 dc2 'r' 'R' dc2 dc2 C 020 't' 'T' dc4 dc4 't' 'T' dc4 dc4 C - 021 'y' 'Y' em em 'y' 'Y' sub sub C + 021 'y' 'Y' em em 'y' 'Y' em em C 022 'u' 'U' nak nak 250 218 nak nak C 023 'i' 'I' ht ht 237 205 ht ht C 024 'o' 'O' si si 243 211 si si C @@ -41,12 +41,12 @@ 036 'j' 'J' nl nl 'j' 'J' nl nl C 037 'k' 'K' vt vt 'k' 'K' vt vt C 038 'l' 'L' ff ff 'l' 'L' ff ff C - 039 241 209 nop nop '~' nop nop nop C - 040 dacu duml nop nop '{' '}' nop nop O + 039 241 209 nop nop '~' '~' nop nop C + 040 dacu duml nop nop '{' '{' nop nop O 041 186 170 fs fs '\' '\' fs fs O 042 lshift lshift lshift lshift lshift lshift lshift lshift O 043 231 199 rs rs '}' '}' rs rs C - 044 'z' 'Z' sub sub 'z' 'Z' em em C + 044 'z' 'Z' sub sub 'z' 'Z' sub sub C 045 'x' 'X' can can 'x' 'X' can can C 046 'c' 'C' etx etx 'c' 'C' etx etx C 047 'v' 'V' syn syn 'v' 'V' syn syn C @@ -57,7 +57,7 @@ 052 '.' ':' nop nop '.' ':' nop nop O 053 '-' '_' us us '-' '_' us us O 054 rshift rshift rshift rshift rshift rshift rshift rshift O - 055 '*' '*' nscr nscr '*' '*' nscr nscr O + 055 '*' '*' nscr nscr '*' '*' nscr nscr N 056 lalt lalt lalt lalt lalt lalt lalt lalt O 057 ' ' ' ' nul ' ' ' ' ' ' susp ' ' O 058 clock clock clock clock clock clock clock clock O @@ -71,30 +71,30 @@ 066 fkey08 fkey20 fkey32 fkey44 scr08 scr08 scr08 scr08 O 067 fkey09 fkey21 fkey33 fkey45 scr09 scr09 scr09 scr09 O 068 fkey10 fkey22 fkey34 fkey46 scr10 scr10 scr10 scr10 O - 069 nlock nlock dc3 dc3 nlock nlock dc3 dc3 O - 070 slock slock del del slock slock del del O + 069 nlock nlock nlock nlock nlock nlock nlock nlock O + 070 slock slock slock slock slock slock slock slock O 071 fkey49 '7' '7' '7' '7' '7' '7' '7' N 072 fkey50 '8' '8' '8' '8' '8' '8' '8' N 073 fkey51 '9' '9' '9' '9' '9' '9' '9' N - 074 fkey52 '-' us us '-' '-' '-' '-' N + 074 fkey52 '-' '-' '-' '-' '-' '-' '-' N 075 fkey53 '4' '4' '4' '4' '4' '4' '4' N 076 fkey54 '5' '5' '5' '5' '5' '5' '5' N - 077 fkey55 '6' rs rs '6' '6' '6' '6' N + 077 fkey55 '6' '6' '6' '6' '6' '6' '6' N 078 fkey56 '+' '+' '+' '+' '+' '+' '+' N 079 fkey57 '1' '1' '1' '1' '1' '1' '1' N 080 fkey58 '2' '2' '2' '2' '2' '2' '2' N 081 fkey59 '3' '3' '3' '3' '3' '3' '3' N 082 fkey60 '0' '0' '0' '0' '0' '0' '0' N - 083 del '.' del del del del del del N + 083 del '.' '.' '.' '.' '.' boot '.' N 084 us us us us us us us us O 085 nop nop nop nop nop nop nop nop O - 086 '<' '>' fs fs '\' '>' fs fs O + 086 '<' '>' nop nop '<' '>' nop nop O 087 fkey11 fkey23 fkey35 fkey47 scr11 scr11 scr11 scr11 O 088 fkey12 fkey24 fkey36 fkey48 scr12 scr12 scr12 scr12 O 089 cr cr nl nl cr cr nl nl O 090 rctrl rctrl rctrl rctrl rctrl rctrl rctrl rctrl O 091 '/' '/' '/' '/' '/' '/' '/' '/' N - 092 '*' '*' '*' '*' '*' '*' '*' '*' N + 092 nscr nop debug nop nop nop nop nop O 093 ralt ralt ralt ralt ralt ralt ralt ralt O 094 fkey49 fkey49 fkey49 fkey49 fkey49 fkey49 fkey49 fkey49 O 095 fkey50 fkey50 fkey50 fkey50 fkey50 fkey50 fkey50 fkey50 O @@ -105,8 +105,11 @@ 100 fkey58 fkey58 fkey58 fkey58 fkey58 fkey58 fkey58 fkey58 O 101 fkey59 fkey59 fkey59 fkey59 fkey59 fkey59 fkey59 fkey59 O 102 fkey60 fkey60 fkey60 fkey60 fkey60 fkey60 fkey60 fkey60 O - 103 fkey54 fkey54 fkey54 fkey54 fkey54 fkey54 boot fkey54 O - 104 slock slock slock slock slock slock slock slock O + 103 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 boot fkey61 O + 104 saver nop nop nop susp nop nop nop O + 105 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 O + 106 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 O + 107 fkey64 fkey64 fkey64 fkey64 fkey64 fkey64 fkey64 fkey64 O dgra '`' ( 'a' 224 ) ( 'A' 192 ) ( 'e' 232 ) ( 'E' 200 ) ( 'i' 236 ) ( 'I' 204 ) ( 'o' 242 ) ( 'O' 210 ) --- spanish.iso.kbd.orig Thu Aug 6 12:00:32 1998 +++ spanish.iso.kbd Sun Jan 17 15:15:43 1999 @@ -3,19 +3,19 @@ # code base shift cntrl shift alt shift cntrl shift state # ------------------------------------------------------------------ 000 nop nop nop nop nop nop nop nop O - 001 esc esc esc esc esc esc debug esc O + 001 esc esc nop nop esc esc debug nop O 002 '1' '!' nop nop '|' '|' nop nop O 003 '2' '"' nul nul '@' '@' nul nul O 004 '3' 183 nop nop '#' '#' nop nop O - 005 '4' '$' nop nop '4' '4' nop nop O - 006 '5' '%' nop nop '5' '5' nop nop O - 007 '6' '&' rs rs 172 172 rs rs O - 008 '7' '/' esc esc '7' '7' esc esc O - 009 '8' '(' nop nop '8' '8' nop nop O - 010 '9' ')' gs gs '8' '8' gs gs O - 011 '0' '=' nop nop '9' '9' nop nop O - 012 ''' '?' nop nop ''' ''' nop nop O - 013 161 191 nop nop ''' '`' nop nop O + 005 '4' '$' nop nop '~' '~' nop nop O + 006 '5' '%' nop nop '5' '%' nop nop O + 007 '6' '&' nop nop 172 172 nop nop O + 008 '7' '/' nop nop '7' '/' nop nop O + 009 '8' '(' nop nop '8' '(' nop nop O + 010 '9' ')' nop nop '9' ')' nop nop O + 011 '0' '=' nop nop '0' '=' nop nop O + 012 ''' '?' nop nop ''' '?' nop nop O + 013 161 191 nop nop 161 191 nop nop O 014 bs bs del del bs bs del del O 015 ht btab nop nop ht btab nop nop O 016 'q' 'Q' dc1 dc1 'q' 'Q' dc1 dc1 C @@ -23,13 +23,13 @@ 018 'e' 'E' enq enq 233 201 enq enq C 019 'r' 'R' dc2 dc2 'r' 'R' dc2 dc2 C 020 't' 'T' dc4 dc4 't' 'T' dc4 dc4 C - 021 'y' 'Y' em em 'y' 'Y' sub sub C + 021 'y' 'Y' em em 'y' 'Y' em em C 022 'u' 'U' nak nak 250 218 nak nak C 023 'i' 'I' ht ht 237 205 ht ht C 024 'o' 'O' si si 243 211 si si C 025 'p' 'P' dle dle 'p' 'P' dle dle C - 026 '`' '^' esc esc '[' '[' esc esc C - 027 '+' '*' gs gs ']' '[' gs gs O + 026 '`' '^' esc esc '[' '[' esc esc O + 027 '+' '*' gs gs ']' ']' gs gs O 028 cr cr nl nl cr cr nl nl O 029 lctrl lctrl lctrl lctrl lctrl lctrl lctrl lctrl O 030 'a' 'A' soh soh 225 193 soh soh C @@ -41,12 +41,12 @@ 036 'j' 'J' nl nl 'j' 'J' nl nl C 037 'k' 'K' vt vt 'k' 'K' vt vt C 038 'l' 'L' ff ff 'l' 'L' ff ff C - 039 241 209 nop nop '~' nop nop nop C - 040 252 220 nop nop '{' 220 nop nop C + 039 241 209 nop nop '~' '~' nop nop C + 040 252 220 nop nop '{' '{' nop nop O 041 186 170 fs fs '\' '\' fs fs O 042 lshift lshift lshift lshift lshift lshift lshift lshift O - 043 231 199 rs rs '}' '}' rs rs O - 044 'z' 'Z' sub sub 'z' 'Z' em em C + 043 231 199 rs rs '}' '}' rs rs C + 044 'z' 'Z' sub sub 'z' 'Z' sub sub C 045 'x' 'X' can can 'x' 'X' can can C 046 'c' 'C' etx etx 'c' 'C' etx etx C 047 'v' 'V' syn syn 'v' 'V' syn syn C @@ -57,7 +57,7 @@ 052 '.' ':' nop nop '.' ':' nop nop O 053 '-' '_' us us '-' '_' us us O 054 rshift rshift rshift rshift rshift rshift rshift rshift O - 055 '*' '*' nscr nscr '*' '*' nscr nscr O + 055 '*' '*' nscr nscr '*' '*' nscr nscr N 056 lalt lalt lalt lalt lalt lalt lalt lalt O 057 ' ' ' ' nul ' ' ' ' ' ' susp ' ' O 058 clock clock clock clock clock clock clock clock O @@ -71,30 +71,30 @@ 066 fkey08 fkey20 fkey32 fkey44 scr08 scr08 scr08 scr08 O 067 fkey09 fkey21 fkey33 fkey45 scr09 scr09 scr09 scr09 O 068 fkey10 fkey22 fkey34 fkey46 scr10 scr10 scr10 scr10 O - 069 nlock nlock dc3 dc3 nlock nlock dc3 dc3 O - 070 slock slock del del slock slock del del O + 069 nlock nlock nlock nlock nlock nlock nlock nlock O + 070 slock slock slock slock slock slock slock slock O 071 fkey49 '7' '7' '7' '7' '7' '7' '7' N 072 fkey50 '8' '8' '8' '8' '8' '8' '8' N 073 fkey51 '9' '9' '9' '9' '9' '9' '9' N - 074 fkey52 '-' us us '-' '-' '-' '-' N + 074 fkey52 '-' '-' '-' '-' '-' '-' '-' N 075 fkey53 '4' '4' '4' '4' '4' '4' '4' N 076 fkey54 '5' '5' '5' '5' '5' '5' '5' N - 077 fkey55 '6' rs rs '6' '6' '6' '6' N + 077 fkey55 '6' '6' '6' '6' '6' '6' '6' N 078 fkey56 '+' '+' '+' '+' '+' '+' '+' N 079 fkey57 '1' '1' '1' '1' '1' '1' '1' N 080 fkey58 '2' '2' '2' '2' '2' '2' '2' N 081 fkey59 '3' '3' '3' '3' '3' '3' '3' N 082 fkey60 '0' '0' '0' '0' '0' '0' '0' N - 083 del '.' del del del del del del N + 083 del '.' '.' '.' '.' '.' boot '.' N 084 us us us us us us us us O 085 nop nop nop nop nop nop nop nop O - 086 '<' '>' fs fs '\' '>' fs fs O + 086 '<' '>' nop nop '<' '>' nop nop O 087 fkey11 fkey23 fkey35 fkey47 scr11 scr11 scr11 scr11 O 088 fkey12 fkey24 fkey36 fkey48 scr12 scr12 scr12 scr12 O 089 cr cr nl nl cr cr nl nl O 090 rctrl rctrl rctrl rctrl rctrl rctrl rctrl rctrl O 091 '/' '/' '/' '/' '/' '/' '/' '/' N - 092 '*' '*' '*' '*' '*' '*' '*' '*' N + 092 nscr nop debug nop nop nop nop nop O 093 ralt ralt ralt ralt ralt ralt ralt ralt O 094 fkey49 fkey49 fkey49 fkey49 fkey49 fkey49 fkey49 fkey49 O 095 fkey50 fkey50 fkey50 fkey50 fkey50 fkey50 fkey50 fkey50 O @@ -105,5 +105,8 @@ 100 fkey58 fkey58 fkey58 fkey58 fkey58 fkey58 fkey58 fkey58 O 101 fkey59 fkey59 fkey59 fkey59 fkey59 fkey59 fkey59 fkey59 O 102 fkey60 fkey60 fkey60 fkey60 fkey60 fkey60 fkey60 fkey60 O - 103 fkey54 fkey54 fkey54 fkey54 fkey54 fkey54 boot fkey54 O - 104 slock slock slock slock slock slock slock slock O + 103 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 boot fkey61 O + 104 saver nop nop nop susp nop nop nop O + 105 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 O + 106 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 O + 107 fkey64 fkey64 fkey64 fkey64 fkey64 fkey64 fkey64 fkey64 O --------------EB6C5EDDC977DF8CFE11B2F6-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message