summaryrefslogtreecommitdiffstats
path: root/chinese/pine4/files/patch-ao
blob: ae0d6d6574cb16557bde8768e13d28105048fdec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
*** pico/tcap.c.bak	Fri Mar 15 10:42:31 1996
--- pico/tcap.c	Thu Jan 29 22:04:28 1998
***************
*** 322,328 ****
  	KPPU   = tgetstr("kP", &p);
  	KPPD   = tgetstr("kN", &p);
  	KPHOME = tgetstr("kh", &p);
! 	KPEND  = tgetstr("kE", &p);
  	KPDEL  = tgetstr("kD", &p);
  	KU     = tgetstr("ku", &p);
  	KD     = tgetstr("kd", &p);
--- 322,329 ----
  	KPPU   = tgetstr("kP", &p);
  	KPPD   = tgetstr("kN", &p);
  	KPHOME = tgetstr("kh", &p);
! 	if((KPEND = tgetstr("@7", &p)) == NULL)
! 	  KPEND  = tgetstr("kE", &p);
  	KPDEL  = tgetstr("kD", &p);
  	KU     = tgetstr("ku", &p);
  	KD     = tgetstr("kd", &p);
OpenPOWER on IntegriCloud