[Bug 211530] [vt/syscons] Keymap fr.dvorak/.acc

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Aug 2 16:03:40 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211530

            Bug ID: 211530
           Summary: [vt/syscons] Keymap fr.dvorak/.acc
           Product: Base System
           Version: 11.0-BETA3
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: leclerc.pascal at gmail.com

Hello,

I'm a user of the fr.dvorak keyboard layout, as described by Leboutte here:
http://www.algo.be/ergo/dvorak-fr.html . Note it's NOT bépo, which is another,
separate, french dvorak implementation, which came later, which is why it
doesn't have the name "dvorak".

FreeBSD console includes two fr.dvorak layouts:

 . fr.dvorak.kbd, which seems to me like a derivative: it uses AltGr instead of
the ` dead key. Maybe it's a Mouette's implementation, there was a vast debate
over this in linux years ago: Mouette had made a derivative of Leboutte's
layout, and this was included by default in Linux; later, it was replaced by
official Leboutte's, making old users unhappy (but not me!).

 . fr.dvorak.acc.kbd, claiming to be the "accented" version of the above, which
is clearly not: it is actually a normal Leboutte version, with ` as dead key.
It also adds ~ as dead key, which is not so in Leboutte - but I guess that's
not enough to qualify it as "accented". It also does not map '$' correctly,
which is normally `', and does not define the ASCII control codes anywhere. So
I also couldn't switch splits in vi using Ctrl-W.

Following is a modified version of fr.dvorak.acc.kbd trying to address these
issues; I think it should really be named fr.dvorak.kbd, and the current
fr.dvorak.kbd should be renamed fr.dvorak.mouette.kbd or something. An actual
accented version of Leboutte's layout is defined, it's called "eu" version on
his website, and I do not use it so I won't implement it - but that's the one
which should be named fr.dvorak.acc.kbd.

Even if you don't include the following file, please do something as the
current fr.dvorak.acc.kbd is not practical / fully usable currently.

# A Dvorak keyboard for French
#
# This is a Dvorak-like layout for French
# according to Francis Leboutte on 
# http://www.algo.be/ergo/dvorak-fr.html
#
# Note that letters with accents won't be correctly
# displayed unless one uses the correct font:
#   vidcontrol -f iso15-8x16.fnt
#
#   -Frédéric Praca <frederic.praca at freebsd-fr.org>
#   -Clément Pillias <clement.pillias at free.fr> for accent keys
#
# $FreeBSD: stable/11/share/syscons/keymaps/fr.dvorak.acc.kbd 203952 2010-02-16
09:10:21Z uqs $
#                                                         alt
# scan                       cntrl          alt    alt   cntrl lock
# 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              
  002   '='    '1'    nop    nop    nop    nop    nop    nop     C
  003   '/'    '2'    nul    nul    nop    nop    nop    nop     C
  004   '-'    '3'    nop    nop    nop    nop    nop    nop     C
  005   'è'    '4'    nop    nop    nop    nop    nop    nop     C
  006   '\'    '5'    nop    nop    nop    nop    nop    nop     C
  007   dcir   '6'    nop    nop    nop    nop    nop    nop     C
  008   '('    '7'    nop    nop    nop    nop    nop    nop     C
  009   dgra   '8'    nop    nop    nop    nop    nop    nop     C
  010   ')'    '9'    nop    nop    nop    nop    nop    nop     C
  011   '"'    '0'    nop    nop    nop    nop    nop    nop     C
  012   '['    '+'    nop    nop    nop    nop    nop    nop     C
  013   ']'    '%'    nul    nul    nop    nop    nul    nul     C
  014   bs     bs     del    del    bs     bs     del    del     O
  015   ht     btab   nop    nop    ht     btab   nop    nop     O
  016   ':'    '?'    nop    nop    nop    nop    nop    nop     O
  017   '''    '<'    nop    nop    nop    nop    nop    nop     C
  018   'é'    '>'    nop    nop    nop    nop    nop    nop     C
  019   'g'    'G'    bel    bel    'g'    'G'    bel    bel     C
  020   '.'    '!'    nop    nop    nop    nop    nop    nop     O
  021   'h'    'H'    bs     bs     'h'    'H'    bs     bs      C
  022   'v'    'V'    syn    syn    'v'    'V'    syn    syn     C
  023   'c'    'C'    etx    etx    'c'    'C'    etx    etx     C
  024   'm'    'M'    cr     cr     'm'    'M'    cr     cr      C
  025   'k'    'K'    vt     vt     'k'    'K'    vt     vt      C
  026   'z'    'Z'    sub    sub    'z'    'Z'    etb    etb     C
  027   ddia   '&'    gs     gs     ddia   '&'    gs     gs      O
  028   cr     cr     nl     nl     cr     cr     nl     nl      O
  029   lctrl  lctrl  lctrl  lctrl  lctrl  lctrl  lctrl  lctrl   O
  030   'o'    'O'    si     si     'o'    'O'    si     si      C
  031   'a'    'A'    soh    soh    'a'    'A'    dc1    dc1     C
  032   'u'    'U'    nak    nak    'u'    'U'    nak    nak     C
  033   'e'    'E'    enq    enq    'e'    'E'    enq    enq     C
  034   'b'    'B'    stx    stx    'b'    'B'    stx    stx     C
  035   'f'    'F'    ack    ack    'f'    'F'    ack    ack     C
  036   's'    'S'    dc3    dc3    's'    'S'    dc3    dc3     C
  037   't'    'T'    dc4    dc4    't'    'T'    dc4    dc4     C
  038   'n'    'N'    so     so     'n'    'N'    so     so      C
  039   'd'    'D'    eot    eot    'd'    'D'    eot    eot     C
  040   'w'    'W'    etb    etb    'w'    'W'    sub    sub     C
  041   '_'    '*'    nop    nop    '_'    '*'    nop    nop     C
  042   lshift lshift lshift lshift lshift lshift lshift lshift  O
  043   '~'    '#'    nop    nop    '~'    '#'    nop    nop     O
  044   ';'    '|'    esc    esc    ';'    '|'    nop    nop     O
  045   'q'    'Q'    dc1    dc1    'q'    'Q'    soh    soh     C
  046   ','    '@'    nop    nop    ','    '@'    nop    nop     O
  047   'i'    'I'    ht     ht     'i'    'I'    ht     ht      C
  048   'y'    'Y'    em     em     'y'    'Y'    em     em      C
  049   'x'    'X'    can    can    'x'    'X'    can    can     C
  050   'r'    'R'    dc2    dc2    'r'    'R'    dc2    dc2     C
  051   'l'    'L'    ff     ff     'l'    'L'    ff     ff      C
  052   'p'    'P'    dle    dle    'p'    'P'    dle    dle     C
  053   'j'    'J'    nl     nl     'j'    'J'    nl     nl      C
  054   rshift rshift rshift rshift rshift rshift rshift rshift  O
  055   '*'    '*'    '*'    '*'    '*'    '*'    '*'    '*'     O
  056   lalt   lalt   lalt   lalt   lalt   lalt   lalt   lalt    O
  057   ' '    ' '    nul    ' '    ' '    ' '    susp   ' '     O
  058   esc    clock  clock  clock  clock  clock  clock  clock   O
  059   fkey01 fkey13 fkey25 fkey37 scr01  scr11  scr01  scr11   O
  060   fkey02 fkey14 fkey26 fkey38 scr02  scr12  scr02  scr12   O
  061   fkey03 fkey15 fkey27 fkey39 scr03  scr13  scr03  scr13   O
  062   fkey04 fkey16 fkey28 fkey40 scr04  scr14  scr04  scr14   O
  063   fkey05 fkey17 fkey29 fkey41 scr05  scr15  scr05  scr15   O
  064   fkey06 fkey18 fkey30 fkey42 scr06  scr16  scr06  scr16   O
  065   fkey07 fkey19 fkey31 fkey43 scr07  scr07  scr07  scr07   O
  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  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 '-'    '-'    '-'    '-'    '-'    '-'    '-'     N
  075   fkey53 '4'    '4'    '4'    '4'    '4'    '4'    '4'     N
  076   fkey54 '5'    '5'    '5'    '5'    '5'    '5'    '5'     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    '.'    '.'    '.'    '.'    '.'    boot   boot    N
  084   nop    nop    nop    nop    nop    nop    nop    nop     O
  085   nop    nop    nop    nop    nop    nop    nop    nop     O
  086   'à'    'ç'    fs     fs     'à'    'ç'    fs     fs      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   '/'    '/'    '/'    '/'    '/'    '/'    '/'    '/'     O
  092   nscr   nscr   debug  debug  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
  096   fkey51 fkey51 fkey51 fkey51 fkey51 fkey51 fkey51 fkey51  O
  097   fkey53 fkey53 fkey53 fkey53 fkey53 fkey53 fkey53 fkey53  O
  098   fkey55 fkey55 fkey55 fkey55 fkey55 fkey55 fkey55 fkey55  O
  099   fkey57 fkey57 fkey57 fkey57 fkey57 fkey57 fkey57 fkey57  O
  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   fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 boot   fkey61  O
  104   slock  saver  slock  saver  susp   nop    susp   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
  108   nop    nop    nop    nop    nop    nop    nop    nop     O

  dgra  '`'    ( '/' '±' ) ( '-' '¼' ) ( 'è' '½' ) ( '\' '¾' )
               ( '?' 'Æ' ) ( 'C' 'Ç' )
               ( ':' 'æ' ) ( ''' '$' ) ( 'é' 'É' ) ( 'g' 164 )
                           ( '.' '°' ) ( 'c' 'ç' ) ( 'm' 'µ' )
               ( 'O' 'Ò' ) ( 'A' 192 ) ( 'U' 'Ù' ) ( 'E' 'È' )
               ( 'o' 'ò' ) ( 'a' 'à' ) ( 'u' 'ù' ) ( 'e' 'è' )
                                       ( 's' '«' ) ( 'n' '»' )
               ( 'ç' 'Ç' ) ( '|' 188 ) ( 'I' 'Ì' )
               ( 'à' 192 ) ( ';' 189 ) ( 'q' '{' ) ( ',' '}' )
                           ( 'i' 'ì' ) ( 'r' 'º' ) ( 'p' '§' )
               ( '!' '¡' )
               ( ' ' '`' )
  dcir  '^'    ( 'a' 'â' ) ( 'e' 'ê' ) ( 'i' 'î' ) ( 'o' 'ô' ) ( 'u' 'û' )
               ( 'A' 'Â' ) ( 'E' 'Ê' ) ( 'I' 'Î' ) ( 'O' 'Ô' ) ( 'U' 'Û' )
               ( ' ' '^' )
  ddia  '"'    ( 'a' 'ä' ) ( 'e' 'ë' ) ( 'i' 'ï' ) ( 'o' 'ö' ) ( 'u' 'ü' )
               ( 'A' 'Ä' ) ( 'E' 'Ë' ) ( 'I' 'Ï' ) ( 'O' 'Ö' ) ( 'U' 'Ü' )
               ( ' ' '"' )

Cheers,
g012

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list