[gull] difficulté keybinding sous Eterm

Sebastien Chassot seba.linux at sebsd.net
Fri Sep 9 18:18:00 CEST 2005


Bonjour,

j'ai un pt souci avec mon clavier sur un portable. J'utilise Eterm 0.9.0
sous Fr*BSD et je n'arrive pas à configurer l'accent grave ni le
circonflexe "`^".

Je m'aide de la FAQ suivante mais plus je la relis moins je comprends...

 http://www.eterm.org/docs/faq/#2

pour ce qui du keybinding sous X tout me semble bon (voir Keycode 21
ci-dessous) mais dans le shell il n'y a que le tilde qui fonctionne.

je suis sûre que c'est simple mais pour moi c'est devenu très confus. 

tout "éclaircissement" ou lien détaillé bienvenu, merci.




# xmodmap -pk | head -25
There are 6 KeySyms per KeyCode; KeyCodes range from 8 to 255.

    KeyCode     Keysym (Keysym) ...
    Value       Value   (Name)  ...

      8         
      9         0xff1b (Escape) 
     10         0x0031 (1)      0x002b (plus)   0x007c (bar)    0x00a1
(exclamdown)     
     11         0x0032 (2)      0x0022 (quotedbl)       0x0040 (at)
0x0ac3 (oneeighth)      
     12         0x0033 (3)      0x002a (asterisk)       0x0023
(numbersign)     0x00a3 (sterling)       
     13         0x0034 (4)      0x00e7 (ccedilla)       0x00bc
(onequarter)     0x0024 (dollar) 
     14         0x0035 (5)      0x0025 (percent)        0x00bd (onehalf)
0x0ac4 (threeeighths)   
     15         0x0036 (6)      0x0026 (ampersand)      0x00ac (notsign)
0x0ac5 (fiveeighths)    
     16         0x0037 (7)      0x002f (slash)  0x007c (bar)    0x0ac6
(seveneighths)   
     17         0x0038 (8)      0x0028 (parenleft)      0x00a2 (cent)
0x0ac9 (trademark)      
     18         0x0039 (9)      0x0029 (parenright)     0x005d
(bracketright)   0x00b1 (plusminus)      
     19         0x0030 (0)      0x003d (equal)  0x007d (braceright)
0x00b0 (degree) 
     20         0x0027 (apostrophe)     0x003f (question)       0xfe51
(dead_acute)     0x00bf (questiondown)   
     21         0xfe52 (dead_circumflex)        0xfe50 (dead_grave)
0x007e (asciitilde)     0xfe53 (dead_tilde)     
     22         0xff08 (BackSpace)      
     23         0xff09 (Tab)    0xfe20 (ISO_Left_Tab)   
     24         0x0071 (q)      0x0051 (Q)      0x0040 (at)     0x07d9
(Greek_OMEGA)    
     25         0x0077 (w)      0x0057 (W)      0x01b3 (lstroke)
0x01a3 (Lstroke)        
     26         0x0065 (e)      0x0045 (E)      0x00a4 (currency)       
     27         0x0072 (r)      0x0052 (R)      0x00b6 (paragraph)
0x00ae (registered) 

(.....)


======= xev =========

# xev

KeyPress event, serial 27, synthetic NO, window 0x1200001,
    root 0x40, subw 0x0, time 30981044, (329,418), root:(596,564),
    state 0x0, keycode 62 (keysym 0xffe2, Shift_R), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 27, synthetic NO, window 0x1200001,
    root 0x40, subw 0x0, time 30981768, (329,418), root:(596,564),
    state 0x1, keycode 21 (keysym 0xfe50, dead_grave), same_screen YES,
    XLookupString gives 1 bytes: (60) "`"
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: True

KeyRelease event, serial 27, synthetic NO, window 0x1200001,
    root 0x40, subw 0x0, time 30981818, (329,418), root:(596,564),
    state 0x1, keycode 21 (keysym 0xfe50, dead_grave), same_screen YES,
    XLookupString gives 1 bytes: (60) "`"

KeyRelease event, serial 27, synthetic NO, window 0x1200001,
    root 0x40, subw 0x0, time 30981860, (329,418), root:(596,564),
    state 0x1, keycode 62 (keysym 0xffe2, Shift_R), same_screen YES,
    XLookupString gives 0 bytes: 

