xref: /freebsd/share/vt/keymaps/gr.kbd (revision 0b3105a37d7adcadcb720112fed4dc4e8040be99)
1# Greek keyboard for FreeBSD
2# by Basileios Anastasatos <B.Anastasatos@Freemail.gr>
3#
4# $FreeBSD$
5#
6# English/Greek keyboard lock:  (Left)Alt+(Left|Right)Shift
7# English/Greek keyboard shift: (Right)AltGr
8#
9# Meta shift:                   (Right)Windows or Menu
10#
11# Extra escape (for vi users):  (Left)Windows
12#
13# Previous screen:              Ctrl+Left Arrow
14# Next screen:                  Ctrl+Right Arrow
15#
16# Screen saver:                 Shift+Pause
17# Suspend power (APM):          (Left)Alt+Pause
18#
19# Composite characters:
20#   acute (tonos):              [;/:] and ΑΕΗΙΟΥΩαεηιουω => ΆΈΉΊΌΎΏάέήίόύώ
21#   diaeresis (dialytika):      Shift+[;/:] and ΙΥιυ => ΪΫϊϋ
22#   acute and diaeresis:        Ctrl+[;/:] and ιυ => ΐΰ
23#
24# Greek semicolon (ano teleia): Shift+'w/W' => ·
25#
26# Other characters from the ISO 8859-7 charset:
27#
28#   Key combination     Code Symbol Name
29#
30#   Ctrl+[`/~]          166    ¦    BROKEN BAR
31#   Shift+Ctrl+[`/~]    189    ½    VULGAR FRACTION ONE HALF
32#   Ctrl+[1/!]          178    ²    SUPERSCRIPT TWO
33#   Shift+Ctrl+[1/!]    179    ³    SUPERSCRIPT THREE
34#   Shift(+Ctrl)+[3/#]  169    ©    COPYRIGHT SIGN
35#   Shift(+Ctrl)+[4/$]  163    £    POUND SIGN
36#   Shift(+Ctrl)+[5/%]  167    §    SECTION SIGN
37#   Shift(+Ctrl)+[7/&]  161    ‘    SINGLE HIGH-REVERSED-9 QUOTATION MARK
38#   Shift(+Ctrl)+[8/*]  162    ’    RIGHT SINGLE QUOTATION MARK
39#   Shift(+Ctrl)+[9/(]  171    «    LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
40#   Shift(+Ctrl)+[0/)]  187    »    RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
41#   Shift(+Ctrl)+[=/+]  177    ±    PLUS-MINUS SIGN
42#   Shift(+Ctrl)+['/"]  176    °    DEGREE SIGN
43#   Shift(+Ctrl)+[,/<]  173    ­    SOFT HYPHEN
44#   Shift(+Ctrl)+[./>]  175    ―    HORIZONTAL BAR
45#   Shift(+Ctrl)+[//?]  172    ¬    NOT SIGN
46#   Ctrl+Shift+Space    160         NO-BREAK SPACE
47#
48#                                                         alt
49# scan                       cntrl          alt    alt   cntrl lock
50# code  base   shift  cntrl  shift  alt    shift  cntrl  shift state
51# ------------------------------------------------------------------
52  000   nop    nop    nop    nop    nop    nop    nop    nop     O
53  001   esc    esc    esc    esc    esc    esc    debug  panic   O
54  002   '1'    '!'    0xb2   0xb3   '1'    '!'    0xb2   0xb3    O
55  003   '2'    '@'    nul    nul    '2'    '@'    nul    nul     O
56  004   '3'    '#'    0xa9   0xa9   '3'    '#'    0xa9   0xa9    O
57  005   '4'    '$'    0xa3   0xa3   '4'    '$'    0xa3   0xa3    O
58  006   '5'    '%'    0xa7   0xa7   '5'    '%'    0xa7   0xa7    O
59  007   '6'    '^'    rs     rs     '6'    '^'    rs     rs      O
60  008   '7'    '&'    0x2018 0x2018 '7'    '&'    0x2018 0x2018  O
61  009   '8'    '*'    0x2019 0x2019 '8'    '*'    0x2019 0x2019  O
62  010   '9'    '('    0xab   0xab   '9'    '('    0xab   0xab    O
63  011   '0'    ')'    0xbb   0xbb   '0'    ')'    0xbb   0xbb    O
64  012   '-'    '_'    us     us     '-'    '_'    us     us      O
65  013   '='    '+'    0xb1   0xb1   '='    '+'    0xb1   0xb1    O
66  014   bs     bs     del    del    bs     bs     del    del     O
67  015   ht     btab   nop    nop    ht     btab   nop    nop     O
68  016   'q'    'Q'    dc1    dc1    'q'    'Q'    dc1    dc1     C
69  017   'w'    'W'    etb    etb    'w'    'W'    etb    etb     C
70  018   'e'    'E'    enq    enq    'e'    'E'    enq    enq     C
71  019   'r'    'R'    dc2    dc2    'r'    'R'    dc2    dc2     C
72  020   't'    'T'    dc4    dc4    't'    'T'    dc4    dc4     C
73  021   'y'    'Y'    em     em     'y'    'Y'    em     em      C
74  022   'u'    'U'    nak    nak    'u'    'U'    nak    nak     C
75  023   'i'    'I'    ht     ht     'i'    'I'    ht     ht      C
76  024   'o'    'O'    si     si     'o'    'O'    si     si      C
77  025   'p'    'P'    dle    dle    'p'    'P'    dle    dle     C
78  026   '['    '{'    esc    esc    '['    '{'    esc    esc     O
79  027   ']'    '}'    gs     gs     ']'    '}'    gs     gs      O
80  028   cr     cr     nl     nl     cr     cr     nl     nl      O
81  029   lctrl  lctrl  lctrl  lctrl  lctrl  lctrl  lctrl  lctrl   O
82  030   'a'    'A'    soh    soh    'a'    'A'    soh    soh     C
83  031   's'    'S'    dc3    dc3    's'    'S'    dc3    dc3     C
84  032   'd'    'D'    eot    eot    'd'    'D'    eot    eot     C
85  033   'f'    'F'    ack    ack    'f'    'F'    ack    ack     C
86  034   'g'    'G'    bel    bel    'g'    'G'    bel    bel     C
87  035   'h'    'H'    bs     bs     'h'    'H'    bs     bs      C
88  036   'j'    'J'    nl     nl     'j'    'J'    nl     nl      C
89  037   'k'    'K'    vt     vt     'k'    'K'    vt     vt      C
90  038   'l'    'L'    ff     ff     'l'    'L'    ff     ff      C
91  039   ';'    ':'    nop    nop    ';'    ':'    nop    nop     O
92  040   '''    '"'    0xb0   0xb0   '''    '"'    0xb0   0xb0    O
93  041   '`'    '~'    0xa6   0xbd   '`'    '~'    0xa6   0xbd    O
94  042   lshift lshift lshift lshift lshifta lshifta lshift lshift  O
95  043   '\'    '|'    fs     fs     '\'    '|'    fs     fs      O
96  044   'z'    'Z'    sub    sub    'z'    'Z'    sub    sub     C
97  045   'x'    'X'    can    can    'x'    'X'    can    can     C
98  046   'c'    'C'    etx    etx    'c'    'C'    etx    etx     C
99  047   'v'    'V'    syn    syn    'v'    'V'    syn    syn     C
100  048   'b'    'B'    stx    stx    'b'    'B'    stx    stx     C
101  049   'n'    'N'    so     so     'n'    'N'    so     so      C
102  050   'm'    'M'    cr     cr     'm'    'M'    cr     cr      C
103  051   ','    '<'    0xad   0xad   ','    '<'    0xad   0xad    O
104  052   '.'    '>'    0x2015 0x2015 '.'    '>'    0x2015 0x2015  O
105  053   '/'    '?'    0xac   0xac   '/'    '?'    0xac   0xac    O
106  054   rshift rshift rshift rshift rshifta rshifta rshift rshift  O
107  055   '*'    '*'    '*'    '*'    '*'    '*'    '*'    '*'     N
108  056   lalt   lalta  lalt   lalt   lalt   lalta  lalt   lalt    O
109  057   ' '    ' '    nul    0xa0   ' '    ' '    susp   0xa0    O
110  058   clock  clock  clock  clock  clock  clock  clock  clock   O
111  059   fkey01 fkey13 fkey25 fkey37 scr01  scr11  scr01  scr11   O
112  060   fkey02 fkey14 fkey26 fkey38 scr02  scr12  scr02  scr12   O
113  061   fkey03 fkey15 fkey27 fkey39 scr03  scr13  scr03  scr13   O
114  062   fkey04 fkey16 fkey28 fkey40 scr04  scr14  scr04  scr14   O
115  063   fkey05 fkey17 fkey29 fkey41 scr05  scr15  scr05  scr15   O
116  064   fkey06 fkey18 fkey30 fkey42 scr06  scr16  scr06  scr16   O
117  065   fkey07 fkey19 fkey31 fkey43 scr07  scr07  scr07  scr07   O
118  066   fkey08 fkey20 fkey32 fkey44 scr08  scr08  scr08  scr08   O
119  067   fkey09 fkey21 fkey33 fkey45 scr09  scr09  scr09  scr09   O
120  068   fkey10 fkey22 fkey34 fkey46 scr10  scr10  scr10  scr10   O
121  069   nlock  nlock  nlock  nlock  nlock  nlock  nlock  nlock   O
122  070   slock  slock  slock  slock  slock  slock  slock  slock   O
123  071   fkey49 '7'    '7'    '7'    '7'    '7'    '7'    '7'     N
124  072   fkey50 '8'    '8'    '8'    '8'    '8'    '8'    '8'     N
125  073   fkey51 '9'    '9'    '9'    '9'    '9'    '9'    '9'     N
126  074   fkey52 '-'    '-'    '-'    '-'    '-'    '-'    '-'     N
127  075   fkey53 '4'    '4'    '4'    '4'    '4'    '4'    '4'     N
128  076   fkey54 '5'    '5'    '5'    '5'    '5'    '5'    '5'     N
129  077   fkey55 '6'    '6'    '6'    '6'    '6'    '6'    '6'     N
130  078   fkey56 '+'    '+'    '+'    '+'    '+'    '+'    '+'     N
131  079   fkey57 '1'    '1'    '1'    '1'    '1'    '1'    '1'     N
132  080   fkey58 '2'    '2'    '2'    '2'    '2'    '2'    '2'     N
133  081   fkey59 '3'    '3'    '3'    '3'    '3'    '3'    '3'     N
134  082   fkey60 '0'    '0'    '0'    '0'    '0'    '0'    '0'     N
135  083   del    '.'    '.'    '.'    '.'    '.'    boot   boot    N
136  084   nop    nop    nop    nop    nop    nop    nop    nop     O
137  085   nop    nop    nop    nop    nop    nop    nop    nop     O
138  086   nop    nop    nop    nop    nop    nop    nop    nop     O
139  087   fkey11 fkey23 fkey35 fkey47 scr11  scr11  scr11  scr11   O
140  088   fkey12 fkey24 fkey36 fkey48 scr12  scr12  scr12  scr12   O
141  089   cr     cr     nl     nl     cr     cr     nl     nl      N
142  090   rctrl  rctrl  rctrl  rctrl  rctrl  rctrl  rctrl  rctrl   O
143  091   '/'    '/'    '/'    '/'    '/'    '/'    '/'    '/'     N
144  092   nscr   pscr   debug  debug  nop    nop    nop    nop     O
145  093   ashift ashift ralt   ralt   ralt   ralt   ralt   ralt    O
146  094   fkey49 fkey49 fkey49 fkey49 fkey49 fkey49 fkey49 fkey49  O
147  095   fkey50 fkey50 fkey50 fkey50 fkey50 fkey50 fkey50 fkey50  O
148  096   fkey51 fkey51 fkey51 fkey51 fkey51 fkey51 fkey51 fkey51  O
149  097   fkey53 fkey53 pscr   pscr   fkey53 fkey53 fkey53 fkey53  O
150  098   fkey55 fkey55 nscr   nscr   fkey55 fkey55 fkey55 fkey55  O
151  099   fkey57 fkey57 fkey57 fkey57 fkey57 fkey57 fkey57 fkey57  O
152  100   fkey58 fkey58 fkey58 fkey58 fkey58 fkey58 fkey58 fkey58  O
153  101   fkey59 fkey59 fkey59 fkey59 fkey59 fkey59 fkey59 fkey59  O
154  102   fkey60 paste  fkey60 fkey60 fkey60 fkey60 fkey60 fkey60  O
155  103   fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 boot   fkey61  O
156  104   slock  saver  slock  saver  susp   nop    susp   nop     O
157  105   esc    esc    fkey62 fkey62 fkey62 fkey62 fkey62 fkey62  O
158  106   meta   meta   fkey63 fkey63 fkey63 fkey63 fkey63 fkey63  O
159  107   meta   meta   fkey64 fkey64 fkey64 fkey64 fkey64 fkey64  O
160  108   nop    nop    nop    nop    nop    nop    nop    nop     O
161#                                                         alt
162# scan                       cntrl          alt    alt   cntrl lock
163# code  base   shift  cntrl  shift  alt    shift  cntrl  shift state
164# ------------------------------------------------------------------
165  128   nop    nop    nop    nop    nop    nop    nop    nop     O
166  129   esc    esc    esc    esc    esc    esc    debug  panic   O
167  130   '1'    '!'    0xb2   0xb3   '1'    '!'    0xb2   0xb3    O
168  131   '2'    '@'    nul    nul    '2'    '@'    nul    nul     O
169  132   '3'    '#'    0xa9   0xa9   '3'    '#'    0xa9   0xa9    O
170  133   '4'    '$'    0xa3   0xa3   '4'    '$'    0xa3   0xa3    O
171  134   '5'    '%'    0xa7   0xa7   '5'    '%'    0xa7   0xa7    O
172  135   '6'    '^'    rs     rs     '6'    '^'    rs     rs      O
173  136   '7'    '&'    0x2018 0x2018 '7'    '&'    0x2018 0x2018  O
174  137   '8'    '*'    0x2019 0x2019 '8'    '*'    0x2019 0x2019  O
175  138   '9'    '('    0xab   0xab   '9'    '('    0xab   0xab    O
176  139   '0'    ')'    0xbb   0xbb   '0'    ')'    0xbb   0xbb    O
177  140   '-'    '_'    us     us     '-'    '_'    us     us      O
178  141   '='    '+'    0xb1   0xb1   '='    '+'    0xb1   0xb1    O
179  142   bs     bs     del    del    bs     bs     del    del     O
180  143   ht     btab   nop    nop    ht     btab   nop    nop     O
181  144   ';'    ':'    dc1    dc1    ';'    ':'    dc1    dc1     C
182  145   0x03c2 0xb7   etb    etb    0x03c2 0xb7   etb    etb     C
183  146   0x03b5 0x0395 enq    enq    0x03b5 0x0395 enq    enq     C
184  147   0x03c1 0x03a1 dc2    dc2    0x03c1 0x03a1 dc2    dc2     C
185  148   0x03c4 0x03a4 dc4    dc4    0x03c4 0x03a4 dc4    dc4     C
186  149   0x03c5 0x03a5 em     em     0x03c5 0x03a5 em     em      C
187  150   0x03b8 0x0398 nak    nak    0x03b8 0x0398 nak    nak     C
188  151   0x03b9 0x0399 ht     ht     0x03b9 0x0399 ht     ht      C
189  152   0x03bf 0x039f si     si     0x03bf 0x039f si     si      C
190  153   0x03c0 0x03a0 dle    dle    0x03c0 0x03a0 dle    dle     C
191  154   '['    '{'    esc    esc    '['    '{'    esc    esc     O
192  155   ']'    '}'    gs     gs     ']'    '}'    gs     gs      O
193  156   cr     cr     nl     nl     cr     cr     nl     nl      O
194  157   lctrl  lctrl  lctrl  lctrl  lctrl  lctrl  lctrl  lctrl   O
195  158   0x03b1 0x0391 soh    soh    0x03b1 0x0391 soh    soh     C
196  159   0x03c3 0x03a3 dc3    dc3    0x03c3 0x03a3 dc3    dc3     C
197  160   0x03b4 0x0394 eot    eot    0x03b4 0x0394 eot    eot     C
198  161   0x03c6 0x03a6 ack    ack    0x03c6 0x03a6 ack    ack     C
199  162   0x03b3 0x0393 bel    bel    0x03b3 0x0393 bel    bel     C
200  163   0x03b7 0x0397 bs     bs     0x03b7 0x0397 bs     bs      C
201  164   0x03be 0x039e nl     nl     0x03be 0x039e nl     nl      C
202  165   0x03ba 0x039a vt     vt     0x03ba 0x039a vt     vt      C
203  166   0x03bb 0x039b ff     ff     0x03bb 0x039b ff     ff      C
204  167   dacu   ddia   ddac   nop    dacu   ddia   ddac   nop     O
205  168   '''    '"'    0xb0   0xb0   '''    '"'    0xb0   0xb0    O
206  169   '`'    '~'    0xa6   0xbd   '`'    '~'    0xa6   0xbd    O
207  170   lshift lshift lshift lshift lshifta lshifta lshift lshift  O
208  171   '\'    '|'    fs     fs     '\'    '|'    fs     fs      O
209  172   0x03b6 0x0396 sub    sub    0x03b6 0x0396 sub    sub     C
210  173   0x03c7 0x03a7 can    can    0x03c7 0x03a7 can    can     C
211  174   0x03c8 0x03a8 etx    etx    0x03c8 0x03a8 etx    etx     C
212  175   0x03c9 0x03a9 syn    syn    0x03c9 0x03a9 syn    syn     C
213  176   0x03b2 0x0392 stx    stx    0x03b2 0x0392 stx    stx     C
214  177   0x03bd 0x039d so     so     0x03bc 0x039c so     so      C
215  178   0x03bc 0x039c cr     cr     0x03bb 0x039b cr     cr      C
216  179   ','    '<'    0xad   0xad   ','    '<'    0xad   0xad    O
217  180   '.'    '>'    0x2015 0x2015 '.'    '>'    0x2015 0x2015  O
218  181   '/'    '?'    0xac   0xac   '/'    '?'    0xac   0xac    O
219  182   rshift rshift rshift rshift rshifta rshifta rshift rshift  O
220  183   '*'    '*'    '*'    '*'    '*'    '*'    '*'    '*'     N
221  184   lalt   lalta  lalt   lalt   lalt   lalta  lalt   lalt    O
222  185   ' '    ' '    nul    0xa0   ' '    ' '    susp   0xa0    O
223  186   clock  clock  clock  clock  clock  clock  clock  clock   O
224  187   fkey01 fkey13 fkey25 fkey37 scr01  scr11  scr01  scr11   O
225  188   fkey02 fkey14 fkey26 fkey38 scr02  scr12  scr02  scr12   O
226  189   fkey03 fkey15 fkey27 fkey39 scr03  scr13  scr03  scr13   O
227  190   fkey04 fkey16 fkey28 fkey40 scr04  scr14  scr04  scr14   O
228  191   fkey05 fkey17 fkey29 fkey41 scr05  scr15  scr05  scr15   O
229  192   fkey06 fkey18 fkey30 fkey42 scr06  scr16  scr06  scr16   O
230  193   fkey07 fkey19 fkey31 fkey43 scr07  scr07  scr07  scr07   O
231  194   fkey08 fkey20 fkey32 fkey44 scr08  scr08  scr08  scr08   O
232  195   fkey09 fkey21 fkey33 fkey45 scr09  scr09  scr09  scr09   O
233  196   fkey10 fkey22 fkey34 fkey46 scr10  scr10  scr10  scr10   O
234  197   nlock  nlock  nlock  nlock  nlock  nlock  nlock  nlock   O
235  198   slock  slock  slock  slock  slock  slock  slock  slock   O
236  199   fkey49 '7'    '7'    '7'    '7'    '7'    '7'    '7'     N
237  200   fkey50 '8'    '8'    '8'    '8'    '8'    '8'    '8'     N
238  201   fkey51 '9'    '9'    '9'    '9'    '9'    '9'    '9'     N
239  202   fkey52 '-'    '-'    '-'    '-'    '-'    '-'    '-'     N
240  203   fkey53 '4'    '4'    '4'    '4'    '4'    '4'    '4'     N
241  204   fkey54 '5'    '5'    '5'    '5'    '5'    '5'    '5'     N
242  205   fkey55 '6'    '6'    '6'    '6'    '6'    '6'    '6'     N
243  206   fkey56 '+'    '+'    '+'    '+'    '+'    '+'    '+'     N
244  207   fkey57 '1'    '1'    '1'    '1'    '1'    '1'    '1'     N
245  208   fkey58 '2'    '2'    '2'    '2'    '2'    '2'    '2'     N
246  209   fkey59 '3'    '3'    '3'    '3'    '3'    '3'    '3'     N
247  210   fkey60 '0'    '0'    '0'    '0'    '0'    '0'    '0'     N
248  211   del    '.'    '.'    '.'    '.'    '.'    boot   boot    N
249  212   nop    nop    nop    nop    nop    nop    nop    nop     O
250  213   nop    nop    nop    nop    nop    nop    nop    nop     O
251  214   nop    nop    nop    nop    nop    nop    nop    nop     O
252  215   fkey11 fkey23 fkey35 fkey47 scr11  scr11  scr11  scr11   O
253  216   fkey12 fkey24 fkey36 fkey48 scr12  scr12  scr12  scr12   O
254  217   cr     cr     nl     nl     cr     cr     nl     nl      N
255  218   rctrl  rctrl  rctrl  rctrl  rctrl  rctrl  rctrl  rctrl   O
256  219   '/'    '/'    '/'    '/'    '/'    '/'    '/'    '/'     N
257  220   nscr   pscr   debug  debug  nop    nop    nop    nop     O
258  221   ashift ashift ralt   ralt   ralt   ralt   ralt   ralt    O
259  222   fkey49 fkey49 fkey49 fkey49 fkey49 fkey49 fkey49 fkey49  O
260  223   fkey50 fkey50 fkey50 fkey50 fkey50 fkey50 fkey50 fkey50  O
261  224   fkey51 fkey51 fkey51 fkey51 fkey51 fkey51 fkey51 fkey51  O
262  225   fkey53 fkey53 pscr   pscr   fkey53 fkey53 fkey53 fkey53  O
263  226   fkey55 fkey55 nscr   nscr   fkey55 fkey55 fkey55 fkey55  O
264  227   fkey57 fkey57 fkey57 fkey57 fkey57 fkey57 fkey57 fkey57  O
265  228   fkey58 fkey58 fkey58 fkey58 fkey58 fkey58 fkey58 fkey58  O
266  229   fkey59 fkey59 fkey59 fkey59 fkey59 fkey59 fkey59 fkey59  O
267  230   fkey60 paste  fkey60 fkey60 fkey60 fkey60 fkey60 fkey60  O
268  231   fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 boot   fkey61  O
269  232   slock  saver  slock  saver  susp   nop    susp   nop     O
270  233   esc    esc    fkey62 fkey62 fkey62 fkey62 fkey62 fkey62  O
271  234   meta   meta   fkey63 fkey63 fkey63 fkey63 fkey63 fkey63  O
272  235   meta   meta   fkey64 fkey64 fkey64 fkey64 fkey64 fkey64  O
273  236   nop    nop    nop    nop    nop    nop    nop    nop     O
274
275#
276#              accent      capital      lower
277# ----------------------------------------------
278  dacu 0x0384  ( 0x0384 0x0384  ) ( 0x0391 0x0386  ) ( 0x03b1 0x03ac  )
279               ( 0x0395 0x0388  ) ( 0x03b5 0x03ad  )
280               ( 0x0397 0x0389  ) ( 0x03b7 0x03ae  )
281               ( 0x0399 0x038a  ) ( 0x03b9 0x03af  )
282               ( 0x039f 0x038c  ) ( 0x03bf 0x03cc  )
283               ( 0x03a5 0x038e  ) ( 0x03c5 0x03cd  )
284               ( 0x03a9 0x038f  ) ( 0x03c9 0x03ce  )
285
286  ddac 0x0385  ( 0x0385 0x0385  ) ( 0x03b9 0x0390  )
287               ( 0x03c5 0x03b0  )
288
289  ddia 0xa8    ( 0xa8   0xa8    ) ( 0x0399 0x03aa  ) ( 0x03b9 0x03ca  )
290               ( 0x03a5 0x03ab  ) ( 0x03c5 0x03cb  )
291