more cyrillic encodings; support selection via numpad

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4590 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2002-07-10 14:23:24 +00:00
parent 1db2de6e8c
commit c3f594ced8
10 changed files with 531 additions and 0 deletions

View File

@ -1,3 +1,16 @@
2002-07-10 Andrew Zabolotny <zap@cobra.ru>
* bind/emacs.bind:
* bind/xemacs.bind:
* bind/sciword.bind:
* bind/cua.bind: better support for selection from numeric keypad
* kbd/cp1251.cdef:
* kbd/ibm866.cdef:
* kbd/koi8-r.cdef:
* kbd/koi8-t.cdef:
* kbd/koi8-u.cdef: new encoding definitions
2002-07-10 John Levon <moz@compsoc.man.ac.uk>
* bind/sciword.bind: disable M-x c to allow M-x

View File

@ -123,6 +123,32 @@
\bind "C-Insert" "copy"
\bind "S-Insert" "paste"
\bind "S-Delete" "cut"
# Numeric keypad (if Shift+KP_XXX does not switch the NumLock state)
\bind "S-KP_Right" "forward-select"
\bind "S-KP_Left" "backward-select"
\bind "S-KP_Up" "up-select"
\bind "S-KP_Down" "down-select"
\bind "S-C-KP_Right" "word-forward-select"
\bind "S-C-KP_Left" "word-backward-select"
\bind "S-C-KP_Up" "paragraph-up-select"
\bind "S-C-KP_Down" "paragraph-down-select"
\bind "S-KP_Home" "line-begin-select"
\bind "S-KP_End" "line-end-select"
\bind "S-KP_Prior" "screen-up-select"
\bind "S-KP_Next" "screen-down-select"
\bind "S-C-KP_Home" "buffer-begin-select"
\bind "S-C-KP_End" "buffer-end-select"
\bind "S-C-KP_Prior" "buffer-begin-select"
\bind "S-C-KP_Next" "buffer-end-select"
\bind "C-KP_Insert" "copy"
\bind "S-KP_Insert" "paste"
\bind "S-KP_Delete" "cut"
#
# bookmarks
#
\bind "C-~S-1" "bookmark-goto 1"
\bind "C-~S-2" "bookmark-goto 2"
\bind "C-~S-3" "bookmark-goto 3"

View File

@ -179,6 +179,27 @@
\bind "S-C-Home" "buffer-begin-select"
\bind "S-C-End" "buffer-end-select"
# Numeric keypad (if Shift+KP_XXX does not switch the NumLock state)
\bind "S-KP_Right" "forward-select"
\bind "S-KP_Left" "backward-select"
\bind "S-KP_Up" "up-select"
\bind "S-KP_Down" "down-select"
\bind "S-C-KP_Right" "word-forward-select"
\bind "S-C-KP_Left" "word-backward-select"
\bind "S-C-KP_Up" "paragraph-up-select"
\bind "S-C-KP_Down" "paragraph-down-select"
\bind "S-KP_Home" "line-begin-select"
\bind "S-KP_End" "line-end-select"
\bind "S-KP_Prior" "screen-up-select"
\bind "S-KP_Next" "screen-down-select"
\bind "S-C-KP_Home" "buffer-begin-select"
\bind "S-C-KP_End" "buffer-end-select"
\bind "S-C-KP_Prior" "buffer-begin-select"
\bind "S-C-KP_Next" "buffer-end-select"
\bind "C-KP_Insert" "copy"
\bind "S-KP_Insert" "paste"
\bind "S-KP_Delete" "cut"
#
# Edit group

View File

@ -212,6 +212,27 @@
\bind "S-Insert" "paste"
\bind "S-Delete" "cut"
# Numeric keypad (if Shift+KP_XXX does not switch the NumLock state)
\bind "S-KP_Right" "forward-select"
\bind "S-KP_Left" "backward-select"
\bind "S-KP_Up" "up-select"
\bind "S-KP_Down" "down-select"
\bind "S-C-KP_Right" "word-forward-select"
\bind "S-C-KP_Left" "word-backward-select"
\bind "S-C-KP_Up" "paragraph-up-select"
\bind "S-C-KP_Down" "paragraph-down-select"
\bind "S-KP_Home" "line-begin-select"
\bind "S-KP_End" "line-end-select"
\bind "S-KP_Prior" "screen-up-select"
\bind "S-KP_Next" "screen-down-select"
\bind "S-C-KP_Home" "buffer-begin-select"
\bind "S-C-KP_End" "buffer-end-select"
\bind "S-C-KP_Prior" "buffer-begin-select"
\bind "S-C-KP_Next" "buffer-end-select"
\bind "C-KP_Insert" "copy"
\bind "S-KP_Insert" "paste"
\bind "S-KP_Delete" "cut"
#
# Edit group
#

View File

