1 diff -ru ex-050325/ex_tty.c ex-050325-du/ex_tty.c
2 --- ex-050325/ex_tty.c 2005-03-04 13:42:58.000000000 +0100
3 +++ ex-050325-du/ex_tty.c 2009-06-25 20:06:57.000000000 +0200
5 &ED, &EI, &F0, &F1, &F2, &F3, &F4, &F5, &F6, &F7, &F8, &F9,
6 &HO, &IC, &IM, &IP, &KD, &KE, &KH, &KL, &KR, &KS, &KU, &LL, &ND, &xNL,
7 &xPC, &RC, &SC, &SE, &SF, &SO, &SR, &TA, &TE, &TI, &UP, &VB, &VS, &VE,
8 - &AL_PARM, &DL_PARM, &UP_PARM, &DOWN_PARM, &LEFT_PARM, &RIGHT_PARM
9 + &AL_PARM, &DL_PARM, &UP_PARM, &DOWN_PARM, &LEFT_PARM, &RIGHT_PARM,
10 + &kI, &kD, &kh, &at7, &kP, &kN
13 &AM, &BS, &DA, &DB, &EO, &HC,
15 addmac1(KD, "j", "down", arrows, 1);
16 addmac1(KL, "h", "left", arrows, 1);
17 addmac1(KR, "l", "right", arrows, 1);
18 - addmac1(KH, "H", "home", arrows, 1);
19 + addmac1(kI, "i", "insert", arrows, 1);
20 + addmac1(kD, "x", "delete", arrows, 1);
21 + addmac1(kh, "^", "home", arrows, 1);
22 + addmac1(at7, "$", "end", arrows, 1);
23 + addmac1(kP, "\x15", "pgup", arrows, 1);
24 + addmac1(kN, "\x04", "pgdn", arrows, 1);
27 * Handle funny termcap capabilities
32 - namp = "albcbtcdceclcmcrcsdcdldmdoedeik0k1k2k3k4k5k6k7k8k9hoicimipkdkekhklkrkskullndnlpcrcscsesfsosrtatetiupvbvsveALDLUPDOLERI";
33 + namp = "albcbtcdceclcmcrcsdcdldmdoedeik0k1k2k3k4k5k6k7k8k9hoicimipkdkekhklkrkskullndnlpcrcscsesfsosrtatetiupvbvsveALDLUPDOLERIkIkDkh@7kPkN";
36 string = tgetstr(namp, &aoftspace);
37 diff -ru ex-050325/ex_tty.h ex-050325-du/ex_tty.h
38 --- ex-050325/ex_tty.h 2004-12-01 19:21:06.000000000 +0100
39 +++ ex-050325-du/ex_tty.h 2009-06-25 20:06:05.000000000 +0200
41 var bool XX; /* Tektronix 4025 insert line */
42 /* X? is reserved for severely nauseous glitches */
43 /* If there are enough of these we may need bit masks! */
45 + * Insert, Delete, Home, End, PgUp an PgDown keys
55 * From the tty modes...