KeyPress event, serial 27, synthetic NO, window 0x1200001,
    root 0x40, subw 0x0, time 30984587, (329,418), root:(596,564),
    state 0x0, keycode 113 (keysym 0xff7e, Mode_switch), same_screen
YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 27, synthetic NO, window 0x1200001,
    root 0x40, subw 0x0, time 30985087, (329,418), root:(596,564),
    state 0x2000, keycode 21 (keysym 0x7e, asciitilde), same_screen YES,
    XLookupString gives 1 bytes: (7e) "~"
    XmbLookupString gives 1 bytes: (7e) "~"
    XFilterEvent returns: True

KeyRelease event, serial 27, synthetic NO, window 0x1200001,
    root 0x40, subw 0x0, time 30985160, (329,418), root:(596,564),
    state 0x2000, keycode 21 (keysym 0x7e, asciitilde), same_screen YES,
    XLookupString gives 1 bytes: (7e) "~"

KeyRelease event, serial 27, synthetic NO, window 0x1200001,
    root 0x40, subw 0x0, time 30985212, (329,418), root:(596,564),
    state 0x2000, keycode 113 (keysym 0xff7e, Mode_switch), same_screen
YES,
    XLookupString gives 0 bytes: 

KeyPress event, serial 27, synthetic NO, window 0x1200001,
    root 0x40, subw 0x0, time 30987744, (329,418), root:(596,564),
    state 0x0, keycode 21 (keysym 0xfe52, dead_circumflex), same_screen
YES,
    XLookupString gives 1 bytes: (5e) "^"
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: True

KeyRelease event, serial 27, synthetic NO, window 0x1200001,
    root 0x40, subw 0x0, time 30987823, (329,418), root:(596,564),
    state 0x0, keycode 21 (keysym 0xfe52, dead_circumflex), same_screen
YES,
    XLookupString gives 1 bytes: (5e) "^"


(.........)




======== Bindkey (emacs keybinding) ========

# bindkey


