RESOURCES USED FOR THE GREEK XTERM (Under X11.R4)


! ! RESOURCES USED FOR THE GREEK XTERM (Under X11.R4) ! ! NOTE: This is useless with non latin-greek iso 8 bit fonts ! ! Initially written by Alexios Zavras ([email protected]) ! Modified by Manolis Tsangaris ([email protected]) ! Re-hacked by Alexios Zavras ([email protected]) ! Re-hacked by Christos Georgis ([email protected]) ! ! ! Definitions used in keyboard tables ! ! This file contains the appropriate resources as gterm resources. ! However, this prevents gterms from inheriting xterm's attributes. ! If you don't want this, then define gterm as nothing uncommenting ! the next line. ! #define gterm XTerm ! We use SUN as default. ! This distinction is done because of the fact that DecStations 3100 ! do not have Meta key (there is Alt instead). #ifndef SUN #define SUN #endif #ifdef MIPS #undef SUN #endif ! Comment out or change appropriately the next line, ! depending on your font configuration. ! gterm*font: sc-elot14 gterm*boldFont: sc-elot14b !******************************************************************** !===== You are not supposed to modify anything below this point ===== !******************************************************************** #define SHIFTED\ Shift

A : string(0xc1) \n\ ShiftB : string(0xc2) \n\ ShiftG : string(0xc3) \n\ ShiftD : string(0xc4) \n\ ShiftE : string(0xc5) \n\ ShiftZ : string(0xc6) \n\ ShiftH : string(0xc7) \n\ ShiftU : string(0xc8) \n\ ShiftI : string(0xc9) \n\ ShiftK : string(0xca) \n\ ShiftL : string(0xcb) \n\ ShiftM : string(0xcc) \n\ ShiftN : string(0xcd) \n\ ShiftJ : string(0xce) \n\ ShiftO : string(0xcf) \n\ ShiftP : string(0xd0) \n\ ShiftR : string(0xd1) \n\ ShiftS : string(0xd3) \n\ ShiftT : string(0xd4) \n\ ShiftY : string(0xd5) \n\ ShiftF : string(0xd6) \n\ ShiftX : string(0xd7) \n\ ShiftC : string(0xd8) \n\ ShiftV : string(0xd9) \n\ #define UNSHIFTED\ a : string(0xe1) \n\ b : string(0xe2) \n\ g : string(0xe3) \n\ d : string(0xe4) \n\ e : string(0xe5) \n\ z : string(0xe6) \n\ h : string(0xe7) \n\ u : string(0xe8) \n\ i : string(0xe9) \n\ k : string(0xea) \n\ l : string(0xeb) \n\ m : string(0xec) \n\ n : string(0xed) \n\ j : string(0xee) \n\ o : string(0xef) \n\ p : string(0xf0) \n\ r : string(0xf1) \n\ w : string(0xf2) \n\ s : string(0xf3) \n\ t : string(0xf4) \n\ y : string(0xf5) \n\ f : string(0xf6) \n\ x : string(0xf7) \n\ c : string(0xf8) \n\ v : string(0xf9) \n\ space : string(0x20) \n\ #define CONTROLS_NO_KEYMAP \ CtrlA : string(0x01) \n\ CtrlB : string(0x02) \n\ CtrlC : string(0x03) \n\ CtrlD : string(0x04) \n\ CtrlE : string(0x05) \n\ CtrlF : string(0x06) \n\ CtrlG : string(0x07) \n\ Ctrlh : string(0x08) \n\ CtrlI : string(0x09) \n\ CtrlJ : string(0x0a) \n\ CtrlK : string(0x0b) \n\ CtrlL : string(0x0c) \n\ CtrlM : string(0x0d) \n\ CtrlN : string(0x0e) \n\ CtrlO : string(0x0f) \n\ CtrlP : string(0x10) \n\ CtrlQ : string(0x11) \n\ CtrlR : string(0x12) \n\ CtrlS : string(0x13) \n\ CtrlT : string(0x14) \n\ CtrlU : string(0x15) \n\ CtrlV : string(0x16) \n\ CtrlW : string(0x17) \n\ CtrlX : string(0x18) \n\ CtrlY : string(0x19) \n\ CtrlZ : string(0x1a) \n\ #define CONTROLS_WITH_KEYMAP \ CtrlA : string(0x01) keymap(Greek) \n\ CtrlB : string(0x02) keymap(Greek) \n\ CtrlC : string(0x03) keymap(Greek) \n\ CtrlD : string(0x04) keymap(Greek) \n\ CtrlE : string(0x05) keymap(Greek) \n\ CtrlF : string(0x06) keymap(Greek) \n\ CtrlG : string(0x07) keymap(Greek) \n\ Ctrlh : string(0x08) keymap(Greek) \n\ CtrlI : string(0x09) keymap(Greek) \n\ CtrlJ : string(0x0a) keymap(Greek) \n\ CtrlK : string(0x0b) keymap(Greek) \n\ CtrlL : string(0x0c) keymap(Greek) \n\ CtrlM : string(0x0d) keymap(Greek) \n\ CtrlN : string(0x0e) keymap(Greek) \n\ CtrlO : string(0x0f) keymap(Greek) \n\ CtrlP : string(0x10) keymap(Greek) \n\ CtrlQ : string(0x11) keymap(Greek) \n\ CtrlR : string(0x12) keymap(Greek) \n\ CtrlS : string(0x13) keymap(Greek) \n\ CtrlT : string(0x14) keymap(Greek) \n\ CtrlU : string(0x15) keymap(Greek) \n\ CtrlV : string(0x16) keymap(Greek) \n\ CtrlW : string(0x17) keymap(Greek) \n\ CtrlX : string(0x18) keymap(Greek) \n\ CtrlY : string(0x19) keymap(Greek) \n\ CtrlZ : string(0x1a) keymap(Greek) \n\ ! ! Greek modified letters ! ! Use apostroph to enter accented mode ! Use double quote to enter umlauted mode ! #define ACCENT string(0x3b) #define UMLAUT string(0x3a) #define ACCENT_UMLAUT string(0x3b) string(0x3a) #define UMLAUT_ACCENT string(0x3a) string(0x3b) #define ACCENTED\ ShiftA : string(0xb6) keymap(Greek) \n\ ShiftE : string(0xb8) keymap(Greek) \n\ ShiftH : string(0xb9) keymap(Greek) \n\ ShiftI : string(0xba) keymap(Greek) \n\ ShiftO : string(0xbc) keymap(Greek) \n\ ShiftY : string(0xbe) keymap(Greek) \n\ ShiftV : string(0xbf) keymap(Greek) \n\ a : string(0xdc) keymap(Greek) \n\ e : string(0xdd) keymap(Greek) \n\ h : string(0xde) keymap(Greek) \n\ i : string(0xdf) keymap(Greek) \n\ o : string(0xfc) keymap(Greek) \n\ y : string(0xfd) keymap(Greek) \n\ v : string(0xfe) keymap(Greek) \n\ #define NON_ACCENTED(XL) \ ShiftB : XL string(0xc2) keymap(Greek) \n\ ShiftG : XL string(0xc3) keymap(Greek) \n\ ShiftD : XL string(0xc4) keymap(Greek) \n\ ShiftZ : XL string(0xc6) keymap(Greek) \n\ ShiftU : XL string(0xc8) keymap(Greek) \n\ ShiftK : XL string(0xca) keymap(Greek) \n\ ShiftL : XL string(0xcb) keymap(Greek) \n\ ShiftM : XL string(0xcc) keymap(Greek) \n\ ShiftN : XL string(0xcd) keymap(Greek) \n\ ShiftJ : XL string(0xce) keymap(Greek) \n\ ShiftP : XL string(0xd0) keymap(Greek) \n\ ShiftR : XL string(0xd1) keymap(Greek) \n\ ShiftS : XL string(0xd3) keymap(Greek) \n\ ShiftT : XL string(0xd4) keymap(Greek) \n\ ShiftF : XL string(0xd6) keymap(Greek) \n\ ShiftX : XL string(0xd7) keymap(Greek) \n\ ShiftC : XL string(0xd8) keymap(Greek) \n\ \ b : XL string(0xe2) keymap(Greek) \n\ g : XL string(0xe3) keymap(Greek) \n\ d : XL string(0xe4) keymap(Greek) \n\ z : XL string(0xe6) keymap(Greek) \n\ u : XL string(0xe8) keymap(Greek) \n\ k : XL string(0xea) keymap(Greek) \n\ l : XL string(0xeb) keymap(Greek) \n\ m : XL string(0xec) keymap(Greek) \n\ n : XL string(0xed) keymap(Greek) \n\ j : XL string(0xee) keymap(Greek) \n\ p : XL string(0xf0) keymap(Greek) \n\ r : XL string(0xf1) keymap(Greek) \n\ w : XL string(0xf2) keymap(Greek) \n\ s : XL string(0xf3) keymap(Greek) \n\ t : XL string(0xf4) keymap(Greek) \n\ f : XL string(0xf6) keymap(Greek) \n\ x : XL string(0xf7) keymap(Greek) \n\ c : XL string(0xf8) keymap(Greek) \n\ \ space : XL string(0x20) keymap(Greek) \n\ #define UMLAUTED\ ShiftI : string(0xda) keymap(Greek) \n\ ShiftY : string(0xdb) keymap(Greek) \n\ i : string(0xfa) keymap(Greek) \n\ y : string(0xfb) keymap(Greek) \n\ #define NON_UMLAUTED(XL) \ NON_ACCENTED(XL) \ ShiftA : XL string(0xc1) keymap(Greek) \n\ ShiftE : XL string(0xc5) keymap(Greek) \n\ ShiftH : XL string(0xc7) keymap(Greek) \n\ ShiftO : XL string(0xcf) keymap(Greek) \n\ ShiftV : XL string(0xd9) keymap(Greek) \n\ \ a : XL string(0xe1) keymap(Greek) \n\ e : XL string(0xe5) keymap(Greek) \n\ h : XL string(0xe7) keymap(Greek) \n\ o : XL string(0xef) keymap(Greek) \n\ v : XL string(0xf9) keymap(Greek) \n\ #define ACC_UMLAUTED \ i : string(0xc0) keymap(Greek) \n\ y : string(0xe0) keymap(Greek) \n\ ! ! The following define keystrokes that may cause ! state transition (i.e. keyboard state transition). ! #define KEY_ACCENT semicolon #define KEY_UMLAUT Shiftsemicolon #define KEY_SPACE F3 #ifdef MIPS #define KEY_PRESS Alt #endif #ifdef SUN #define KEY_PRESS Meta

