home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.eri.u-tokyo.ac.jp
/
2014.03.ftp.eri.u-tokyo.ac.jp.zip
/
ftp.eri.u-tokyo.ac.jp
/
pub
/
seisv
/
src
/
3.02a
/
ctlname.h
< prev
next >
Wrap
Text File
|
2000-04-23
|
2KB
|
85 lines
/* Mnemonics */
#define nul 0x00
#define soh 0x01
#define stx 0x02
#define etx 0x03
#define eot 0x04
#define enq 0x05
#define bel 0x07
#define bs 0x08
#define ht 0x09
#define lf 0x0a
/*#define vt 0x0b*/
#define ff 0x0c
#define cr 0x0d
#define so 0x0e
/*#define si 0x0f*/
#define dc1 0x11
#define dc2 0x12
#define ins 0x12
#define dc3 0x13
#define syn 0x16
#define can 0x18
#define em 0x19
#define sub 0x1a
#define esc 0x1b
#define gs 0x1d
#define rs 0x1e
#define us 0x1f
#define del 0x7f
/* Control codes */
#define CtlA 0x01
#define CtlB 0x02
#define CtlC 0x03
#define CtlD 0x04
#define CtlE 0x05
#define CtlF 0x06
#define CtlG 0x07
#define CtlH 0x08
#define CtlI 0x09
#define CtlJ 0x0a
#define CtlK 0x0b
#define CtlL 0x0c
/* Assign this for distinguishing CtlM from cr.*/
#define CtlM 0x10d
#define CtlN 0x0e
#define CtlO 0x0f
#define CtlP 0x10
#define CtlQ 0x11
#define CtlR 0x12
#define CtlS 0x13
#define CtlT 0x14
#define CtlU 0x15
#define CtlV 0x16
#define CtlW 0x17
#define CtlX 0x18
#define CtlY 0x19
#define CtlZ 0x1a
/* key scan codes + 0x100 (IBM) */
#define Ctrl 0x11d
#define F1 0x13b
#define F2 0x13c
#define F3 0x13d
#define F4 0x13e
#define F5 0x13f
#define F6 0x140
#define F7 0x141
#define F8 0x142
#define F9 0x143
#define F10 0x144
#define F11 0x145
#define F12 0x146
#define Home 0x147
#define RIGHT 0x14d
#define LEFT 0x14b
#define UP 0x148
#define PgUp 0x149
#define End 0x14f
#define DOWN 0x150
#define PgDn 0x151
#define Ins 0x152
#define Del 0x153