@ -188,6 +188,27 @@
\bind "S-C-Home" "buffer-begin-select"
\bind "S-C-End" "buffer-end-select"
# Numeric keypad (if Shift+KP_XXX does not switch the NumLock state)
\bind "S-KP_Right" "forward-select"
\bind "S-KP_Left" "backward-select"
\bind "S-KP_Up" "up-select"
\bind "S-KP_Down" "down-select"
\bind "S-C-KP_Right" "word-forward-select"
\bind "S-C-KP_Left" "word-backward-select"
\bind "S-C-KP_Up" "paragraph-up-select"
\bind "S-C-KP_Down" "paragraph-down-select"
\bind "S-KP_Home" "line-begin-select"
\bind "S-KP_End" "line-end-select"
\bind "S-KP_Prior" "screen-up-select"
\bind "S-KP_Next" "screen-down-select"
\bind "S-C-KP_Home" "buffer-begin-select"
\bind "S-C-KP_End" "buffer-end-select"
\bind "S-C-KP_Prior" "buffer-begin-select"
\bind "S-C-KP_Next" "buffer-end-select"
\bind "C-KP_Insert" "copy"
\bind "S-KP_Insert" "paste"
\bind "S-KP_Delete" "cut"
#
# Edit group

103
lib/kbd/cp1251.cdef Normal file
View File

@ -0,0 +1,103 @@
#
# Character definition file for CP1251 character set
#
# Automatically converted from /usr/share/i18n/*
# with a simple script written by Andrew Zabolotny.
#
# CP1251 is the encoding for Cyrillic letters used in Windows
#
128 "€"
129 "<22>"
131 "ƒ"
138 "Š"
140 "Œ"
141 "<22>"
142 "Ž"
143 "<22>"
144 "<22>"
154 "š"
156 "œ"
157 "<22>"
158 "ž"
159 "Ÿ"
161 "¡"
162 "¢"
163 "£"
165 "¥"
168 "¨"
170 "ª"
175 "¯"
178 "²"
179 "³"
180 "´"
184 "¸"
186 "º"
188 "¼"
189 "½"
190 "¾"
191 "¿"
192 "À"
193 "Á"
194 "Â"
195 "Ã"
196 "Ä"
197 "Å"
198 "Æ"
199 "Ç"
200 "È"
201 "É"
202 "Ê"
203 "Ë"
204 "Ì"
205 "Í"
206 "Î"
207 "Ï"
208 "Ð"
209 "Ñ"
210 "Ò"
211 "Ó"
212 "Ô"
213 "Õ"
214 "Ö"
215 "×"
216 "Ø"
217 "Ù"
218 "Ú"
219 "Û"
220 "Ü"
221 "Ý"
222 "Þ"
223 "ß"
224 "à"
225 "á"
226 "â"
227 "ã"
228 "ä"
229 "å"
230 "æ"
231 "ç"
232 "è"
233 "é"
234 "ê"
235 "ë"
236 "ì"
237 "í"
238 "î"
239 "ï"
240 "ð"
241 "ñ"
242 "ò"
243 "ó"
244 "ô"
245 "õ"
246 "ö"
247 "÷"
248 "ø"
249 "ù"
250 "ú"
251 "û"
252 "ü"
253 "ý"
254 "þ"
255 "ÿ"

81
lib/kbd/ibm866.cdef Normal file
View File

@ -0,0 +1,81 @@
#
# Character definition file for IBM866 character set
#
# Automatically converted from /usr/share/i18n/*
# with a simple script written by Andrew Zabolotny.
#
# IBM866 is the encoding for Cyrillic letters used in MS-DOS
#
128 "€"
129 "<22>"
130 ""
131 "ƒ"
132 "„"
133 "…"
134 "†"
135 "‡"
136 "ˆ"
137 "‰"
138 "Š"
139 ""
140 "Œ"
141 "<22>"
142 "Ž"
143 "<22>"
144 "<22>"
145 ""
146 ""
147 "“"
148 "”"
149 "•"
150 ""
151 "—"
152 "˜"
153 "™"
154 "š"
155 ""
156 "œ"
157 "<22>"
158 "ž"
159 "Ÿ"
160 " "
161 "¡"
162 "¢"
163 "£"
164 "¤"
165 "¥"
166 "¦"
167 "§"
168 "¨"
169 "©"
170 "ª"
171 "«"
172 "¬"
173 "­"
174 "®"
175 "¯"
224 "à"
225 "á"
226 "â"
227 "ã"
228 "ä"
229 "å"
230 "æ"
231 "ç"
232 "è"
233 "é"
234 "ê"
235 "ë"
236 "ì"
237 "í"
238 "î"
239 "ï"
240 "ð"
241 "ñ"
242 "ò"
243 "ó"
244 "ô"
245 "õ"
246 "ö"
247 "÷"

76
lib/kbd/koi8-r.cdef Normal file
View File