Standard key bindings
"^@"           ->  set-mark-command
"^A"           ->  beginning-of-line
"^B"           ->  backward-char
"^C"           ->  tty-sigintr
"^D"           ->  delete-char-or-list-or-eof
"^E"           ->  end-of-line
"^F"           ->  forward-char
"^G"           ->  is undefined
"^H"           ->  backward-delete-char
"^I"           ->  complete-word
"^J"           ->  newline
"^K"           ->  kill-line
"^L"           ->  clear-screen
"^M"           ->  newline
"^N"           ->  down-history
"^O"           ->  tty-flush-output
"^P"           ->  up-history
"^Q"           ->  tty-start-output
"^R"           ->  redisplay
"^S"           ->  tty-stop-output
"^T"           ->  transpose-chars
"^U"           ->  kill-whole-line
"^V"           ->  quoted-insert
"^W"           ->  kill-region
"^X"           ->  sequence-lead-in
"^Y"           ->  yank
"^Z"           ->  tty-sigtsusp
"^["           ->  sequence-lead-in
"^\"           ->  tty-sigquit
"^]"           ->  tty-dsusp
" "  to "/"    ->  self-insert-command
"0"  to "9"    ->  digit
":"  to "~"    ->  self-insert-command
"^?"           ->  backward-delete-char
"\204"         ->  list-choices
"\210"         ->  backward-delete-word
"\211"         ->  complete-word
"\214"         ->  clear-screen
"\232"         ->  run-fg-editor
"\233"         ->  complete-word
"\237"         ->  copy-prev-word
"\240" to "\241" ->  expand-history
"\244"         ->  spell-line
"\257"         ->  dabbrev-expand
"\260" to "\271" ->  digit-argument
"\277"         ->  which-command
"\302"         ->  backward-word
"\303"         ->  capitalize-word
"\304"         ->  delete-word
"\305"         ->  is undefined
"\306"         ->  forward-word
"\307"         ->  is undefined
"\310"         ->  run-help
"\314"         ->  downcase-word
"\315"         ->  is undefined
"\316"         ->  history-search-forward
"\317"         ->  sequence-lead-in
"\320"         ->  history-search-backward
"\321"         ->  is undefined
"\322"         ->  toggle-literal-history
"\323"         ->  spell-word
"\324"         ->  is undefined
"\325"         ->  upcase-word
"\326"         ->  is undefined
"\327"         ->  copy-region-as-kill
"\330"         ->  is undefined
"\331"         ->  yank-pop
"\332"         ->  is undefined
"\333"         ->  sequence-lead-in
"\337"         ->  insert-last-word
"\342"         ->  backward-word
"\343"         ->  capitalize-word
"\344"         ->  delete-word
"\345"         ->  is undefined
"\346"         ->  forward-word
"\347"         ->  is undefined
"\350"         ->  run-help
"\354"         ->  downcase-word
"\355"         ->  is undefined
"\356"         ->  history-search-forward
"\357"         ->  is undefined
"\360"         ->  history-search-backward
"\361"         ->  is undefined
"\362"         ->  toggle-literal-history
"\363"         ->  spell-word
"\364"         ->  is undefined
"\365"         ->  upcase-word
"\366"         ->  is undefined
"\367"         ->  copy-region-as-kill
"\370"         ->  is undefined
"\371"         ->  yank-pop
"\377"         ->  backward-delete-word
Alternative key bindings
Multi-character bindings
"^[[A"         -> up-history
"^[[B"         -> down-history
"^[[C"         -> forward-char
"^[[D"         -> backward-char
"^[[H"         -> beginning-of-line
"^[[F"         -> end-of-line
"^[[3~"        -> delete-char-or-list
"^[[7~"        -> beginning-of-line
"^[OA"         -> up-history
"^[OB"         -> down-history
"^[OC"         -> forward-char
"^[OD"         -> backward-char
"^[OH"         -> beginning-of-line
"^[OF"         -> end-of-line
"^[^D"         -> list-choices
"^[^H"         -> backward-delete-word
"^[^I"         -> complete-word
"^[^L"         -> clear-screen
"^[^Z"         -> run-fg-editor
"^[^["         -> complete-word
"^[^_"         -> copy-prev-word
"^[ "          -> expand-history
"^[!"          -> expand-history
"^[$"          -> spell-line
"^[/"          -> dabbrev-expand
"^[0"          -> digit-argument
"^[1"          -> digit-argument
"^[2"          -> digit-argument
"^[3"          -> digit-argument
"^[4"          -> digit-argument
"^[5"          -> digit-argument
"^[6"          -> digit-argument
"^[7"          -> digit-argument
"^[8"          -> digit-argument
"^[9"          -> digit-argument
"^[?"          -> which-command
"^[B"          -> backward-word
"^[C"          -> capitalize-word
"^[D"          -> delete-word
"^[F"          -> forward-word
"^[H"          -> run-help
"^[L"          -> downcase-word
"^[N"          -> history-search-forward
"^[P"          -> history-search-backward
"^[R"          -> toggle-literal-history
"^[S"          -> spell-word
"^[U"          -> upcase-word
"^[W"          -> copy-region-as-kill
"^[Y"          -> yank-pop
"^[_"          -> insert-last-word
"^[b"          -> backward-word
"^[c"          -> capitalize-word
"^[d"          -> delete-word
"^[f"          -> forward-word
"^[h"          -> run-help
"^[l"          -> downcase-word
"^[n"          -> history-search-forward
"^[p"          -> history-search-backward
"^[r"          -> toggle-literal-history
"^[s"          -> spell-word
"^[u"          -> upcase-word
"^[w"          -> copy-region-as-kill
"^[y"          -> yank-pop
"^[^?"         -> backward-delete-word
"^X^X"         -> exchange-point-and-mark
"^X*"          -> expand-glob
"^X$"          -> expand-variables
"^XG"          -> list-glob
"^Xg"          -> list-glob
"^Xn"          -> normalize-path
"^XN"          -> normalize-path
"^X?"          -> normalize-command
"^X^I"         -> complete-word-raw
"^X^D"         -> list-choices-raw
Arrow key bindings
down           -> down-history
up             -> up-history
left           -> backward-char
right          -> forward-char
home           -> beginning-of-line
end            -> end-of-line

========== END ================

-- 

    Chassot Sebastien - Geneva 
    http://www.sebsd.net






More information about the gull mailing list