Third round in syscons update.
Display update method changed, now allways write in memory buffer, then periodically update physical display. Speed improvements (now > 5 times faster than the old syscons). History now circular buffer, with changeable size. History scroll by up/down line, up/down page, home and end. Backtab proberly implemented. Now space for 96 function keys, 63 allocated standard, default now SCO/SYSV compat again as in the old days. New keyboard definition files ~share/syscons/keymaps/* Misc fixes for old "hacks" that broke SCO/SYSV compat. More that I forgot before writing this...
This commit is contained in:
parent
7c5329fd30
commit
a926a37b0a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5994
@ -22,7 +22,7 @@ then enter a decimal number from 0-255 via the numerical keypad, then
|
||||
release ALT. The entered value is then used as the ASCII value for one
|
||||
character. This way it is possible to enter any ASCII value, not present
|
||||
on the keyboard.
|
||||
The console driver also includes a history function. It is activatet by
|
||||
The console driver also includes a history function. It is activated by
|
||||
pressing the scroll-lock key. This holds the display, and enables the cursor
|
||||
arrows for scrolling up and down through the last scrolled out lines.
|
||||
|
||||
@ -125,18 +125,17 @@ The function keys are numbered like this:
|
||||
Page Up key 51
|
||||
(keypad) - key 52
|
||||
Left arrow key 53
|
||||
Delete key 54
|
||||
(keypad) 5 key 54
|
||||
Right arrow key 55
|
||||
(keypad) + key 56
|
||||
End key 57
|
||||
Down arrow key 58
|
||||
Page down key 59
|
||||
Insert key 60
|
||||
Left window key 61
|
||||
Right window key 62
|
||||
Menu key 63
|
||||
Back tab key 64
|
||||
(keypad) 5 key 65
|
||||
|
||||
Right window key 61
|
||||
Left window key 62
|
||||
Menu key 63
|
||||
.Ed
|
||||
|
||||
The kbdcontrol utility also allows changing these values at runtime.
|
||||
|
@ -22,7 +22,7 @@ then enter a decimal number from 0-255 via the numerical keypad, then
|
||||
release ALT. The entered value is then used as the ASCII value for one
|
||||
character. This way it is possible to enter any ASCII value, not present
|
||||
on the keyboard.
|
||||
The console driver also includes a history function. It is activatet by
|
||||
The console driver also includes a history function. It is activated by
|
||||
pressing the scroll-lock key. This holds the display, and enables the cursor
|
||||
arrows for scrolling up and down through the last scrolled out lines.
|
||||
|
||||
@ -125,18 +125,17 @@ The function keys are numbered like this:
|
||||
Page Up key 51
|
||||
(keypad) - key 52
|
||||
Left arrow key 53
|
||||
Delete key 54
|
||||
(keypad) 5 key 54
|
||||
Right arrow key 55
|
||||
(keypad) + key 56
|
||||
End key 57
|
||||
Down arrow key 58
|
||||
Page down key 59
|
||||
Insert key 60
|
||||
Left window key 61
|
||||
Right window key 62
|
||||
Menu key 63
|
||||
Back tab key 64
|
||||
(keypad) 5 key 65
|
||||
|
||||
Right window key 61
|
||||
Left window key 62
|
||||
Menu key 63
|
||||
.Ed
|
||||
|
||||
The kbdcontrol utility also allows changing these values at runtime.
|
||||
|
@ -78,14 +78,14 @@
|
||||
073 fkey51 '9' '9' '9' '9' '9' '9' '9' N
|
||||
074 fkey52 '/' '/' '/' '/' '/' '/' '/' N
|
||||
075 fkey53 '4' '4' '4' '4' '4' '4' '4' N
|
||||
076 fkey65 '5' '5' '5' '5' '5' '5' '5' 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 fkey54 '.' del del del del boot boot N
|
||||
083 del '.' '.' '.' '.' '.' '.' '.' 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
|
||||
@ -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 del del del del boot del O
|
||||
103 del del del del del del boot del O
|
||||
104 slock slock slock slock slock slock slock slock O
|
||||
105 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 O
|
||||
106 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 O
|
||||
107 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 O
|
||||
|
@ -78,14 +78,14 @@
|
||||
073 fkey51 '9' '9' '9' '9' '9' '9' '9' N
|
||||
074 fkey52 '-' '-' '-' '-' '-' '-' '-' N
|
||||
075 fkey53 '4' '4' '4' '4' '4' '4' '4' N
|
||||
076 fkey65 '5' '5' '5' '5' '5' '5' '5' 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 fkey54 '.' del del del del boot boot N
|
||||
083 del '.' del del del del boot del 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
|
||||
@ -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 del del del del boot del O
|
||||
103 del del del del del del boot del O
|
||||
104 slock slock slock slock slock slock slock slock O
|
||||
105 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 O
|
||||
106 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 O
|
||||
107 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 O
|
||||
|
@ -78,14 +78,14 @@
|
||||
073 fkey51 '9' '9' '9' '9' '9' '9' '9' N
|
||||
074 fkey52 '-' '-' '-' '-' '-' '-' '-' N
|
||||
075 fkey53 '4' '4' '4' '4' '4' '4' '4' N
|
||||
076 fkey65 '5' '5' '5' '5' '5' '5' '5' 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 fkey54 '.' del del del del boot boot N
|
||||
083 del '.' del del del del boot del N
|
||||
084 nop nop nop nop nop nop nop nop O
|
||||
085 nop nop nop nop nop nop nop nop O
|
||||
086 '<' '>' fs fs 171 187 fs fs 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 del del del del boot del O
|
||||
103 del del del del del del boot del O
|
||||
104 slock slock slock slock slock slock slock slock O
|
||||
105 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 O
|
||||
106 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 O
|
||||
107 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 O
|
||||
|
@ -78,14 +78,14 @@
|
||||
073 fkey51 '9' '9' '9' '9' '9' '9' '9' N
|
||||
074 fkey52 '-' '-' '-' '-' '-' '-' '-' N
|
||||
075 fkey53 '4' '4' '4' '4' '4' '4' '4' N
|
||||
076 fkey65 '5' '5' '5' '5' '5' '5' '5' 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 fkey54 '.' del del del del boot boot N
|
||||
083 del ',' del del del del del del N
|
||||
084 ns ns ns ns ns ns ns ns O
|
||||
085 nop nop nop nop nop nop nop nop O
|
||||
086 '<' '>' nop nop '|' '|' nop nop 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 del del del del boot del O
|
||||
103 del del del del del del boot del O
|
||||
104 slock slock slock slock slock slock slock slock O
|
||||
105 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 O
|
||||
106 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 O
|
||||
107 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 O
|
||||
|
@ -78,14 +78,14 @@
|
||||
073 fkey51 '9' '9' '9' '9' '9' '9' '9' N
|
||||
074 fkey52 '-' ns ns '-' '-' '-' '-' N
|
||||
075 fkey53 '4' '4' '4' '4' '4' '4' '4' N
|
||||
076 fkey65 '5' '5' '5' '5' '5' '5' '5' N
|
||||
076 fkey54 '5' '5' '5' '5' '5' '5' '5' N
|
||||
077 fkey55 '6' rs rs '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 fkey54 '.' del del del del boot boot N
|
||||
083 del '.' del del del del del del N
|
||||
084 ns ns ns ns ns ns ns ns O
|
||||
085 nop nop nop nop nop nop nop nop O
|
||||
086 nop nop nop nop nop nop nop nop 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 del del del del boot del O
|
||||
103 del del del del del del boot del O
|
||||
104 slock slock slock slock slock slock slock slock O
|
||||
105 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 O
|
||||
106 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 O
|
||||
107 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 O
|
||||
|
@ -78,14 +78,14 @@
|
||||
073 fkey51 '9' '9' '9' 185 185 185 185 N
|
||||
074 fkey52 '-' '-' '-' 173 173 173 173 N
|
||||
075 fkey53 '4' '4' '4' 180 180 180 180 N
|
||||
076 fkey65 '5' '5' '5' 181 181 181 181 N
|
||||
076 fkey54 '5' '5' '5' 181 181 181 181 N
|
||||
077 fkey55 '6' '6' '6' 182 182 182 182 N
|
||||
078 fkey56 '+' '+' '+' 171 171 171 171 N
|
||||
079 fkey57 '1' '1' '1' 177 177 177 177 N
|
||||
080 fkey58 '2' '2' '2' 178 178 178 178 N
|
||||
081 fkey59 '3' '3' '3' 179 179 179 179 N
|
||||
082 fkey60 '0' '0' '0' 176 176 176 176 N
|
||||
083 fkey54 '.' del del 255 255 boot boot N
|
||||
083 del '.' del del 255 255 boot boot N
|
||||
084 alock alock alock alock alock alock alock alock O
|
||||
085 nop nop nop nop nop nop nop nop O
|
||||
086 nop nop nop nop nop nop nop nop O
|
||||
@ -105,11 +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 del del 255 255 boot 255 O
|
||||
103 del del del del del del boot del O
|
||||
104 slock slock slock slock slock slock slock slock O
|
||||
105 nop nop nop nop nop nop nop nop O
|
||||
106 nop nop nop nop nop nop nop nop O
|
||||
107 nop nop nop nop nop nop nop nop O
|
||||
105 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 O
|
||||
106 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 O
|
||||
107 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 O
|
||||
108 nop nop nop nop nop nop nop nop O
|
||||
109 nop nop nop nop nop nop nop nop O
|
||||
110 nop nop nop nop nop nop nop nop O
|
||||
@ -206,14 +206,14 @@
|
||||
201 fkey51 '9' '9' '9' 185 185 185 185 N
|
||||
202 fkey52 '-' '-' '-' 173 173 173 173 N
|
||||
203 fkey53 '4' '4' '4' 180 180 180 180 N
|
||||
204 fkey65 '5' '5' '5' 181 181 181 181 N
|
||||
204 fkey54 '5' '5' '5' 181 181 181 181 N
|
||||
205 fkey55 '6' '6' '6' 182 182 182 182 N
|
||||
206 fkey56 '+' '+' '+' 171 171 171 171 N
|
||||
207 fkey57 '1' '1' '1' 177 177 177 177 N
|
||||
208 fkey58 '2' '2' '2' 178 178 178 178 N
|
||||
209 fkey59 '3' '3' '3' 179 179 179 179 N
|
||||
210 fkey60 '0' '0' '0' 176 176 176 176 N
|
||||
211 fkey54 '.' del del 255 255 boot boot N
|
||||
211 del '.' del del 255 255 boot boot N
|
||||
212 alock alock alock alock alock alock alock alock O
|
||||
213 nop nop nop nop nop nop nop nop O
|
||||
214 nop nop nop nop nop nop nop nop O
|
||||
@ -233,5 +233,8 @@
|
||||
228 fkey58 fkey58 fkey58 fkey58 fkey58 fkey58 fkey58 fkey58 O
|
||||
229 fkey59 fkey59 fkey59 fkey59 fkey59 fkey59 fkey59 fkey59 O
|
||||
230 fkey60 fkey60 fkey60 fkey60 fkey60 fkey60 fkey60 fkey60 O
|
||||
231 fkey54 fkey54 del del 255 255 boot 255 O
|
||||
231 del del del del 255 255 boot 255 O
|
||||
232 slock slock slock slock slock slock slock slock O
|
||||
233 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 O
|
||||
234 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 O
|
||||
235 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 O
|
||||
|
@ -78,14 +78,14 @@
|
||||
073 fkey51 '9' '9' '9' 185 185 185 185 N
|
||||
074 fkey52 '-' '-' '-' 173 173 173 173 N
|
||||
075 fkey53 '4' '4' '4' 180 180 180 180 N
|
||||
076 fkey65 '5' '5' '5' 181 181 181 181 N
|
||||
076 fkey54 '5' '5' '5' 181 181 181 181 N
|
||||
077 fkey55 '6' '6' '6' 182 182 182 182 N
|
||||
078 fkey56 '+' '+' '+' 171 171 171 171 N
|
||||
079 fkey57 '1' '1' '1' 177 177 177 177 N
|
||||
080 fkey58 '2' '2' '2' 178 178 178 178 N
|
||||
081 fkey59 '3' '3' '3' 179 179 179 179 N
|
||||
082 fkey60 '0' '0' '0' 176 176 176 176 N
|
||||
083 fkey54 '.' del del 255 255 boot boot N
|
||||
083 del '.' del del 255 255 boot boot N
|
||||
084 alock alock alock alock alock alock alock alock O
|
||||
085 nop nop nop nop nop nop nop nop O
|
||||
086 nop nop nop nop nop nop nop nop O
|
||||
@ -105,11 +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 del del 255 255 boot 255 O
|
||||
103 del del del del 255 255 boot 255 O
|
||||
104 slock slock slock slock slock slock slock slock O
|
||||
105 nop nop nop nop nop nop nop nop O
|
||||
106 nop nop nop nop nop nop nop nop O
|
||||
107 nop nop nop nop nop nop nop nop O
|
||||
105 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 O
|
||||
106 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 O
|
||||
107 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 O
|
||||
108 nop nop nop nop nop nop nop nop O
|
||||
109 nop nop nop nop nop nop nop nop O
|
||||
110 nop nop nop nop nop nop nop nop O
|
||||
@ -206,14 +206,14 @@
|
||||
201 fkey51 '9' '9' '9' 185 185 185 185 N
|
||||
202 fkey52 '-' '-' '-' 173 173 173 173 N
|
||||
203 fkey53 '4' '4' '4' 180 180 180 180 N
|
||||
204 fkey65 '5' '5' '5' 181 181 181 181 N
|
||||
204 fkey54 '5' '5' '5' 181 181 181 181 N
|
||||
205 fkey55 '6' '6' '6' 182 182 182 182 N
|
||||
206 fkey56 '+' '+' '+' 171 171 171 171 N
|
||||
207 fkey57 '1' '1' '1' 177 177 177 177 N
|
||||
208 fkey58 '2' '2' '2' 178 178 178 178 N
|
||||
209 fkey59 '3' '3' '3' 179 179 179 179 N
|
||||
210 fkey60 '0' '0' '0' 176 176 176 176 N
|
||||
211 fkey54 '.' del del 255 255 boot boot N
|
||||
211 del '.' del del 255 255 boot boot N
|
||||
212 alock alock alock alock alock alock alock alock O
|
||||
213 nop nop nop nop nop nop nop nop O
|
||||
214 nop nop nop nop nop nop nop nop O
|
||||
@ -233,5 +233,8 @@
|
||||
228 fkey58 fkey58 fkey58 fkey58 fkey58 fkey58 fkey58 fkey58 O
|
||||
229 fkey59 fkey59 fkey59 fkey59 fkey59 fkey59 fkey59 fkey59 O
|
||||
230 fkey60 fkey60 fkey60 fkey60 fkey60 fkey60 fkey60 fkey60 O
|
||||
231 fkey54 fkey54 del del 255 255 boot 255 O
|
||||
231 del del del del 255 255 boot 255 O
|
||||
232 slock slock slock slock slock slock slock slock O
|
||||
233 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 O
|
||||
234 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 O
|
||||
235 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 O
|
||||
|
@ -78,14 +78,14 @@
|
||||
073 fkey51 '9' '9' '9' '9' '9' '9' '9' N
|
||||
074 fkey52 '-' '-' '-' '-' '-' '-' '-' N
|
||||
075 fkey53 '4' '4' '4' '4' '4' '4' '4' N
|
||||
076 fkey65 '5' '5' '5' '5' '5' '5' '5' 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 fkey54 '.' del del del del boot boot N
|
||||
083 del '.' del del del del del del N
|
||||
084 ns ns ns ns ns ns ns ns O
|
||||
085 nop nop nop nop nop nop nop nop O
|
||||
086 '<' '>' nop nop '|' '|' nop nop 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 del del del del boot del O
|
||||
103 del del del del del del boot del O
|
||||
104 slock slock slock slock slock slock slock slock O
|
||||
105 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 O
|
||||
106 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 O
|
||||
107 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 O
|
||||
|
@ -78,14 +78,14 @@
|
||||
073 fkey51 '9' '9' '9' '9' '9' '9' '9' N
|
||||
074 fkey52 '-' ns ns '-' '-' '-' '-' N
|
||||
075 fkey53 '4' '4' '4' '4' '4' '4' '4' N
|
||||
076 fkey65 '5' '5' '5' '5' '5' '5' '5' N
|
||||
076 fkey54 '5' '5' '5' '5' '5' '5' '5' N
|
||||
077 fkey55 '6' rs rs '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 fkey54 '.' del del del del boot boot N
|
||||
083 del '.' del del del del boot del N
|
||||
084 ns ns ns ns ns ns ns ns O
|
||||
085 nop nop nop nop nop nop nop nop O
|
||||
086 '<' '>' nop nop '|' nop nop nop 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 del del del del boot del O
|
||||
103 del del del del del del boot del O
|
||||
104 slock slock slock slock slock slock slock slock O
|
||||
105 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 O
|
||||
106 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 O
|
||||
107 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 O
|
||||
|
@ -78,14 +78,14 @@
|
||||
073 fkey51 '9' '9' '9' '9' '9' '9' '9' N
|
||||
074 fkey52 '-' '-' '-' '-' '-' '-' '-' N
|
||||
075 fkey53 '4' '4' '4' '4' '4' '4' '4' N
|
||||
076 fkey65 '5' '5' '5' '5' '5' '5' '5' 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 fkey54 '.' del del del del boot boot N
|
||||
083 del '.' del del del del del del N
|
||||
084 ns ns ns ns ns ns ns ns O
|
||||
085 nop nop nop nop nop nop nop nop O
|
||||
086 '\' '|' fs fs '\' '|' fs fs 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 del del del del boot del O
|
||||
103 del del del del del del boot del O
|
||||
104 slock slock slock slock slock slock slock slock O
|
||||
105 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 O
|
||||
106 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 O
|
||||
107 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 O
|
||||
|
@ -78,14 +78,14 @@
|
||||
073 fkey51 '9' '9' '9' '9' '9' '9' '9' N
|
||||
074 fkey52 '-' '-' '-' '-' '-' '-' '-' N
|
||||
075 fkey53 '4' '4' '4' '4' '4' '4' '4' N
|
||||
076 fkey65 '5' '5' '5' '5' '5' '5' '5' 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 fkey54 '.' del del del del boot boot N
|
||||
083 del '.' del del del del del del N
|
||||
084 ns ns ns ns ns ns ns ns O
|
||||
085 nop nop nop nop nop nop nop nop O
|
||||
086 '\' '|' fs fs '\' '|' fs fs 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 del del del del boot del O
|
||||
103 del del del del del del boot del O
|
||||
104 slock slock slock slock slock slock slock slock O
|
||||
105 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 O
|
||||
106 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 O
|
||||
107 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 O
|
||||
|
@ -78,14 +78,14 @@
|
||||
073 fkey51 '9' '9' '9' '9' '9' '9' '9' N
|
||||
074 fkey52 '-' ns ns '-' '-' '-' '-' N
|
||||
075 fkey53 '4' '4' '4' '4' '4' '4' '4' N
|
||||
076 fkey65 '5' '5' '5' '5' '5' '5' '5' N
|
||||
076 fkey54 '5' '5' '5' '5' '5' '5' '5' N
|
||||
077 fkey55 '6' rs rs '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 fkey54 '.' del del del del boot boot N
|
||||
083 del '.' del del del del del del N
|
||||
084 ns ns ns ns ns ns ns ns O
|
||||
085 nop nop nop nop nop nop nop nop O
|
||||
086 '\' '|' fs fs '\' '|' fs fs 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 del del del del boot del O
|
||||
103 del del del del del del boot del O
|
||||
104 slock slock slock slock slock slock slock slock O
|
||||
105 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 O
|
||||
106 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 O
|
||||
107 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 O
|
||||
|
@ -78,14 +78,14 @@
|
||||
073 fkey51 '9' '9' '9' '9' '9' '9' '9' N
|
||||
074 fkey52 '-' ns ns '-' '-' '-' '-' N
|
||||
075 fkey53 '4' '4' '4' '4' '4' '4' '4' N
|
||||
076 fkey65 '5' '5' '5' '5' '5' '5' '5' N
|
||||
076 fkey54 '5' '5' '5' '5' '5' '5' '5' N
|
||||
077 fkey55 '6' rs rs '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 fkey54 '.' del del del del boot boot N
|
||||
083 del '.' del del del del del del N
|
||||
084 ns ns ns ns ns ns ns ns O
|
||||
085 nop nop nop nop nop nop nop nop O
|
||||
086 '\' '|' fs fs '\' '|' fs fs 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 del del del del boot del O
|
||||
103 del del del del del del boot del O
|
||||
104 slock slock slock slock slock slock slock slock O
|
||||
105 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 O
|
||||
106 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 O
|
||||
107 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 O
|
||||
|
@ -78,14 +78,14 @@
|
||||
073 fkey51 '9' '9' '9' '9' '9' '9' '9' N
|
||||
074 fkey52 '-' '-' '-' '-' '-' '-' '-' N
|
||||
075 fkey53 '4' '4' '4' '4' '4' '4' '4' N
|
||||
076 fkey65 '5' '5' '5' '5' '5' '5' '5' 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 fkey54 '.' del del del del boot boot N
|
||||
083 del '.' del del del del del del N
|
||||
084 ns ns ns ns ns ns ns ns O
|
||||
085 nop nop nop nop nop nop nop nop O
|
||||
086 nop nop nop nop nop nop nop nop 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 del del del del boot del O
|
||||
103 del del del del del del boot del O
|
||||
104 slock slock slock slock slock slock slock slock O
|
||||
105 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 O
|
||||
106 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 O
|
||||
107 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 O
|
||||
|
@ -25,7 +25,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: console.h,v 1.16 1995/01/26 10:13:38 ache Exp $
|
||||
* $Id: console.h,v 1.15 1995/01/20 08:35:18 sos Exp $
|
||||
*/
|
||||
|
||||
#ifndef _CONSOLE_H_
|
||||
@ -160,8 +160,7 @@ struct keymap {
|
||||
};
|
||||
|
||||
#define MAXFK 16
|
||||
#define NUM_FKEYS 65
|
||||
#define NUM_SCRNS 16
|
||||
#define NUM_FKEYS 96
|
||||
|
||||
struct fkeytab {
|
||||
u_char str[MAXFK];
|
||||
@ -223,24 +222,25 @@ typedef struct ssaver ssaver_t;
|
||||
#define LCTR 0x09 /* left control key */
|
||||
#define NEXT 0x0a /* switch to next screen */
|
||||
#define F_SCR 0x0b /* switch to first screen */
|
||||
#define L_SCR 0x1a /* switch to last screen */
|
||||
#define F_FN 0x1b /* first function key */
|
||||
#define RCTR 0x7b /* right control key */
|
||||
#define RALT 0x7c /* right alt (altgr) key */
|
||||
#define ALK 0x7d /* alt lock key */
|
||||
#define ASH 0x7e /* alt shift key */
|
||||
#define META 0x7f /* meta key */
|
||||
#define RBT 0x80 /* boot machine */
|
||||
#define DBG 0x81 /* call debugger */
|
||||
#define SUSP 0x82 /* suspend power (APM BIOS) */
|
||||
#define L_FN 0x7a /* last function key */
|
||||
/* 0x7b-0x7f reserved do not use ! */
|
||||
#define RCTR 0x80 /* right control key */
|
||||
#define RALT 0x81 /* right alt (altgr) key */
|
||||
#define ALK 0x82 /* alt lock key */
|
||||
#define ASH 0x83 /* alt shift key */
|
||||
#define META 0x84 /* meta key */
|
||||
#define RBT 0x85 /* boot machine */
|
||||
#define DBG 0x86 /* call debugger */
|
||||
#define SUSP 0x87 /* suspend power (APM) */
|
||||
|
||||
#define F(x) ((x)+F_FN-1)
|
||||
#define L_FN F(NUM_FKEYS) /* last function key */
|
||||
#define S(x) ((x)+F_SCR-1)
|
||||
#define L_SCR S(NUM_SCRNS) /* switch to last screen */
|
||||
|
||||
#define NOKEY 0x100 /* no key pressed marker */
|
||||
#define FKEY 0x200 /* funtion key marker */
|
||||
#define MKEY 0x400 /* meta key marker (prepend ESC)*/
|
||||
#define BKEY 0x800 /* backtab (ESC [ Z) */
|
||||
|
||||
#define KB_DATA 0x60 /* kbd data port */
|
||||
#define KB_STAT 0x64 /* kbd status port */
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*-
|
||||
* Copyright (c) 1992-1994 Søren Schmidt
|
||||
* Copyright (c) 1992-1995 Søren Schmidt
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@ -25,7 +25,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: kbdtables.h,v 1.22 1995/01/26 10:08:39 ache Exp $
|
||||
* $Id: kbdtables.h,v 1.19 1994/12/31 11:38:39 ache Exp $
|
||||
*/
|
||||
|
||||
#define SET8 0x80 /* eight bit for emacs SET8-key */
|
||||
@ -113,14 +113,14 @@ keymap_t key_map = { 0x6C, /* DK iso8859 keymap */
|
||||
/* sc=49 */ F(51), '9', '9', '9', '9', '9', '9', '9', 0x80, 0x02,
|
||||
/* sc=4a */ F(52), '-', '-', '-', '-', '-', '-', '-', 0x80, 0x02,
|
||||
/* sc=4b */ F(53), '4', '4', '4', '4', '4', '4', '4', 0x80, 0x02,
|
||||
/* sc=4c */ F(65), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02,
|
||||
/* sc=4c */ F(54), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02,
|
||||
/* sc=4d */ F(55), '6', '6', '6', '6', '6', '6', '6', 0x80, 0x02,
|
||||
/* sc=4e */ F(56), '+', '+', '+', '+', '+', '+', '+', 0x80, 0x02,
|
||||
/* sc=4f */ F(57), '1', '1', '1', '1', '1', '1', '1', 0x80, 0x02,
|
||||
/* sc=50 */ F(58), '2', '2', '2', '2', '2', '2', '2', 0x80, 0x02,
|
||||
/* sc=51 */ F(59), '3', '3', '3', '3', '3', '3', '3', 0x80, 0x02,
|
||||
/* sc=52 */ F(60), '0', '0', '0', '0', '0', '0', '0', 0x80, 0x02,
|
||||
/* sc=53 */ F(54), '.', 0x7F, 0x7F, 0x7F, 0x7F, RBT, RBT, 0x83, 0x02,
|
||||
/* sc=53 */ 0x7F, '.', '.', '.', '.', '.', RBT, '.', 0x02, 0x02,
|
||||
/* sc=54 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
/* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
/* sc=56 */ '<', '>', 0x1C, 0x1C, '\\', '>', 0x1C, 0x1C, 0x00, 0x00,
|
||||
@ -140,7 +140,7 @@ keymap_t key_map = { 0x6C, /* DK iso8859 keymap */
|
||||
/* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00,
|
||||
/* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00,
|
||||
/* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00,
|
||||
/* sc=67 */ F(54), F(54), 0x7F, 0x7F, 0x7F, 0x7F, RBT, 0x7F, 0xC2, 0x00,
|
||||
/* sc=67 */ 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x00, 0x00,
|
||||
/* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00,
|
||||
/* sc=69 */ F(61), F(61), F(61), F(61), F(61), F(61), F(61), F(61), 0xFF, 0x00,
|
||||
/* sc=6a */ F(62), F(62), F(62), F(62), F(62), F(62), F(62), F(62), 0xFF, 0x00,
|
||||
@ -231,14 +231,14 @@ keymap_t key_map = { 0x6C, /* uk iso8859 keymap */
|
||||
/* sc=49 */ F(51), '9', '9', '9', '9', '9', '9', '9', 0x80, 0x02,
|
||||
/* sc=4a */ F(52), '-', 0x1F, 0x1F, '-', '-', '-', '-', 0x80, 0x02,
|
||||
/* sc=4b */ F(53), '4', '4', '4', '4', '4', '4', '4', 0x80, 0x02,
|
||||
/* sc=4c */ F(65), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02,
|
||||
/* sc=4c */ F(54), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02,
|
||||
/* sc=4d */ F(55), '6', 0x1E, 0x1E, '6', '6', '6', '6', 0x80, 0x02,
|
||||
/* sc=4e */ F(56), '+', '+', '+', '+', '+', '+', '+', 0x80, 0x02,
|
||||
/* sc=4f */ F(57), '1', '1', '1', '1', '1', '1', '1', 0x80, 0x02,
|
||||
/* sc=50 */ F(58), '2', '2', '2', '2', '2', '2', '2', 0x80, 0x02,
|
||||
/* sc=51 */ F(59), '3', '3', '3', '3', '3', '3', '3', 0x80, 0x02,
|
||||
/* sc=52 */ F(60), '0', '0', '0', '0', '0', '0', '0', 0x80, 0x02,
|
||||
/* sc=53 */ F(54), '.', 0x7F, 0x7F, 0x7F, 0x7F, RBT, RBT, 0x83, 0x02,
|
||||
/* sc=53 */ 0x7F, '.', '.', '.', '.', '.', RBT, '.', 0x02, 0x02,
|
||||
/* sc=54 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
/* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
/* sc=56 */ '\\', '|', 0x1C, 0x1C, '\\', '|', 0x1C, 0x1C, 0x00, 0x00,
|
||||
@ -258,7 +258,7 @@ keymap_t key_map = { 0x6C, /* uk iso8859 keymap */
|
||||
/* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00,
|
||||
/* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00,
|
||||
/* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00,
|
||||
/* sc=67 */ F(54), F(54), 0x7F, 0x7F, 0x7F, 0x7F, RBT, 0x7F, 0xC2, 0x00,
|
||||
/* sc=67 */ 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x00, 0x00,
|
||||
/* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00,
|
||||
/* sc=69 */ F(61), F(61), F(61), F(61), F(61), F(61), F(61), F(61), 0xFF, 0x00,
|
||||
/* sc=6a */ F(62), F(62), F(62), F(62), F(62), F(62), F(62), F(62), 0xFF, 0x00,
|
||||
@ -349,14 +349,14 @@ keymap_t key_map = { 0x6C, /* german iso8859 keymap */
|
||||
/* sc=49 */ F(51), '9', '9', '9', '9', '9', '9', '9', 0x80, 0x02,
|
||||
/* sc=4a */ F(52), '-', 0x1F, 0x1F, '-', '-', '-', '-', 0x80, 0x02,
|
||||
/* sc=4b */ F(53), '4', '4', '4', '4', '4', '4', '4', 0x80, 0x02,
|
||||
/* sc=4c */ F(65), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02,
|
||||
/* sc=4c */ F(54), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02,
|
||||
/* sc=4d */ F(55), '6', 0x1E, 0x1E, '6', '6', '6', '6', 0x80, 0x02,
|
||||
/* sc=4e */ F(56), '+', '+', '+', '+', '+', '+', '+', 0x80, 0x02,
|
||||
/* sc=4f */ F(57), '1', '1', '1', '1', '1', '1', '1', 0x80, 0x02,
|
||||
/* sc=50 */ F(58), '2', '2', '2', '2', '2', '2', '2', 0x80, 0x02,
|
||||
/* sc=51 */ F(59), '3', '3', '3', '3', '3', '3', '3', 0x80, 0x02,
|
||||
/* sc=52 */ F(60), '0', '0', '0', '0', '0', '0', '0', 0x80, 0x02,
|
||||
/* sc=53 */ F(54), '.', 0x7F, 0x7F, 0x7F, 0x7F, RBT, RBT, 0x83, 0x02,
|
||||
/* sc=53 */ 0x7F, '.', '.', '.', '.', '.', RBT, '.', 0x02, 0x02,
|
||||
/* sc=54 */ 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x00, 0x00,
|
||||
/* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
/* sc=56 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
@ -376,7 +376,7 @@ keymap_t key_map = { 0x6C, /* german iso8859 keymap */
|
||||
/* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00,
|
||||
/* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00,
|
||||
/* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00,
|
||||
/* sc=67 */ F(54), F(54), 0x7F, 0x7F, 0x7F, 0x7F, RBT, 0x7F, 0xC2, 0x00,
|
||||
/* sc=67 */ 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x00, 0x00,
|
||||
/* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00,
|
||||
/* sc=69 */ F(61), F(61), F(61), F(61), F(61), F(61), F(61), F(61), 0xFF, 0x00,
|
||||
/* sc=6a */ F(62), F(62), F(62), F(62), F(62), F(62), F(62), F(62), 0xFF, 0x00,
|
||||
@ -467,14 +467,14 @@ keymap_t key_map = { 0x6C, /* swedish iso8859 keymap */
|
||||
/* sc=49 */ F(51), '9', '9', '9', '9', '9', '9', '9', 0x80, 0x02,
|
||||
/* sc=4a */ F(52), '-', 0x1F, 0x1F, '-', '-', '-', '-', 0x80, 0x02,
|
||||
/* sc=4b */ F(53), '4', '4', '4', '4', '4', '4', '4', 0x80, 0x02,
|
||||
/* sc=4c */ F(65), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02,
|
||||
/* sc=4c */ F(54), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02,
|
||||
/* sc=4d */ F(55), '6', 0x1E, 0x1E, '6', '6', '6', '6', 0x80, 0x02,
|
||||
/* sc=4e */ F(56), '+', '+', '+', '+', '+', '+', '+', 0x80, 0x02,
|
||||
/* sc=4f */ F(57), '1', '1', '1', '1', '1', '1', '1', 0x80, 0x02,
|
||||
/* sc=50 */ F(58), '2', '2', '2', '2', '2', '2', '2', 0x80, 0x02,
|
||||
/* sc=51 */ F(59), '3', '3', '3', '3', '3', '3', '3', 0x80, 0x02,
|
||||
/* sc=52 */ F(60), '0', '0', '0', '0', '0', '0', '0', 0x80, 0x02,
|
||||
/* sc=53 */ F(54), '.', 0x7F, 0x7F, 0x7F, 0x7F, RBT, RBT, 0x83, 0x02,
|
||||
/* sc=53 */ 0x7F, '.', '.', '.', '.', '.', RBT, '.', 0x02, 0x02,
|
||||
/* sc=54 */ 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x00, 0x00,
|
||||
/* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
/* sc=56 */ '<', '>', NOP, NOP, '|', NOP, NOP, NOP, 0x37, 0x00,
|
||||
@ -494,7 +494,7 @@ keymap_t key_map = { 0x6C, /* swedish iso8859 keymap */
|
||||
/* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00,
|
||||
/* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00,
|
||||
/* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00,
|
||||
/* sc=67 */ F(54), F(54), 0x7F, 0x7F, 0x7F, 0x7F, RBT, 0x7F, 0xC2, 0x00,
|
||||
/* sc=67 */ 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x00, 0x00,
|
||||
/* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00,
|
||||
/* sc=69 */ F(61), F(61), F(61), F(61), F(61), F(61), F(61), F(61), 0xFF, 0x00,
|
||||
/* sc=6a */ F(62), F(62), F(62), F(62), F(62), F(62), F(62), F(62), 0xFF, 0x00,
|
||||
@ -585,14 +585,14 @@ keymap_t key_map = { 0xEC, /* keys number */
|
||||
/* sc=49 */ F(51), '9', '9', '9', SET8|'9', SET8|'9', SET8|'9', SET8|'9', 0x80, 0x02,
|
||||
/* sc=4a */ F(52), '-', '-', '-', SET8|'-', SET8|'-', SET8|'-', SET8|'-', 0x80, 0x02,
|
||||
/* sc=4b */ F(53), '4', '4', '4', SET8|'4', SET8|'4', SET8|'4', SET8|'4', 0x80, 0x02,
|
||||
/* sc=4c */ F(65), '5', '5', '5', SET8|'5', SET8|'5', SET8|'5', SET8|'5', 0x80, 0x02,
|
||||
/* sc=4c */ F(54), '5', '5', '5', SET8|'5', SET8|'5', SET8|'5', SET8|'5', 0x80, 0x02,
|
||||
/* sc=4d */ F(55), '6', '6', '6', SET8|'6', SET8|'6', SET8|'6', SET8|'6', 0x80, 0x02,
|
||||
/* sc=4e */ F(56), '+', '+', '+', SET8|'+', SET8|'+', SET8|'+', SET8|'+', 0x80, 0x02,
|
||||
/* sc=4f */ F(57), '1', '1', '1', SET8|'1', SET8|'1', SET8|'1', SET8|'1', 0x80, 0x02,
|
||||
/* sc=50 */ F(58), '2', '2', '2', SET8|'2', SET8|'2', SET8|'2', SET8|'2', 0x80, 0x02,
|
||||
/* sc=51 */ F(59), '3', '3', '3', SET8|'3', SET8|'3', SET8|'3', SET8|'3', 0x80, 0x02,
|
||||
/* sc=52 */ F(60), '0', '0', '0', SET8|'0', SET8|'0', SET8|'0', SET8|'0', 0x80, 0x02,
|
||||
/* sc=53 */ F(54), '.', 0x7F, 0x7F, SET8|0x7F, SET8|0x7F, RBT, RBT, 0x83, 0x02,
|
||||
/* sc=53 */ 0x7F, '.', '.', '.', SET8|'.', SET8|'.', RBT, RBT, 0x03, 0x02,
|
||||
/* sc=54 */ ALK, ALK, ALK, ALK, ALK, ALK, ALK, ALK, 0xFF, 0x00,
|
||||
/* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
/* sc=56 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
@ -612,7 +612,7 @@ keymap_t key_map = { 0xEC, /* keys number */
|
||||
/* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00,
|
||||
/* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00,
|
||||
/* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00,
|
||||
/* sc=67 */ F(54), F(54), 0x7F, 0x7F, SET8|0x7F, SET8|0x7F, RBT, SET8|0x7F, 0xC2, 0x00,
|
||||
/* sc=67 */ 0x7F, 0x7F, 0x7F, 0x7F, SET8|0x7F, SET8|0x7F, RBT, SET8|0x7F, 0xC2, 0x00,
|
||||
/* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00,
|
||||
/* sc=69 */ F(61), F(61), F(61), F(61), F(61), F(61), F(61), F(61), 0xFF, 0x00,
|
||||
/* sc=6a */ F(62), F(62), F(62), F(62), F(62), F(62), F(62), F(62), 0xFF, 0x00,
|
||||
@ -714,14 +714,14 @@ keymap_t key_map = { 0xEC, /* keys number */
|
||||
/* sc=49 */ F(51), '9', '9', '9', SET8|'9', SET8|'9', SET8|'9', SET8|'9', 0x80, 0x02,
|
||||
/* sc=4a */ F(52), '-', '-', '-', SET8|'-', SET8|'-', SET8|'-', SET8|'-', 0x80, 0x02,
|
||||
/* sc=4b */ F(53), '4', '4', '4', SET8|'4', SET8|'4', SET8|'4', SET8|'4', 0x80, 0x02,
|
||||
/* sc=4c */ F(65), '5', '5', '5', SET8|'5', SET8|'5', SET8|'5', SET8|'5', 0x80, 0x02,
|
||||
/* sc=4c */ F(54), '5', '5', '5', SET8|'5', SET8|'5', SET8|'5', SET8|'5', 0x80, 0x02,
|
||||
/* sc=4d */ F(55), '6', '6', '6', SET8|'6', SET8|'6', SET8|'6', SET8|'6', 0x80, 0x02,
|
||||
/* sc=4e */ F(56), '+', '+', '+', SET8|'+', SET8|'+', SET8|'+', SET8|'+', 0x80, 0x02,
|
||||
/* sc=4f */ F(57), '1', '1', '1', SET8|'1', SET8|'1', SET8|'1', SET8|'1', 0x80, 0x02,
|
||||
/* sc=50 */ F(58), '2', '2', '2', SET8|'2', SET8|'2', SET8|'2', SET8|'2', 0x80, 0x02,
|
||||
/* sc=51 */ F(59), '3', '3', '3', SET8|'3', SET8|'3', SET8|'3', SET8|'3', 0x80, 0x02,
|
||||
/* sc=52 */ F(60), '0', '0', '0', SET8|'0', SET8|'0', SET8|'0', SET8|'0', 0x80, 0x02,
|
||||
/* sc=53 */ F(54), '.', 0x7F, 0x7F, SET8|0x7F, SET8|0x7F, RBT, RBT, 0x83, 0x02,
|
||||
/* sc=53 */ 0x7F, '.', '.', '.', SET8|'.', SET8|'.', RBT, RBT, 0x03, 0x02,
|
||||
/* sc=54 */ ALK, ALK, ALK, ALK, ALK, ALK, ALK, ALK, 0xFF, 0x00,
|
||||
/* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
/* sc=56 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
@ -741,7 +741,7 @@ keymap_t key_map = { 0xEC, /* keys number */
|
||||
/* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00,
|
||||
/* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00,
|
||||
/* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00,
|
||||
/* sc=67 */ F(54), F(54), 0x7F, 0x7F, SET8|0x7F, SET8|0x7F, RBT, SET8|0x7F, 0xC2, 0x00,
|
||||
/* sc=67 */ 0x7F, 0x7F, 0x7F, 0x7F, SET8|0x7F, SET8|0x7F, RBT, SET8|0x7F, 0xC2, 0x00,
|
||||
/* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00,
|
||||
/* sc=69 */ F(61), F(61), F(61), F(61), F(61), F(61), F(61), F(61), 0xFF, 0x00,
|
||||
/* sc=6a */ F(62), F(62), F(62), F(62), F(62), F(62), F(62), F(62), 0xFF, 0x00,
|
||||
@ -833,14 +833,14 @@ keymap_t key_map = { 0x6C, /* US iso8859 keymap */
|
||||
/* sc=49 */ F(51), '9', '9', '9', '9', '9', '9', '9', 0x80, 0x02,
|
||||
/* sc=4a */ F(52), '-', '-', '-', '-', '-', '-', '-', 0x80, 0x02,
|
||||
/* sc=4b */ F(53), '4', '4', '4', '4', '4', '4', '4', 0x80, 0x02,
|
||||
/* sc=4c */ F(65), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02,
|
||||
/* sc=4c */ F(54), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02,
|
||||
/* sc=4d */ F(55), '6', '6', '6', '6', '6', '6', '6', 0x80, 0x02,
|
||||
/* sc=4e */ F(56), '+', '+', '+', '+', '+', '+', '+', 0x80, 0x02,
|
||||
/* sc=4f */ F(57), '1', '1', '1', '1', '1', '1', '1', 0x80, 0x02,
|
||||
/* sc=50 */ F(58), '2', '2', '2', '2', '2', '2', '2', 0x80, 0x02,
|
||||
/* sc=51 */ F(59), '3', '3', '3', '3', '3', '3', '3', 0x80, 0x02,
|
||||
/* sc=52 */ F(60), '0', '0', '0', '0', '0', '0', '0', 0x80, 0x02,
|
||||
/* sc=53 */ F(54), '.', 0x7F, 0x7F, 0x7F, 0x7F, RBT, RBT, 0x83, 0x02,
|
||||
/* sc=53 */ 0x7F, '.', '.', '.', '.', '.', RBT, '.', 0x02, 0x02,
|
||||
/* sc=54 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
/* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
/* sc=56 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
@ -860,7 +860,7 @@ keymap_t key_map = { 0x6C, /* US iso8859 keymap */
|
||||
/* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00,
|
||||
/* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00,
|
||||
/* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00,
|
||||
/* sc=67 */ F(54), F(54), 0x7F, 0x7F, 0x7F, 0x7F, RBT, 0x7F, 0xC2, 0x00,
|
||||
/* sc=67 */ 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x00, 0x00,
|
||||
/* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00,
|
||||
/* sc=69 */ F(61), F(61), F(61), F(61), F(61), F(61), F(61), F(61), 0xFF, 0x00,
|
||||
/* sc=6a */ F(62), F(62), F(62), F(62), F(62), F(62), F(62), F(62), 0xFF, 0x00,
|
||||
@ -869,27 +869,29 @@ keymap_t key_map = { 0x6C, /* US iso8859 keymap */
|
||||
|
||||
#endif
|
||||
|
||||
fkeytab_t fkey_tab[NUM_FKEYS] = {
|
||||
/* F1 - F12 */
|
||||
/* 00-03 */ {"\033[M", 3}, {"\033[N", 3}, {"\033[O", 3}, {"\033[P", 3},
|
||||
/* 04-07 */ {"\033[Q", 3}, {"\033[R", 3}, {"\033[S", 3}, {"\033[T", 3},
|
||||
/* 08-0B */ {"\033[U", 3}, {"\033[V", 3}, {"\033[W", 3}, {"\033[X", 3},
|
||||
/* Shift F1 - F12 */
|
||||
/* 0C-0F */ {"\033[m", 3}, {"\033[n", 3}, {"\033[o", 3}, {"\033[p", 3},
|
||||
/* 10-13 */ {"\033[q", 3}, {"\033[r", 3}, {"\033[s", 3}, {"\033[t", 3},
|
||||
/* 14-17 */ {"\033[u", 3}, {"\033[v", 3}, {"\033[w", 3}, {"\033[x", 3},
|
||||
/* Ctrl F1 - F12 */
|
||||
/* 18-1B */ {"\033[\315", 3}, {"\033[\316", 3}, {"\033[\317", 3}, {"\033[\320", 3},
|
||||
/* 1C-1F */ {"\033[\321", 3}, {"\033[\322", 3}, {"\033[\323", 3}, {"\033[\324", 3},
|
||||
/* 20-23 */ {"\033[\325", 3}, {"\033[\326", 3}, {"\033[\327", 3}, {"\033[\330", 3},
|
||||
/* Ctrl+Shift F1 - F12 */
|
||||
/* 24-27 */ {"\033[\355", 3}, {"\033[\356", 3}, {"\033[\357", 3}, {"\033[\360", 3},
|
||||
/* 28-2B */ {"\033[\361", 3}, {"\033[\362", 3}, {"\033[\363", 3}, {"\033[\364", 3},
|
||||
/* 2C-2F */ {"\033[\365", 3}, {"\033[\366", 3}, {"\033[\367", 3}, {"\033[\370", 3},
|
||||
/* Others */
|
||||
/* 30-33 */ {"\033[H", 3}, {"\033[A", 3}, {"\033[I", 3}, {"\033[J", 3},
|
||||
/* 34-37 */ {"\033[D", 3}, {"\033[K", 3}, {"\033[C", 3}, {"\033[Y", 3},
|
||||
/* 38-3B */ {"\033[F", 3}, {"\033[B", 3}, {"\033[G", 3}, {"\033[L", 3},
|
||||
/* 3C-3B */ {"\033[@", 3}, {"\033[y", 3}, {"\033[z", 3}, {"\033[Z", 3},
|
||||
/* 3D */ {"\033[E", 3}
|
||||
fkeytab_t fkey_tab[96] = {
|
||||
/* 01-04 */ {"\033[M", 3}, {"\033[N", 3}, {"\033[O", 3}, {"\033[P", 3},
|
||||
/* 05-08 */ {"\033[Q", 3}, {"\033[R", 3}, {"\033[S", 3}, {"\033[T", 3},
|
||||
/* 09-12 */ {"\033[U", 3}, {"\033[V", 3}, {"\033[W", 3}, {"\033[X", 3},
|
||||
/* 13-16 */ {"\033[Y", 3}, {"\033[Z", 3}, {"\033[a", 3}, {"\033[b", 3},
|
||||
/* 17-20 */ {"\033[c", 3}, {"\033[d", 3}, {"\033[e", 3}, {"\033[f", 3},
|
||||
/* 21-24 */ {"\033[g", 3}, {"\033[h", 3}, {"\033[i", 3}, {"\033[j", 3},
|
||||
/* 25-28 */ {"\033[k", 3}, {"\033[l", 3}, {"\033[m", 3}, {"\033[n", 3},
|
||||
/* 29-32 */ {"\033[o", 3}, {"\033[p", 3}, {"\033[q", 3}, {"\033[r", 3},
|
||||
/* 33-36 */ {"\033[s", 3}, {"\033[t", 3}, {"\033[u", 3}, {"\033[v", 3},
|
||||
/* 37-40 */ {"\033[w", 3}, {"\033[x", 3}, {"\033[y", 3}, {"\033[z", 3},
|
||||
/* 41-44 */ {"\033[@", 3}, {"\033[[", 3}, {"\033[\\",3}, {"\033[]", 3},
|
||||
/* 45-48 */ {"\033[^", 3}, {"\033[_", 3}, {"\033[`", 3}, {"\033[{", 3},
|
||||
/* 49-52 */ {"\033[H", 3}, {"\033[A", 3}, {"\033[I", 3}, {"-" , 1},
|
||||
/* 53-56 */ {"\033[D", 3}, {"\033[E", 3}, {"\033[C", 3}, {"+" , 1},
|
||||
/* 57-60 */ {"\033[F", 3}, {"\033[B", 3}, {"\033[G", 3}, {"\033[L", 3},
|
||||
/* 61-64 */ {"\033[J", 3}, {"\033[K", 3}, {"\033[}", 3}, {"", 0} ,
|
||||
/* 65-68 */ {"", 0} , {"", 0} , {"", 0} , {"", 0} ,
|
||||
/* 69-72 */ {"", 0} , {"", 0} , {"", 0} , {"", 0} ,
|
||||
/* 73-76 */ {"", 0} , {"", 0} , {"", 0} , {"", 0} ,
|
||||
/* 77-80 */ {"", 0} , {"", 0} , {"", 0} , {"", 0} ,
|
||||
/* 81-84 */ {"", 0} , {"", 0} , {"", 0} , {"", 0} ,
|
||||
/* 85-88 */ {"", 0} , {"", 0} , {"", 0} , {"", 0} ,
|
||||
/* 89-92 */ {"", 0} , {"", 0} , {"", 0} , {"", 0} ,
|
||||
/* 93-96 */ {"", 0} , {"", 0} , {"", 0} , {"", 0}
|
||||
};
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -25,7 +25,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: console.h,v 1.16 1995/01/26 10:13:38 ache Exp $
|
||||
* $Id: console.h,v 1.15 1995/01/20 08:35:18 sos Exp $
|
||||
*/
|
||||
|
||||
#ifndef _CONSOLE_H_
|
||||
@ -160,8 +160,7 @@ struct keymap {
|
||||
};
|
||||
|
||||
#define MAXFK 16
|
||||
#define NUM_FKEYS 65
|
||||
#define NUM_SCRNS 16
|
||||
#define NUM_FKEYS 96
|
||||
|
||||
struct fkeytab {
|
||||
u_char str[MAXFK];
|
||||
@ -223,24 +222,25 @@ typedef struct ssaver ssaver_t;
|
||||
#define LCTR 0x09 /* left control key */
|
||||
#define NEXT 0x0a /* switch to next screen */
|
||||
#define F_SCR 0x0b /* switch to first screen */
|
||||
#define L_SCR 0x1a /* switch to last screen */
|
||||
#define F_FN 0x1b /* first function key */
|
||||
#define RCTR 0x7b /* right control key */
|
||||
#define RALT 0x7c /* right alt (altgr) key */
|
||||
#define ALK 0x7d /* alt lock key */
|
||||
#define ASH 0x7e /* alt shift key */
|
||||
#define META 0x7f /* meta key */
|
||||
#define RBT 0x80 /* boot machine */
|
||||
#define DBG 0x81 /* call debugger */
|
||||
#define SUSP 0x82 /* suspend power (APM BIOS) */
|
||||
#define L_FN 0x7a /* last function key */
|
||||
/* 0x7b-0x7f reserved do not use ! */
|
||||
#define RCTR 0x80 /* right control key */
|
||||
#define RALT 0x81 /* right alt (altgr) key */
|
||||
#define ALK 0x82 /* alt lock key */
|
||||
#define ASH 0x83 /* alt shift key */
|
||||
#define META 0x84 /* meta key */
|
||||
#define RBT 0x85 /* boot machine */
|
||||
#define DBG 0x86 /* call debugger */
|
||||
#define SUSP 0x87 /* suspend power (APM) */
|
||||
|
||||
#define F(x) ((x)+F_FN-1)
|
||||
#define L_FN F(NUM_FKEYS) /* last function key */
|
||||
#define S(x) ((x)+F_SCR-1)
|
||||
#define L_SCR S(NUM_SCRNS) /* switch to last screen */
|
||||
|
||||
#define NOKEY 0x100 /* no key pressed marker */
|
||||
#define FKEY 0x200 /* funtion key marker */
|
||||
#define MKEY 0x400 /* meta key marker (prepend ESC)*/
|
||||
#define BKEY 0x800 /* backtab (ESC [ Z) */
|
||||
|
||||
#define KB_DATA 0x60 /* kbd data port */
|
||||
#define KB_STAT 0x64 /* kbd status port */
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*-
|
||||
* Copyright (c) 1992-1994 Søren Schmidt
|
||||
* Copyright (c) 1992-1995 Søren Schmidt
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@ -25,7 +25,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: kbdtables.h,v 1.22 1995/01/26 10:08:39 ache Exp $
|
||||
* $Id: kbdtables.h,v 1.19 1994/12/31 11:38:39 ache Exp $
|
||||
*/
|
||||
|
||||
#define SET8 0x80 /* eight bit for emacs SET8-key */
|
||||
@ -113,14 +113,14 @@ keymap_t key_map = { 0x6C, /* DK iso8859 keymap */
|
||||
/* sc=49 */ F(51), '9', '9', '9', '9', '9', '9', '9', 0x80, 0x02,
|
||||
/* sc=4a */ F(52), '-', '-', '-', '-', '-', '-', '-', 0x80, 0x02,
|
||||
/* sc=4b */ F(53), '4', '4', '4', '4', '4', '4', '4', 0x80, 0x02,
|
||||
/* sc=4c */ F(65), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02,
|
||||
/* sc=4c */ F(54), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02,
|
||||
/* sc=4d */ F(55), '6', '6', '6', '6', '6', '6', '6', 0x80, 0x02,
|
||||
/* sc=4e */ F(56), '+', '+', '+', '+', '+', '+', '+', 0x80, 0x02,
|
||||
/* sc=4f */ F(57), '1', '1', '1', '1', '1', '1', '1', 0x80, 0x02,
|
||||
/* sc=50 */ F(58), '2', '2', '2', '2', '2', '2', '2', 0x80, 0x02,
|
||||
/* sc=51 */ F(59), '3', '3', '3', '3', '3', '3', '3', 0x80, 0x02,
|
||||
/* sc=52 */ F(60), '0', '0', '0', '0', '0', '0', '0', 0x80, 0x02,
|
||||
/* sc=53 */ F(54), '.', 0x7F, 0x7F, 0x7F, 0x7F, RBT, RBT, 0x83, 0x02,
|
||||
/* sc=53 */ 0x7F, '.', '.', '.', '.', '.', RBT, '.', 0x02, 0x02,
|
||||
/* sc=54 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
/* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
/* sc=56 */ '<', '>', 0x1C, 0x1C, '\\', '>', 0x1C, 0x1C, 0x00, 0x00,
|
||||
@ -140,7 +140,7 @@ keymap_t key_map = { 0x6C, /* DK iso8859 keymap */
|
||||
/* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00,
|
||||
/* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00,
|
||||
/* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00,
|
||||
/* sc=67 */ F(54), F(54), 0x7F, 0x7F, 0x7F, 0x7F, RBT, 0x7F, 0xC2, 0x00,
|
||||
/* sc=67 */ 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x00, 0x00,
|
||||
/* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00,
|
||||
/* sc=69 */ F(61), F(61), F(61), F(61), F(61), F(61), F(61), F(61), 0xFF, 0x00,
|
||||
/* sc=6a */ F(62), F(62), F(62), F(62), F(62), F(62), F(62), F(62), 0xFF, 0x00,
|
||||
@ -231,14 +231,14 @@ keymap_t key_map = { 0x6C, /* uk iso8859 keymap */
|
||||
/* sc=49 */ F(51), '9', '9', '9', '9', '9', '9', '9', 0x80, 0x02,
|
||||
/* sc=4a */ F(52), '-', 0x1F, 0x1F, '-', '-', '-', '-', 0x80, 0x02,
|
||||
/* sc=4b */ F(53), '4', '4', '4', '4', '4', '4', '4', 0x80, 0x02,
|
||||
/* sc=4c */ F(65), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02,
|
||||
/* sc=4c */ F(54), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02,
|
||||
/* sc=4d */ F(55), '6', 0x1E, 0x1E, '6', '6', '6', '6', 0x80, 0x02,
|
||||
/* sc=4e */ F(56), '+', '+', '+', '+', '+', '+', '+', 0x80, 0x02,
|
||||
/* sc=4f */ F(57), '1', '1', '1', '1', '1', '1', '1', 0x80, 0x02,
|
||||
/* sc=50 */ F(58), '2', '2', '2', '2', '2', '2', '2', 0x80, 0x02,
|
||||
/* sc=51 */ F(59), '3', '3', '3', '3', '3', '3', '3', 0x80, 0x02,
|
||||
/* sc=52 */ F(60), '0', '0', '0', '0', '0', '0', '0', 0x80, 0x02,
|
||||
/* sc=53 */ F(54), '.', 0x7F, 0x7F, 0x7F, 0x7F, RBT, RBT, 0x83, 0x02,
|
||||
/* sc=53 */ 0x7F, '.', '.', '.', '.', '.', RBT, '.', 0x02, 0x02,
|
||||
/* sc=54 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
/* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
/* sc=56 */ '\\', '|', 0x1C, 0x1C, '\\', '|', 0x1C, 0x1C, 0x00, 0x00,
|
||||
@ -258,7 +258,7 @@ keymap_t key_map = { 0x6C, /* uk iso8859 keymap */
|
||||
/* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00,
|
||||
/* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00,
|
||||
/* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00,
|
||||
/* sc=67 */ F(54), F(54), 0x7F, 0x7F, 0x7F, 0x7F, RBT, 0x7F, 0xC2, 0x00,
|
||||
/* sc=67 */ 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x00, 0x00,
|
||||
/* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00,
|
||||
/* sc=69 */ F(61), F(61), F(61), F(61), F(61), F(61), F(61), F(61), 0xFF, 0x00,
|
||||
/* sc=6a */ F(62), F(62), F(62), F(62), F(62), F(62), F(62), F(62), 0xFF, 0x00,
|
||||
@ -349,14 +349,14 @@ keymap_t key_map = { 0x6C, /* german iso8859 keymap */
|
||||
/* sc=49 */ F(51), '9', '9', '9', '9', '9', '9', '9', 0x80, 0x02,
|
||||
/* sc=4a */ F(52), '-', 0x1F, 0x1F, '-', '-', '-', '-', 0x80, 0x02,
|
||||
/* sc=4b */ F(53), '4', '4', '4', '4', '4', '4', '4', 0x80, 0x02,
|
||||
/* sc=4c */ F(65), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02,
|
||||
/* sc=4c */ F(54), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02,
|
||||
/* sc=4d */ F(55), '6', 0x1E, 0x1E, '6', '6', '6', '6', 0x80, 0x02,
|
||||
/* sc=4e */ F(56), '+', '+', '+', '+', '+', '+', '+', 0x80, 0x02,
|
||||
/* sc=4f */ F(57), '1', '1', '1', '1', '1', '1', '1', 0x80, 0x02,
|
||||
/* sc=50 */ F(58), '2', '2', '2', '2', '2', '2', '2', 0x80, 0x02,
|
||||
/* sc=51 */ F(59), '3', '3', '3', '3', '3', '3', '3', 0x80, 0x02,
|
||||
/* sc=52 */ F(60), '0', '0', '0', '0', '0', '0', '0', 0x80, 0x02,
|
||||
/* sc=53 */ F(54), '.', 0x7F, 0x7F, 0x7F, 0x7F, RBT, RBT, 0x83, 0x02,
|
||||
/* sc=53 */ 0x7F, '.', '.', '.', '.', '.', RBT, '.', 0x02, 0x02,
|
||||
/* sc=54 */ 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x00, 0x00,
|
||||
/* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
/* sc=56 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
@ -376,7 +376,7 @@ keymap_t key_map = { 0x6C, /* german iso8859 keymap */
|
||||
/* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00,
|
||||
/* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00,
|
||||
/* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00,
|
||||
/* sc=67 */ F(54), F(54), 0x7F, 0x7F, 0x7F, 0x7F, RBT, 0x7F, 0xC2, 0x00,
|
||||
/* sc=67 */ 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x00, 0x00,
|
||||
/* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00,
|
||||
/* sc=69 */ F(61), F(61), F(61), F(61), F(61), F(61), F(61), F(61), 0xFF, 0x00,
|
||||
/* sc=6a */ F(62), F(62), F(62), F(62), F(62), F(62), F(62), F(62), 0xFF, 0x00,
|
||||
@ -467,14 +467,14 @@ keymap_t key_map = { 0x6C, /* swedish iso8859 keymap */
|
||||
/* sc=49 */ F(51), '9', '9', '9', '9', '9', '9', '9', 0x80, 0x02,
|
||||
/* sc=4a */ F(52), '-', 0x1F, 0x1F, '-', '-', '-', '-', 0x80, 0x02,
|
||||
/* sc=4b */ F(53), '4', '4', '4', '4', '4', '4', '4', 0x80, 0x02,
|
||||
/* sc=4c */ F(65), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02,
|
||||
/* sc=4c */ F(54), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02,
|
||||
/* sc=4d */ F(55), '6', 0x1E, 0x1E, '6', '6', '6', '6', 0x80, 0x02,
|
||||
/* sc=4e */ F(56), '+', '+', '+', '+', '+', '+', '+', 0x80, 0x02,
|
||||
/* sc=4f */ F(57), '1', '1', '1', '1', '1', '1', '1', 0x80, 0x02,
|
||||
/* sc=50 */ F(58), '2', '2', '2', '2', '2', '2', '2', 0x80, 0x02,
|
||||
/* sc=51 */ F(59), '3', '3', '3', '3', '3', '3', '3', 0x80, 0x02,
|
||||
/* sc=52 */ F(60), '0', '0', '0', '0', '0', '0', '0', 0x80, 0x02,
|
||||
/* sc=53 */ F(54), '.', 0x7F, 0x7F, 0x7F, 0x7F, RBT, RBT, 0x83, 0x02,
|
||||
/* sc=53 */ 0x7F, '.', '.', '.', '.', '.', RBT, '.', 0x02, 0x02,
|
||||
/* sc=54 */ 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x00, 0x00,
|
||||
/* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
/* sc=56 */ '<', '>', NOP, NOP, '|', NOP, NOP, NOP, 0x37, 0x00,
|
||||
@ -494,7 +494,7 @@ keymap_t key_map = { 0x6C, /* swedish iso8859 keymap */
|
||||
/* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00,
|
||||
/* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00,
|
||||
/* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00,
|
||||
/* sc=67 */ F(54), F(54), 0x7F, 0x7F, 0x7F, 0x7F, RBT, 0x7F, 0xC2, 0x00,
|
||||
/* sc=67 */ 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x00, 0x00,
|
||||
/* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00,
|
||||
/* sc=69 */ F(61), F(61), F(61), F(61), F(61), F(61), F(61), F(61), 0xFF, 0x00,
|
||||
/* sc=6a */ F(62), F(62), F(62), F(62), F(62), F(62), F(62), F(62), 0xFF, 0x00,
|
||||
@ -585,14 +585,14 @@ keymap_t key_map = { 0xEC, /* keys number */
|
||||
/* sc=49 */ F(51), '9', '9', '9', SET8|'9', SET8|'9', SET8|'9', SET8|'9', 0x80, 0x02,
|
||||
/* sc=4a */ F(52), '-', '-', '-', SET8|'-', SET8|'-', SET8|'-', SET8|'-', 0x80, 0x02,
|
||||
/* sc=4b */ F(53), '4', '4', '4', SET8|'4', SET8|'4', SET8|'4', SET8|'4', 0x80, 0x02,
|
||||
/* sc=4c */ F(65), '5', '5', '5', SET8|'5', SET8|'5', SET8|'5', SET8|'5', 0x80, 0x02,
|
||||
/* sc=4c */ F(54), '5', '5', '5', SET8|'5', SET8|'5', SET8|'5', SET8|'5', 0x80, 0x02,
|
||||
/* sc=4d */ F(55), '6', '6', '6', SET8|'6', SET8|'6', SET8|'6', SET8|'6', 0x80, 0x02,
|
||||
/* sc=4e */ F(56), '+', '+', '+', SET8|'+', SET8|'+', SET8|'+', SET8|'+', 0x80, 0x02,
|
||||
/* sc=4f */ F(57), '1', '1', '1', SET8|'1', SET8|'1', SET8|'1', SET8|'1', 0x80, 0x02,
|
||||
/* sc=50 */ F(58), '2', '2', '2', SET8|'2', SET8|'2', SET8|'2', SET8|'2', 0x80, 0x02,
|
||||
/* sc=51 */ F(59), '3', '3', '3', SET8|'3', SET8|'3', SET8|'3', SET8|'3', 0x80, 0x02,
|
||||
/* sc=52 */ F(60), '0', '0', '0', SET8|'0', SET8|'0', SET8|'0', SET8|'0', 0x80, 0x02,
|
||||
/* sc=53 */ F(54), '.', 0x7F, 0x7F, SET8|0x7F, SET8|0x7F, RBT, RBT, 0x83, 0x02,
|
||||
/* sc=53 */ 0x7F, '.', '.', '.', SET8|'.', SET8|'.', RBT, RBT, 0x03, 0x02,
|
||||
/* sc=54 */ ALK, ALK, ALK, ALK, ALK, ALK, ALK, ALK, 0xFF, 0x00,
|
||||
/* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
/* sc=56 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
@ -612,7 +612,7 @@ keymap_t key_map = { 0xEC, /* keys number */
|
||||
/* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00,
|
||||
/* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00,
|
||||
/* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00,
|
||||
/* sc=67 */ F(54), F(54), 0x7F, 0x7F, SET8|0x7F, SET8|0x7F, RBT, SET8|0x7F, 0xC2, 0x00,
|
||||
/* sc=67 */ 0x7F, 0x7F, 0x7F, 0x7F, SET8|0x7F, SET8|0x7F, RBT, SET8|0x7F, 0xC2, 0x00,
|
||||
/* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00,
|
||||
/* sc=69 */ F(61), F(61), F(61), F(61), F(61), F(61), F(61), F(61), 0xFF, 0x00,
|
||||
/* sc=6a */ F(62), F(62), F(62), F(62), F(62), F(62), F(62), F(62), 0xFF, 0x00,
|
||||
@ -714,14 +714,14 @@ keymap_t key_map = { 0xEC, /* keys number */
|
||||
/* sc=49 */ F(51), '9', '9', '9', SET8|'9', SET8|'9', SET8|'9', SET8|'9', 0x80, 0x02,
|
||||
/* sc=4a */ F(52), '-', '-', '-', SET8|'-', SET8|'-', SET8|'-', SET8|'-', 0x80, 0x02,
|
||||
/* sc=4b */ F(53), '4', '4', '4', SET8|'4', SET8|'4', SET8|'4', SET8|'4', 0x80, 0x02,
|
||||
/* sc=4c */ F(65), '5', '5', '5', SET8|'5', SET8|'5', SET8|'5', SET8|'5', 0x80, 0x02,
|
||||
/* sc=4c */ F(54), '5', '5', '5', SET8|'5', SET8|'5', SET8|'5', SET8|'5', 0x80, 0x02,
|
||||
/* sc=4d */ F(55), '6', '6', '6', SET8|'6', SET8|'6', SET8|'6', SET8|'6', 0x80, 0x02,
|
||||
/* sc=4e */ F(56), '+', '+', '+', SET8|'+', SET8|'+', SET8|'+', SET8|'+', 0x80, 0x02,
|
||||
/* sc=4f */ F(57), '1', '1', '1', SET8|'1', SET8|'1', SET8|'1', SET8|'1', 0x80, 0x02,
|
||||
/* sc=50 */ F(58), '2', '2', '2', SET8|'2', SET8|'2', SET8|'2', SET8|'2', 0x80, 0x02,
|
||||
/* sc=51 */ F(59), '3', '3', '3', SET8|'3', SET8|'3', SET8|'3', SET8|'3', 0x80, 0x02,
|
||||
/* sc=52 */ F(60), '0', '0', '0', SET8|'0', SET8|'0', SET8|'0', SET8|'0', 0x80, 0x02,
|
||||
/* sc=53 */ F(54), '.', 0x7F, 0x7F, SET8|0x7F, SET8|0x7F, RBT, RBT, 0x83, 0x02,
|
||||
/* sc=53 */ 0x7F, '.', '.', '.', SET8|'.', SET8|'.', RBT, RBT, 0x03, 0x02,
|
||||
/* sc=54 */ ALK, ALK, ALK, ALK, ALK, ALK, ALK, ALK, 0xFF, 0x00,
|
||||
/* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
/* sc=56 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
@ -741,7 +741,7 @@ keymap_t key_map = { 0xEC, /* keys number */
|
||||
/* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00,
|
||||
/* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00,
|
||||
/* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00,
|
||||
/* sc=67 */ F(54), F(54), 0x7F, 0x7F, SET8|0x7F, SET8|0x7F, RBT, SET8|0x7F, 0xC2, 0x00,
|
||||
/* sc=67 */ 0x7F, 0x7F, 0x7F, 0x7F, SET8|0x7F, SET8|0x7F, RBT, SET8|0x7F, 0xC2, 0x00,
|
||||
/* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00,
|
||||
/* sc=69 */ F(61), F(61), F(61), F(61), F(61), F(61), F(61), F(61), 0xFF, 0x00,
|
||||
/* sc=6a */ F(62), F(62), F(62), F(62), F(62), F(62), F(62), F(62), 0xFF, 0x00,
|
||||
@ -833,14 +833,14 @@ keymap_t key_map = { 0x6C, /* US iso8859 keymap */
|
||||
/* sc=49 */ F(51), '9', '9', '9', '9', '9', '9', '9', 0x80, 0x02,
|
||||
/* sc=4a */ F(52), '-', '-', '-', '-', '-', '-', '-', 0x80, 0x02,
|
||||
/* sc=4b */ F(53), '4', '4', '4', '4', '4', '4', '4', 0x80, 0x02,
|
||||
/* sc=4c */ F(65), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02,
|
||||
/* sc=4c */ F(54), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02,
|
||||
/* sc=4d */ F(55), '6', '6', '6', '6', '6', '6', '6', 0x80, 0x02,
|
||||
/* sc=4e */ F(56), '+', '+', '+', '+', '+', '+', '+', 0x80, 0x02,
|
||||
/* sc=4f */ F(57), '1', '1', '1', '1', '1', '1', '1', 0x80, 0x02,
|
||||
/* sc=50 */ F(58), '2', '2', '2', '2', '2', '2', '2', 0x80, 0x02,
|
||||
/* sc=51 */ F(59), '3', '3', '3', '3', '3', '3', '3', 0x80, 0x02,
|
||||
/* sc=52 */ F(60), '0', '0', '0', '0', '0', '0', '0', 0x80, 0x02,
|
||||
/* sc=53 */ F(54), '.', 0x7F, 0x7F, 0x7F, 0x7F, RBT, RBT, 0x83, 0x02,
|
||||
/* sc=53 */ 0x7F, '.', '.', '.', '.', '.', RBT, '.', 0x02, 0x02,
|
||||
/* sc=54 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
/* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
/* sc=56 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
@ -860,7 +860,7 @@ keymap_t key_map = { 0x6C, /* US iso8859 keymap */
|
||||
/* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00,
|
||||
/* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00,
|
||||
/* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00,
|
||||
/* sc=67 */ F(54), F(54), 0x7F, 0x7F, 0x7F, 0x7F, RBT, 0x7F, 0xC2, 0x00,
|
||||
/* sc=67 */ 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x00, 0x00,
|
||||
/* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00,
|
||||
/* sc=69 */ F(61), F(61), F(61), F(61), F(61), F(61), F(61), F(61), 0xFF, 0x00,
|
||||
/* sc=6a */ F(62), F(62), F(62), F(62), F(62), F(62), F(62), F(62), 0xFF, 0x00,
|
||||
@ -869,27 +869,29 @@ keymap_t key_map = { 0x6C, /* US iso8859 keymap */
|
||||
|
||||
#endif
|
||||
|
||||
fkeytab_t fkey_tab[NUM_FKEYS] = {
|
||||
/* F1 - F12 */
|
||||
/* 00-03 */ {"\033[M", 3}, {"\033[N", 3}, {"\033[O", 3}, {"\033[P", 3},
|
||||
/* 04-07 */ {"\033[Q", 3}, {"\033[R", 3}, {"\033[S", 3}, {"\033[T", 3},
|
||||
/* 08-0B */ {"\033[U", 3}, {"\033[V", 3}, {"\033[W", 3}, {"\033[X", 3},
|
||||
/* Shift F1 - F12 */
|
||||
/* 0C-0F */ {"\033[m", 3}, {"\033[n", 3}, {"\033[o", 3}, {"\033[p", 3},
|
||||
/* 10-13 */ {"\033[q", 3}, {"\033[r", 3}, {"\033[s", 3}, {"\033[t", 3},
|
||||
/* 14-17 */ {"\033[u", 3}, {"\033[v", 3}, {"\033[w", 3}, {"\033[x", 3},
|
||||
/* Ctrl F1 - F12 */
|
||||
/* 18-1B */ {"\033[\315", 3}, {"\033[\316", 3}, {"\033[\317", 3}, {"\033[\320", 3},
|
||||
/* 1C-1F */ {"\033[\321", 3}, {"\033[\322", 3}, {"\033[\323", 3}, {"\033[\324", 3},
|
||||
/* 20-23 */ {"\033[\325", 3}, {"\033[\326", 3}, {"\033[\327", 3}, {"\033[\330", 3},
|
||||
/* Ctrl+Shift F1 - F12 */
|
||||
/* 24-27 */ {"\033[\355", 3}, {"\033[\356", 3}, {"\033[\357", 3}, {"\033[\360", 3},
|
||||
/* 28-2B */ {"\033[\361", 3}, {"\033[\362", 3}, {"\033[\363", 3}, {"\033[\364", 3},
|
||||
/* 2C-2F */ {"\033[\365", 3}, {"\033[\366", 3}, {"\033[\367", 3}, {"\033[\370", 3},
|
||||
/* Others */
|
||||
/* 30-33 */ {"\033[H", 3}, {"\033[A", 3}, {"\033[I", 3}, {"\033[J", 3},
|
||||
/* 34-37 */ {"\033[D", 3}, {"\033[K", 3}, {"\033[C", 3}, {"\033[Y", 3},
|
||||
/* 38-3B */ {"\033[F", 3}, {"\033[B", 3}, {"\033[G", 3}, {"\033[L", 3},
|
||||
/* 3C-3B */ {"\033[@", 3}, {"\033[y", 3}, {"\033[z", 3}, {"\033[Z", 3},
|
||||
/* 3D */ {"\033[E", 3}
|
||||
fkeytab_t fkey_tab[96] = {
|
||||
/* 01-04 */ {"\033[M", 3}, {"\033[N", 3}, {"\033[O", 3}, {"\033[P", 3},
|
||||
/* 05-08 */ {"\033[Q", 3}, {"\033[R", 3}, {"\033[S", 3}, {"\033[T", 3},
|
||||
/* 09-12 */ {"\033[U", 3}, {"\033[V", 3}, {"\033[W", 3}, {"\033[X", 3},
|
||||
/* 13-16 */ {"\033[Y", 3}, {"\033[Z", 3}, {"\033[a", 3}, {"\033[b", 3},
|
||||
/* 17-20 */ {"\033[c", 3}, {"\033[d", 3}, {"\033[e", 3}, {"\033[f", 3},
|
||||
/* 21-24 */ {"\033[g", 3}, {"\033[h", 3}, {"\033[i", 3}, {"\033[j", 3},
|
||||
/* 25-28 */ {"\033[k", 3}, {"\033[l", 3}, {"\033[m", 3}, {"\033[n", 3},
|
||||
/* 29-32 */ {"\033[o", 3}, {"\033[p", 3}, {"\033[q", 3}, {"\033[r", 3},
|
||||
/* 33-36 */ {"\033[s", 3}, {"\033[t", 3}, {"\033[u", 3}, {"\033[v", 3},
|
||||
/* 37-40 */ {"\033[w", 3}, {"\033[x", 3}, {"\033[y", 3}, {"\033[z", 3},
|
||||
/* 41-44 */ {"\033[@", 3}, {"\033[[", 3}, {"\033[\\",3}, {"\033[]", 3},
|
||||
/* 45-48 */ {"\033[^", 3}, {"\033[_", 3}, {"\033[`", 3}, {"\033[{", 3},
|
||||
/* 49-52 */ {"\033[H", 3}, {"\033[A", 3}, {"\033[I", 3}, {"-" , 1},
|
||||
/* 53-56 */ {"\033[D", 3}, {"\033[E", 3}, {"\033[C", 3}, {"+" , 1},
|
||||
/* 57-60 */ {"\033[F", 3}, {"\033[B", 3}, {"\033[G", 3}, {"\033[L", 3},
|
||||
/* 61-64 */ {"\033[J", 3}, {"\033[K", 3}, {"\033[}", 3}, {"", 0} ,
|
||||
/* 65-68 */ {"", 0} , {"", 0} , {"", 0} , {"", 0} ,
|
||||
/* 69-72 */ {"", 0} , {"", 0} , {"", 0} , {"", 0} ,
|
||||
/* 73-76 */ {"", 0} , {"", 0} , {"", 0} , {"", 0} ,
|
||||
/* 77-80 */ {"", 0} , {"", 0} , {"", 0} , {"", 0} ,
|
||||
/* 81-84 */ {"", 0} , {"", 0} , {"", 0} , {"", 0} ,
|
||||
/* 85-88 */ {"", 0} , {"", 0} , {"", 0} , {"", 0} ,
|
||||
/* 89-92 */ {"", 0} , {"", 0} , {"", 0} , {"", 0} ,
|
||||
/* 93-96 */ {"", 0} , {"", 0} , {"", 0} , {"", 0}
|
||||
};
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
||||
/*-
|
||||
* Copyright (c) 1992-1994 Søren Schmidt
|
||||
* Copyright (c) 1992-1995 Søren Schmidt
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@ -25,7 +25,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: kbdtables.h,v 1.22 1995/01/26 10:08:39 ache Exp $
|
||||
* $Id: kbdtables.h,v 1.19 1994/12/31 11:38:39 ache Exp $
|
||||
*/
|
||||
|
||||
#define SET8 0x80 /* eight bit for emacs SET8-key */
|
||||
@ -113,14 +113,14 @@ keymap_t key_map = { 0x6C, /* DK iso8859 keymap */
|
||||
/* sc=49 */ F(51), '9', '9', '9', '9', '9', '9', '9', 0x80, 0x02,
|
||||
/* sc=4a */ F(52), '-', '-', '-', '-', '-', '-', '-', 0x80, 0x02,
|
||||
/* sc=4b */ F(53), '4', '4', '4', '4', '4', '4', '4', 0x80, 0x02,
|
||||
/* sc=4c */ F(65), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02,
|
||||
/* sc=4c */ F(54), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02,
|
||||
/* sc=4d */ F(55), '6', '6', '6', '6', '6', '6', '6', 0x80, 0x02,
|
||||
/* sc=4e */ F(56), '+', '+', '+', '+', '+', '+', '+', 0x80, 0x02,
|
||||
/* sc=4f */ F(57), '1', '1', '1', '1', '1', '1', '1', 0x80, 0x02,
|
||||
/* sc=50 */ F(58), '2', '2', '2', '2', '2', '2', '2', 0x80, 0x02,
|
||||
/* sc=51 */ F(59), '3', '3', '3', '3', '3', '3', '3', 0x80, 0x02,
|
||||
/* sc=52 */ F(60), '0', '0', '0', '0', '0', '0', '0', 0x80, 0x02,
|
||||
/* sc=53 */ F(54), '.', 0x7F, 0x7F, 0x7F, 0x7F, RBT, RBT, 0x83, 0x02,
|
||||
/* sc=53 */ 0x7F, '.', '.', '.', '.', '.', RBT, '.', 0x02, 0x02,
|
||||
/* sc=54 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
/* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
/* sc=56 */ '<', '>', 0x1C, 0x1C, '\\', '>', 0x1C, 0x1C, 0x00, 0x00,
|
||||
@ -140,7 +140,7 @@ keymap_t key_map = { 0x6C, /* DK iso8859 keymap */
|
||||
/* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00,
|
||||
/* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00,
|
||||
/* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00,
|
||||
/* sc=67 */ F(54), F(54), 0x7F, 0x7F, 0x7F, 0x7F, RBT, 0x7F, 0xC2, 0x00,
|
||||
/* sc=67 */ 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x00, 0x00,
|
||||
/* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00,
|
||||
/* sc=69 */ F(61), F(61), F(61), F(61), F(61), F(61), F(61), F(61), 0xFF, 0x00,
|
||||
/* sc=6a */ F(62), F(62), F(62), F(62), F(62), F(62), F(62), F(62), 0xFF, 0x00,
|
||||
@ -231,14 +231,14 @@ keymap_t key_map = { 0x6C, /* uk iso8859 keymap */
|
||||
/* sc=49 */ F(51), '9', '9', '9', '9', '9', '9', '9', 0x80, 0x02,
|
||||
/* sc=4a */ F(52), '-', 0x1F, 0x1F, '-', '-', '-', '-', 0x80, 0x02,
|
||||
/* sc=4b */ F(53), '4', '4', '4', '4', '4', '4', '4', 0x80, 0x02,
|
||||
/* sc=4c */ F(65), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02,
|
||||
/* sc=4c */ F(54), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02,
|
||||
/* sc=4d */ F(55), '6', 0x1E, 0x1E, '6', '6', '6', '6', 0x80, 0x02,
|
||||
/* sc=4e */ F(56), '+', '+', '+', '+', '+', '+', '+', 0x80, 0x02,
|
||||
/* sc=4f */ F(57), '1', '1', '1', '1', '1', '1', '1', 0x80, 0x02,
|
||||
/* sc=50 */ F(58), '2', '2', '2', '2', '2', '2', '2', 0x80, 0x02,
|
||||
/* sc=51 */ F(59), '3', '3', '3', '3', '3', '3', '3', 0x80, 0x02,
|
||||
/* sc=52 */ F(60), '0', '0', '0', '0', '0', '0', '0', 0x80, 0x02,
|
||||
/* sc=53 */ F(54), '.', 0x7F, 0x7F, 0x7F, 0x7F, RBT, RBT, 0x83, 0x02,
|
||||
/* sc=53 */ 0x7F, '.', '.', '.', '.', '.', RBT, '.', 0x02, 0x02,
|
||||
/* sc=54 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
/* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
/* sc=56 */ '\\', '|', 0x1C, 0x1C, '\\', '|', 0x1C, 0x1C, 0x00, 0x00,
|
||||
@ -258,7 +258,7 @@ keymap_t key_map = { 0x6C, /* uk iso8859 keymap */
|
||||
/* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00,
|
||||
/* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00,
|
||||
/* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00,
|
||||
/* sc=67 */ F(54), F(54), 0x7F, 0x7F, 0x7F, 0x7F, RBT, 0x7F, 0xC2, 0x00,
|
||||
/* sc=67 */ 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x00, 0x00,
|
||||
/* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00,
|
||||
/* sc=69 */ F(61), F(61), F(61), F(61), F(61), F(61), F(61), F(61), 0xFF, 0x00,
|
||||
/* sc=6a */ F(62), F(62), F(62), F(62), F(62), F(62), F(62), F(62), 0xFF, 0x00,
|
||||
@ -349,14 +349,14 @@ keymap_t key_map = { 0x6C, /* german iso8859 keymap */
|
||||
/* sc=49 */ F(51), '9', '9', '9', '9', '9', '9', '9', 0x80, 0x02,
|
||||
/* sc=4a */ F(52), '-', 0x1F, 0x1F, '-', '-', '-', '-', 0x80, 0x02,
|
||||
/* sc=4b */ F(53), '4', '4', '4', '4', '4', '4', '4', 0x80, 0x02,
|
||||
/* sc=4c */ F(65), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02,
|
||||
/* sc=4c */ F(54), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02,
|
||||
/* sc=4d */ F(55), '6', 0x1E, 0x1E, '6', '6', '6', '6', 0x80, 0x02,
|
||||
/* sc=4e */ F(56), '+', '+', '+', '+', '+', '+', '+', 0x80, 0x02,
|
||||
/* sc=4f */ F(57), '1', '1', '1', '1', '1', '1', '1', 0x80, 0x02,
|
||||
/* sc=50 */ F(58), '2', '2', '2', '2', '2', '2', '2', 0x80, 0x02,
|
||||
/* sc=51 */ F(59), '3', '3', '3', '3', '3', '3', '3', 0x80, 0x02,
|
||||
/* sc=52 */ F(60), '0', '0', '0', '0', '0', '0', '0', 0x80, 0x02,
|
||||
/* sc=53 */ F(54), '.', 0x7F, 0x7F, 0x7F, 0x7F, RBT, RBT, 0x83, 0x02,
|
||||
/* sc=53 */ 0x7F, '.', '.', '.', '.', '.', RBT, '.', 0x02, 0x02,
|
||||
/* sc=54 */ 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x00, 0x00,
|
||||
/* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
/* sc=56 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
@ -376,7 +376,7 @@ keymap_t key_map = { 0x6C, /* german iso8859 keymap */
|
||||
/* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00,
|
||||
/* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00,
|
||||
/* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00,
|
||||
/* sc=67 */ F(54), F(54), 0x7F, 0x7F, 0x7F, 0x7F, RBT, 0x7F, 0xC2, 0x00,
|
||||
/* sc=67 */ 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x00, 0x00,
|
||||
/* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00,
|
||||
/* sc=69 */ F(61), F(61), F(61), F(61), F(61), F(61), F(61), F(61), 0xFF, 0x00,
|
||||
/* sc=6a */ F(62), F(62), F(62), F(62), F(62), F(62), F(62), F(62), 0xFF, 0x00,
|
||||
@ -467,14 +467,14 @@ keymap_t key_map = { 0x6C, /* swedish iso8859 keymap */
|
||||
/* sc=49 */ F(51), '9', '9', '9', '9', '9', '9', '9', 0x80, 0x02,
|
||||
/* sc=4a */ F(52), '-', 0x1F, 0x1F, '-', '-', '-', '-', 0x80, 0x02,
|
||||
/* sc=4b */ F(53), '4', '4', '4', '4', '4', '4', '4', 0x80, 0x02,
|
||||
/* sc=4c */ F(65), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02,
|
||||
/* sc=4c */ F(54), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02,
|
||||
/* sc=4d */ F(55), '6', 0x1E, 0x1E, '6', '6', '6', '6', 0x80, 0x02,
|
||||
/* sc=4e */ F(56), '+', '+', '+', '+', '+', '+', '+', 0x80, 0x02,
|
||||
/* sc=4f */ F(57), '1', '1', '1', '1', '1', '1', '1', 0x80, 0x02,
|
||||
/* sc=50 */ F(58), '2', '2', '2', '2', '2', '2', '2', 0x80, 0x02,
|
||||
/* sc=51 */ F(59), '3', '3', '3', '3', '3', '3', '3', 0x80, 0x02,
|
||||
/* sc=52 */ F(60), '0', '0', '0', '0', '0', '0', '0', 0x80, 0x02,
|
||||
/* sc=53 */ F(54), '.', 0x7F, 0x7F, 0x7F, 0x7F, RBT, RBT, 0x83, 0x02,
|
||||
/* sc=53 */ 0x7F, '.', '.', '.', '.', '.', RBT, '.', 0x02, 0x02,
|
||||
/* sc=54 */ 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x00, 0x00,
|
||||
/* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
/* sc=56 */ '<', '>', NOP, NOP, '|', NOP, NOP, NOP, 0x37, 0x00,
|
||||
@ -494,7 +494,7 @@ keymap_t key_map = { 0x6C, /* swedish iso8859 keymap */
|
||||
/* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00,
|
||||
/* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00,
|
||||
/* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00,
|
||||
/* sc=67 */ F(54), F(54), 0x7F, 0x7F, 0x7F, 0x7F, RBT, 0x7F, 0xC2, 0x00,
|
||||
/* sc=67 */ 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x00, 0x00,
|
||||
/* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00,
|
||||
/* sc=69 */ F(61), F(61), F(61), F(61), F(61), F(61), F(61), F(61), 0xFF, 0x00,
|
||||
/* sc=6a */ F(62), F(62), F(62), F(62), F(62), F(62), F(62), F(62), 0xFF, 0x00,
|
||||
@ -585,14 +585,14 @@ keymap_t key_map = { 0xEC, /* keys number */
|
||||
/* sc=49 */ F(51), '9', '9', '9', SET8|'9', SET8|'9', SET8|'9', SET8|'9', 0x80, 0x02,
|
||||
/* sc=4a */ F(52), '-', '-', '-', SET8|'-', SET8|'-', SET8|'-', SET8|'-', 0x80, 0x02,
|
||||
/* sc=4b */ F(53), '4', '4', '4', SET8|'4', SET8|'4', SET8|'4', SET8|'4', 0x80, 0x02,
|
||||
/* sc=4c */ F(65), '5', '5', '5', SET8|'5', SET8|'5', SET8|'5', SET8|'5', 0x80, 0x02,
|
||||
/* sc=4c */ F(54), '5', '5', '5', SET8|'5', SET8|'5', SET8|'5', SET8|'5', 0x80, 0x02,
|
||||
/* sc=4d */ F(55), '6', '6', '6', SET8|'6', SET8|'6', SET8|'6', SET8|'6', 0x80, 0x02,
|
||||
/* sc=4e */ F(56), '+', '+', '+', SET8|'+', SET8|'+', SET8|'+', SET8|'+', 0x80, 0x02,
|
||||
/* sc=4f */ F(57), '1', '1', '1', SET8|'1', SET8|'1', SET8|'1', SET8|'1', 0x80, 0x02,
|
||||
/* sc=50 */ F(58), '2', '2', '2', SET8|'2', SET8|'2', SET8|'2', SET8|'2', 0x80, 0x02,
|
||||
/* sc=51 */ F(59), '3', '3', '3', SET8|'3', SET8|'3', SET8|'3', SET8|'3', 0x80, 0x02,
|
||||
/* sc=52 */ F(60), '0', '0', '0', SET8|'0', SET8|'0', SET8|'0', SET8|'0', 0x80, 0x02,
|
||||
/* sc=53 */ F(54), '.', 0x7F, 0x7F, SET8|0x7F, SET8|0x7F, RBT, RBT, 0x83, 0x02,
|
||||
/* sc=53 */ 0x7F, '.', '.', '.', SET8|'.', SET8|'.', RBT, RBT, 0x03, 0x02,
|
||||
/* sc=54 */ ALK, ALK, ALK, ALK, ALK, ALK, ALK, ALK, 0xFF, 0x00,
|
||||
/* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
/* sc=56 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
@ -612,7 +612,7 @@ keymap_t key_map = { 0xEC, /* keys number */
|
||||
/* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00,
|
||||
/* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00,
|
||||
/* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00,
|
||||
/* sc=67 */ F(54), F(54), 0x7F, 0x7F, SET8|0x7F, SET8|0x7F, RBT, SET8|0x7F, 0xC2, 0x00,
|
||||
/* sc=67 */ 0x7F, 0x7F, 0x7F, 0x7F, SET8|0x7F, SET8|0x7F, RBT, SET8|0x7F, 0xC2, 0x00,
|
||||
/* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00,
|
||||
/* sc=69 */ F(61), F(61), F(61), F(61), F(61), F(61), F(61), F(61), 0xFF, 0x00,
|
||||
/* sc=6a */ F(62), F(62), F(62), F(62), F(62), F(62), F(62), F(62), 0xFF, 0x00,
|
||||
@ -714,14 +714,14 @@ keymap_t key_map = { 0xEC, /* keys number */
|
||||
/* sc=49 */ F(51), '9', '9', '9', SET8|'9', SET8|'9', SET8|'9', SET8|'9', 0x80, 0x02,
|
||||
/* sc=4a */ F(52), '-', '-', '-', SET8|'-', SET8|'-', SET8|'-', SET8|'-', 0x80, 0x02,
|
||||
/* sc=4b */ F(53), '4', '4', '4', SET8|'4', SET8|'4', SET8|'4', SET8|'4', 0x80, 0x02,
|
||||
/* sc=4c */ F(65), '5', '5', '5', SET8|'5', SET8|'5', SET8|'5', SET8|'5', 0x80, 0x02,
|
||||
/* sc=4c */ F(54), '5', '5', '5', SET8|'5', SET8|'5', SET8|'5', SET8|'5', 0x80, 0x02,
|
||||
/* sc=4d */ F(55), '6', '6', '6', SET8|'6', SET8|'6', SET8|'6', SET8|'6', 0x80, 0x02,
|
||||
/* sc=4e */ F(56), '+', '+', '+', SET8|'+', SET8|'+', SET8|'+', SET8|'+', 0x80, 0x02,
|
||||
/* sc=4f */ F(57), '1', '1', '1', SET8|'1', SET8|'1', SET8|'1', SET8|'1', 0x80, 0x02,
|
||||
/* sc=50 */ F(58), '2', '2', '2', SET8|'2', SET8|'2', SET8|'2', SET8|'2', 0x80, 0x02,
|
||||
/* sc=51 */ F(59), '3', '3', '3', SET8|'3', SET8|'3', SET8|'3', SET8|'3', 0x80, 0x02,
|
||||
/* sc=52 */ F(60), '0', '0', '0', SET8|'0', SET8|'0', SET8|'0', SET8|'0', 0x80, 0x02,
|
||||
/* sc=53 */ F(54), '.', 0x7F, 0x7F, SET8|0x7F, SET8|0x7F, RBT, RBT, 0x83, 0x02,
|
||||
/* sc=53 */ 0x7F, '.', '.', '.', SET8|'.', SET8|'.', RBT, RBT, 0x03, 0x02,
|
||||
/* sc=54 */ ALK, ALK, ALK, ALK, ALK, ALK, ALK, ALK, 0xFF, 0x00,
|
||||
/* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
/* sc=56 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
@ -741,7 +741,7 @@ keymap_t key_map = { 0xEC, /* keys number */
|
||||
/* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00,
|
||||
/* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00,
|
||||
/* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00,
|
||||
/* sc=67 */ F(54), F(54), 0x7F, 0x7F, SET8|0x7F, SET8|0x7F, RBT, SET8|0x7F, 0xC2, 0x00,
|
||||
/* sc=67 */ 0x7F, 0x7F, 0x7F, 0x7F, SET8|0x7F, SET8|0x7F, RBT, SET8|0x7F, 0xC2, 0x00,
|
||||
/* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00,
|
||||
/* sc=69 */ F(61), F(61), F(61), F(61), F(61), F(61), F(61), F(61), 0xFF, 0x00,
|
||||
/* sc=6a */ F(62), F(62), F(62), F(62), F(62), F(62), F(62), F(62), 0xFF, 0x00,
|
||||
@ -833,14 +833,14 @@ keymap_t key_map = { 0x6C, /* US iso8859 keymap */
|
||||
/* sc=49 */ F(51), '9', '9', '9', '9', '9', '9', '9', 0x80, 0x02,
|
||||
/* sc=4a */ F(52), '-', '-', '-', '-', '-', '-', '-', 0x80, 0x02,
|
||||
/* sc=4b */ F(53), '4', '4', '4', '4', '4', '4', '4', 0x80, 0x02,
|
||||
/* sc=4c */ F(65), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02,
|
||||
/* sc=4c */ F(54), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02,
|
||||
/* sc=4d */ F(55), '6', '6', '6', '6', '6', '6', '6', 0x80, 0x02,
|
||||
/* sc=4e */ F(56), '+', '+', '+', '+', '+', '+', '+', 0x80, 0x02,
|
||||
/* sc=4f */ F(57), '1', '1', '1', '1', '1', '1', '1', 0x80, 0x02,
|
||||
/* sc=50 */ F(58), '2', '2', '2', '2', '2', '2', '2', 0x80, 0x02,
|
||||
/* sc=51 */ F(59), '3', '3', '3', '3', '3', '3', '3', 0x80, 0x02,
|
||||
/* sc=52 */ F(60), '0', '0', '0', '0', '0', '0', '0', 0x80, 0x02,
|
||||
/* sc=53 */ F(54), '.', 0x7F, 0x7F, 0x7F, 0x7F, RBT, RBT, 0x83, 0x02,
|
||||
/* sc=53 */ 0x7F, '.', '.', '.', '.', '.', RBT, '.', 0x02, 0x02,
|
||||
/* sc=54 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
/* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
/* sc=56 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00,
|
||||
@ -860,7 +860,7 @@ keymap_t key_map = { 0x6C, /* US iso8859 keymap */
|
||||
/* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00,
|
||||
/* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00,
|
||||
/* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00,
|
||||
/* sc=67 */ F(54), F(54), 0x7F, 0x7F, 0x7F, 0x7F, RBT, 0x7F, 0xC2, 0x00,
|
||||
/* sc=67 */ 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x00, 0x00,
|
||||
/* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00,
|
||||
/* sc=69 */ F(61), F(61), F(61), F(61), F(61), F(61), F(61), F(61), 0xFF, 0x00,
|
||||
/* sc=6a */ F(62), F(62), F(62), F(62), F(62), F(62), F(62), F(62), 0xFF, 0x00,
|
||||
@ -869,27 +869,29 @@ keymap_t key_map = { 0x6C, /* US iso8859 keymap */
|
||||
|
||||
#endif
|
||||
|
||||
fkeytab_t fkey_tab[NUM_FKEYS] = {
|
||||
/* F1 - F12 */
|
||||
/* 00-03 */ {"\033[M", 3}, {"\033[N", 3}, {"\033[O", 3}, {"\033[P", 3},
|
||||
/* 04-07 */ {"\033[Q", 3}, {"\033[R", 3}, {"\033[S", 3}, {"\033[T", 3},
|
||||
/* 08-0B */ {"\033[U", 3}, {"\033[V", 3}, {"\033[W", 3}, {"\033[X", 3},
|
||||
/* Shift F1 - F12 */
|
||||
/* 0C-0F */ {"\033[m", 3}, {"\033[n", 3}, {"\033[o", 3}, {"\033[p", 3},
|
||||
/* 10-13 */ {"\033[q", 3}, {"\033[r", 3}, {"\033[s", 3}, {"\033[t", 3},
|
||||
/* 14-17 */ {"\033[u", 3}, {"\033[v", 3}, {"\033[w", 3}, {"\033[x", 3},
|
||||
/* Ctrl F1 - F12 */
|
||||
/* 18-1B */ {"\033[\315", 3}, {"\033[\316", 3}, {"\033[\317", 3}, {"\033[\320", 3},
|
||||
/* 1C-1F */ {"\033[\321", 3}, {"\033[\322", 3}, {"\033[\323", 3}, {"\033[\324", 3},
|
||||
/* 20-23 */ {"\033[\325", 3}, {"\033[\326", 3}, {"\033[\327", 3}, {"\033[\330", 3},
|
||||
/* Ctrl+Shift F1 - F12 */
|
||||
/* 24-27 */ {"\033[\355", 3}, {"\033[\356", 3}, {"\033[\357", 3}, {"\033[\360", 3},
|
||||
/* 28-2B */ {"\033[\361", 3}, {"\033[\362", 3}, {"\033[\363", 3}, {"\033[\364", 3},
|
||||
/* 2C-2F */ {"\033[\365", 3}, {"\033[\366", 3}, {"\033[\367", 3}, {"\033[\370", 3},
|
||||
/* Others */
|
||||
/* 30-33 */ {"\033[H", 3}, {"\033[A", 3}, {"\033[I", 3}, {"\033[J", 3},
|
||||
/* 34-37 */ {"\033[D", 3}, {"\033[K", 3}, {"\033[C", 3}, {"\033[Y", 3},
|
||||
/* 38-3B */ {"\033[F", 3}, {"\033[B", 3}, {"\033[G", 3}, {"\033[L", 3},
|
||||
/* 3C-3B */ {"\033[@", 3}, {"\033[y", 3}, {"\033[z", 3}, {"\033[Z", 3},
|
||||
/* 3D */ {"\033[E", 3}
|
||||
fkeytab_t fkey_tab[96] = {
|
||||
/* 01-04 */ {"\033[M", 3}, {"\033[N", 3}, {"\033[O", 3}, {"\033[P", 3},
|
||||
/* 05-08 */ {"\033[Q", 3}, {"\033[R", 3}, {"\033[S", 3}, {"\033[T", 3},
|
||||
/* 09-12 */ {"\033[U", 3}, {"\033[V", 3}, {"\033[W", 3}, {"\033[X", 3},
|
||||
/* 13-16 */ {"\033[Y", 3}, {"\033[Z", 3}, {"\033[a", 3}, {"\033[b", 3},
|
||||
/* 17-20 */ {"\033[c", 3}, {"\033[d", 3}, {"\033[e", 3}, {"\033[f", 3},
|
||||
/* 21-24 */ {"\033[g", 3}, {"\033[h", 3}, {"\033[i", 3}, {"\033[j", 3},
|
||||
/* 25-28 */ {"\033[k", 3}, {"\033[l", 3}, {"\033[m", 3}, {"\033[n", 3},
|
||||
/* 29-32 */ {"\033[o", 3}, {"\033[p", 3}, {"\033[q", 3}, {"\033[r", 3},
|
||||
/* 33-36 */ {"\033[s", 3}, {"\033[t", 3}, {"\033[u", 3}, {"\033[v", 3},
|
||||
/* 37-40 */ {"\033[w", 3}, {"\033[x", 3}, {"\033[y", 3}, {"\033[z", 3},
|
||||
/* 41-44 */ {"\033[@", 3}, {"\033[[", 3}, {"\033[\\",3}, {"\033[]", 3},
|
||||
/* 45-48 */ {"\033[^", 3}, {"\033[_", 3}, {"\033[`", 3}, {"\033[{", 3},
|
||||
/* 49-52 */ {"\033[H", 3}, {"\033[A", 3}, {"\033[I", 3}, {"-" , 1},
|
||||
/* 53-56 */ {"\033[D", 3}, {"\033[E", 3}, {"\033[C", 3}, {"+" , 1},
|
||||
/* 57-60 */ {"\033[F", 3}, {"\033[B", 3}, {"\033[G", 3}, {"\033[L", 3},
|
||||
/* 61-64 */ {"\033[J", 3}, {"\033[K", 3}, {"\033[}", 3}, {"", 0} ,
|
||||
/* 65-68 */ {"", 0} , {"", 0} , {"", 0} , {"", 0} ,
|
||||
/* 69-72 */ {"", 0} , {"", 0} , {"", 0} , {"", 0} ,
|
||||
/* 73-76 */ {"", 0} , {"", 0} , {"", 0} , {"", 0} ,
|
||||
/* 77-80 */ {"", 0} , {"", 0} , {"", 0} , {"", 0} ,
|
||||
/* 81-84 */ {"", 0} , {"", 0} , {"", 0} , {"", 0} ,
|
||||
/* 85-88 */ {"", 0} , {"", 0} , {"", 0} , {"", 0} ,
|
||||
/* 89-92 */ {"", 0} , {"", 0} , {"", 0} , {"", 0} ,
|
||||
/* 93-96 */ {"", 0} , {"", 0} , {"", 0} , {"", 0}
|
||||
};
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -6,7 +6,8 @@
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* notice, this list of conditions and the following disclaimer,
|
||||
* in this position and unchanged.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
@ -24,7 +25,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: kbdcontrol.c,v 1.2 1994/10/25 20:50:41 swallace Exp $
|
||||
* $Id: kbdcontrol.c,v 1.3 1995/01/12 11:44:42 sos Exp $
|
||||
*/
|
||||
|
||||
#include <ctype.h>
|
||||
@ -41,22 +42,31 @@ char ctrl_names[32][4] = {
|
||||
"can", "em ", "sub", "esc", "fs ", "gs ", "rs ", "ns "
|
||||
};
|
||||
|
||||
char fkey_table[60][MAXFK] = {
|
||||
/* 00-03 */ "\033[M", "\033[N", "\033[O", "\033[P",
|
||||
/* 04-07 */ "\033[Q", "\033[R", "\033[S", "\033[T",
|
||||
/* 08-0B */ "\033[U", "\033[V", "\033[W", "\033[X",
|
||||
/* 0C-0F */ "\033[W", "\033[X", "\033[Y", "\033[Z",
|
||||
/* 10-13 */ "\033[a", "\033[b", "\033[c", "\033[d",
|
||||
/* 14-17 */ "\033[e", "\033[f", "\033[g", "\033[h",
|
||||
/* 18-1B */ "\033[g", "\033[h", "\033[i", "\033[j",
|
||||
/* 1C-1F */ "\033[k", "\033[l", "\033[m", "\033[n",
|
||||
/* 20-23 */ "\033[o", "\033[p", "\033[q", "\033[r",
|
||||
/* 24-27 */ "\033[g", "\033[h", "\033[i", "\033[j",
|
||||
/* 28-2B */ "\033[k", "\033[l", "\033[m", "\033[n",
|
||||
/* 2C-2F */ "\033[o", "\033[p", "\033[q", "\033[r",
|
||||
/* 30-33 */ "\033[H", "\033[A", "\033[I", "-" ,
|
||||
/* 34-37 */ "\033[D", "\177" , "\033[C", "+" ,
|
||||
/* 38-3B */ "\033[F", "\033[B", "\033[G", "\033[L"
|
||||
char fkey_table[96][MAXFK] = {
|
||||
/* 01-04 */ "\033[M", "\033[N", "\033[O", "\033[P",
|
||||
/* 05-08 */ "\033[Q", "\033[R", "\033[S", "\033[T",
|
||||
/* 09-12 */ "\033[U", "\033[V", "\033[W", "\033[X",
|
||||
/* 13-16 */ "\033[Y", "\033[Z", "\033[a", "\033[b",
|
||||
/* 17-20 */ "\033[c", "\033[d", "\033[e", "\033[f",
|
||||
/* 21-24 */ "\033[g", "\033[h", "\033[i", "\033[j",
|
||||
/* 25-28 */ "\033[k", "\033[l", "\033[m", "\033[n",
|
||||
/* 29-32 */ "\033[o", "\033[p", "\033[q", "\033[r",
|
||||
/* 33-36 */ "\033[s", "\033[t", "\033[u", "\033[v",
|
||||
/* 37-40 */ "\033[w", "\033[x", "\033[y", "\033[z",
|
||||
/* 41-44 */ "\033[@", "\033[[", "\033[\\","\033[]",
|
||||
/* 45-48 */ "\033[^", "\033[_", "\033[`", "\033[",
|
||||
/* 49-52 */ "\033[H", "\033[A", "\033[I", "-" ,
|
||||
/* 53-56 */ "\033[D", "\033[E", "\033[C", "+" ,
|
||||
/* 57-60 */ "\033[F", "\033[B", "\033[G", "\033[L",
|
||||
/* 61-64 */ "\033[J", "\033[K", "\033[}", "" ,
|
||||
/* 65-68 */ "" , "" , "" , "" ,
|
||||
/* 69-72 */ "" , "" , "" , "" ,
|
||||
/* 73-76 */ "" , "" , "" , "" ,
|
||||
/* 77-80 */ "" , "" , "" , "" ,
|
||||
/* 81-84 */ "" , "" , "" , "" ,
|
||||
/* 85-88 */ "" , "" , "" , "" ,
|
||||
/* 89-92 */ "" , "" , "" , "" ,
|
||||
/* 93-96 */ "" , "" , "" , "" ,
|
||||
};
|
||||
|
||||
const int delays[] = {250, 500, 750, 1000};
|
||||
@ -147,6 +157,8 @@ get_entry()
|
||||
return RBT | 0x100;
|
||||
case TDBG:
|
||||
return DBG | 0x100;
|
||||
case TSUSP:
|
||||
return SUSP | 0x100;
|
||||
case TFUNC:
|
||||
if (F(number) > L_FN)
|
||||
return -1;
|
||||
|
@ -1,12 +1,13 @@
|
||||
/*-
|
||||
* Copyright (c) 1994 Søren Schmidt
|
||||
* Copyright (c) 1994-1995 Søren Schmidt
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* notice, this list of conditions and the following disclaimer,
|
||||
* in this position and unchanged.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
@ -24,7 +25,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: lex.h,v 1.1 1994/05/20 12:18:06 sos Exp $
|
||||
* $Id: lex.h,v 1.1 1994/08/17 08:59:35 sos Exp $
|
||||
*/
|
||||
|
||||
#define TNOP 256
|
||||
@ -49,6 +50,7 @@
|
||||
#define TNUM 275
|
||||
#define TFLAG 276
|
||||
#define TBTAB 277
|
||||
#define TSUSP 278
|
||||
|
||||
extern int number;
|
||||
extern char letter;
|
||||
|
@ -1,12 +1,13 @@
|
||||
/*-
|
||||
* Copyright (c) 1994 Søren Schmidt
|
||||
* Copyright (c) 1994-1995 Søren Schmidt
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* notice, this list of conditions and the following disclaimer,
|
||||
* in this position and unchanged.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
@ -24,7 +25,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: lex.l,v 1.1 1994/05/20 12:18:08 sos Exp $
|
||||
* $Id: lex.l,v 1.1 1994/08/17 08:59:36 sos Exp $
|
||||
*/
|
||||
|
||||
%{
|
||||
@ -57,6 +58,7 @@ ashift { return TASH; }
|
||||
meta { return TMETA; }
|
||||
boot { return TRBT; }
|
||||
debug { return TDBG; }
|
||||
susp { return TSUSP; }
|
||||
|
||||
NUL|nul { number = 0; return TNUM; }
|
||||
SOH|soh { number = 1; return TNUM; }
|
||||
|
@ -6,7 +6,8 @@
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* notice, this list of conditions and the following disclaimer,
|
||||
* in this position and unchanged.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
@ -24,7 +25,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: decode.c,v 1.1 1994/05/20 12:20:37 sos Exp $
|
||||
* $Id: decode.c,v 1.1 1994/08/17 09:00:09 sos Exp $
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -6,7 +6,8 @@
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* notice, this list of conditions and the following disclaimer,
|
||||
* in this position and unchanged.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
@ -24,7 +25,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: vidcontrol.c,v 1.3 1994/09/26 20:20:44 ache Exp $
|
||||
* $Id: vidcontrol.c,v 1.4 1995/01/12 11:43:52 sos Exp $
|
||||
*/
|
||||
|
||||
#include <ctype.h>
|
||||
|
Loading…
Reference in New Issue
Block a user