@ -0,0 +1,76 @@
#
# Character definition file for KOI8-R character set
#
# Automatically converted from /usr/share/i18n/*
# with a simple script written by Andrew Zabolotny.
#
# KOI8-R is the encoding for Cyrillic letters
# used for Russian language in Unix
#
163 "£"
179 "³"
192 "À"
193 "Á"
194 "Â"
195 "Ã"
196 "Ä"
197 "Å"
198 "Æ"
199 "Ç"
200 "È"
201 "É"
202 "Ê"
203 "Ë"
204 "Ì"
205 "Í"
206 "Î"
207 "Ï"
208 "Ð"
209 "Ñ"
210 "Ò"
211 "Ó"
212 "Ô"
213 "Õ"
214 "Ö"
215 "×"
216 "Ø"
217 "Ù"
218 "Ú"
219 "Û"
220 "Ü"
221 "Ý"
222 "Þ"
223 "ß"
224 "à"
225 "á"
226 "â"
227 "ã"
228 "ä"
229 "å"
230 "æ"
231 "ç"
232 "è"
233 "é"
234 "ê"
235 "ë"
236 "ì"
237 "í"
238 "î"
239 "ï"
240 "ð"
241 "ñ"
242 "ò"
243 "ó"
244 "ô"
245 "õ"
246 "ö"
247 "÷"
248 "ø"
249 "ù"
250 "ú"
251 "û"
252 "ü"
253 "ý"
254 "þ"
255 "ÿ"

85
lib/kbd/koi8-t.cdef Normal file
View File

@ -0,0 +1,85 @@
#
# Character definition file for KOI8-T character set
#
# Automatically converted from /usr/share/i18n/*
# with a simple script written by Andrew Zabolotny.
#
128 "€"
129 "<22>"
131 "ƒ"
138 "Š"
140 "Œ"
141 "<22>"
142 "Ž"
144 "<22>"
161 "¡"
162 "¢"
163 "£"
165 "¥"
179 "³"
181 "µ"
192 "À"
193 "Á"
194 "Â"
195 "Ã"
196 "Ä"
197 "Å"
198 "Æ"
199 "Ç"
200 "È"
201 "É"
202 "Ê"
203 "Ë"
204 "Ì"
205 "Í"
206 "Î"
207 "Ï"
208 "Ð"
209 "Ñ"
210 "Ò"
211 "Ó"
212 "Ô"
213 "Õ"
214 "Ö"
215 "×"
216 "Ø"
217 "Ù"
218 "Ú"
219 "Û"
220 "Ü"
221 "Ý"
222 "Þ"
223 "ß"
224 "à"
225 "á"
226 "â"
227 "ã"
228 "ä"
229 "å"
230 "æ"
231 "ç"
232 "è"
233 "é"
234 "ê"
235 "ë"
236 "ì"
237 "í"
238 "î"
239 "ï"
240 "ð"
241 "ñ"
242 "ò"
243 "ó"
244 "ô"
245 "õ"
246 "ö"
247 "÷"
248 "ø"
249 "ù"
250 "ú"
251 "û"
252 "ü"
253 "ý"
254 "þ"
255 "ÿ"

84
lib/kbd/koi8-u.cdef Normal file
View File

@ -0,0 +1,84 @@
#
# Character definition file for KOI8-U character set
#
# Automatically converted from /usr/share/i18n/*
# with a simple script written by Andrew Zabolotny.
#
# KOI8-U is the encoding for Cyrillic letters
# used for Ukrainian language in Unix
#
163 "£"
164 "¤"
166 "¦"
167 "§"
173 "­"
179 "³"
180 "´"
182 "¶"
183 "·"
189 "½"
192 "À"
193 "Á"
194 "Â"
195 "Ã"
196 "Ä"
197 "Å"
198 "Æ"
199 "Ç"
200 "È"
201 "É"
202 "Ê"
203 "Ë"
204 "Ì"
205 "Í"
206 "Î"
207 "Ï"
208 "Ð"
209 "Ñ"
210 "Ò"
211 "Ó"
212 "Ô"
213 "Õ"
214 "Ö"
215 "×"
216 "Ø"
217 "Ù"
218 "Ú"
219 "Û"
220 "Ü"
221 "Ý"
222 "Þ"
223 "ß"
224 "à"
225 "á"
226 "â"
227 "ã"
228 "ä"
229 "å"
230 "æ"
231 "ç"
232 "è"
233 "é"
234 "ê"
235 "ë"
236 "ì"
237 "í"
238 "î"
239 "ï"
240 "ð"
241 "ñ"
242 "ò"
243 "ó"
244 "ô"
245 "õ"
246 "ö"
247 "÷"
248 "ø"
249 "ù"
250 "ú"
251 "û"
252 "ü"
253 "ý"
254 "þ"
255 "ÿ"