#endif ! ! ! start of the gterm resources ! ! gterm*VT100.Translations: #override KEY_SPACE:keymap(Greek) gterm*VT100.GreekKeymap.translations: \ KEY_SPACE : keymap(None) \n \ KEY_UMLAUT : keymap(Greek_Umlaut) \n \ KEY_ACCENT : keymap(Greek_Accent) \n \ KEY_PRESS : insert-seven-bit() \n \ SHIFTED \ CONTROLS_NO_KEYMAP \ UNSHIFTED \ gterm*VT100.Greek_AccentKeymap.translations: \ KEY_SPACE : keymap(None) \n \ KEY_UMLAUT : keymap(Greek_Acc_Umlaut) \n \ KEY_ACCENT : ACCENT keymap(Greek) \n \ KEY_PRESS : insert-seven-bit() \n \ CONTROLS_WITH_KEYMAP \ ACCENTED \ NON_ACCENTED(bell()) \ gterm*VT100.Greek_UmlautKeymap.translations: \ KEY_SPACE : keymap(None) \n \ KEY_UMLAUT : UMLAUT keymap(Greek) \n \ KEY_ACCENT : keymap(Greek_Acc_Umlaut) \n \ KEY_PRESS : insert-seven-bit() \n \ CONTROLS_WITH_KEYMAP \ UMLAUTED \ NON_UMLAUTED(bell()) \ gterm*VT100.Greek_Acc_UmlautKeymap.translations: \ KEY_SPACE : keymap(None) \n \ KEY_UMLAUT : UMLAUT keymap(Greek) \n \ KEY_ACCENT : ACCENT keymap(Greek) \n \ KEY_PRESS : insert-seven-bit() \n \ CONTROLS_WITH_KEYMAP \ ACC_UMLAUTED \ NON_UMLAUTED(bell()) \

 



Back to Main Page