1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

Teach pine/pico about End key

Set proper directory for pico mail check
Trust termcap more then built-in defaults
This commit is contained in:
Andrey A. Chernov 1998-01-29 19:53:08 +00:00
parent 587c07e3f0
commit d6d8b0d5b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=9514
2 changed files with 52 additions and 0 deletions

32
mail/pine4/files/patch-an Normal file
View File

@ -0,0 +1,32 @@
*** pico/os_unix.h.orig Thu Jun 13 00:47:23 1996
--- pico/os_unix.h Thu Jan 29 21:29:51 1998
***************
*** 122,133 ****
/*
* Place where mail gets delivered (for pico's new mail checking)
*/
#if defined(sv3) || defined(ct) || defined(isc) || defined(AUX) || defined(sgi)
#define MAILDIR "/usr/mail"
#else
#define MAILDIR "/usr/spool/mail"
#endif
!
/*
* What and where the tool that checks spelling is located. If this is
--- 122,136 ----
/*
* Place where mail gets delivered (for pico's new mail checking)
*/
+ #ifdef __FreeBSD__
+ #define MAILDIR "/var/mail"
+ #else
#if defined(sv3) || defined(ct) || defined(isc) || defined(AUX) || defined(sgi)
#define MAILDIR "/usr/mail"
#else
#define MAILDIR "/usr/spool/mail"
#endif
! #endif
/*
* What and where the tool that checks spelling is located. If this is

20
mail/pine4/files/patch-ap Normal file
View File

@ -0,0 +1,20 @@
*** pine/ttyout.c.bak Thu Jul 11 05:45:56 1996
--- pine/ttyout.c Thu Jan 29 22:17:48 1998
***************
*** 289,295 ****
_kppu = tgetstr("kP", &ptr);
_kppd = tgetstr("kN", &ptr);
_kphome = tgetstr("kh", &ptr);
! _kpend = tgetstr("kE", &ptr);
_kpdel = tgetstr("kD", &ptr);
_kf1 = tgetstr("k1", &ptr);
_kf2 = tgetstr("k2", &ptr);
--- 289,296 ----
_kppu = tgetstr("kP", &ptr);
_kppd = tgetstr("kN", &ptr);
_kphome = tgetstr("kh", &ptr);
! if((_kpend = tgetstr("@7", &ptr)) == NULL)
! _kpend = tgetstr("kE", &ptr);
_kpdel = tgetstr("kD", &ptr);
_kf1 = tgetstr("k1", &ptr);
_kf2 = tgetstr("k2", &ptr);