[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[screen-devel] [patch] hpux support fix for screen-4.0.2
From: |
Jacques, Olivier \(OCBU-Test Infra\) |
Subject: |
[screen-devel] [patch] hpux support fix for screen-4.0.2 |
Date: |
Tue, 24 Jan 2006 15:30:57 +0100 |
Hello,
here is a (very small) patch for screen-4.0.2 to re-enable HPUX support
which seems to broke since HPUX 11.00.
The issue has been reported several times on the mailing list:
http://lists.gnu.org/archive/html/screen-users/2005-03/msg00044.html
http://lists.gnu.org/archive/html/screen-users/2005-08/msg00017.html
In case the patch doesn't go through well on the mailing list, it
consists of:
1. In "configure", line 1464, replace the code with:
int
main ()
{
tgetent((char *)0, (char *)0);
;
return 0;
}
2. In "termcap.c", in e_tgetent, line 1337, after r = tgetent(bp,
name);, add:
#ifdef hpux
/* on hpux - tgetent returns 0 if OK, -1 otherwise */
if (r == 0)
r=1;
else
r=0;
#endif
Tested OK on HPUX 11.23/IA64.
Best regards,
Olivier.
screen-4.0.2.hpux.diff
Description: screen-4.0.2.hpux.diff
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [screen-devel] [patch] hpux support fix for screen-4.0.2,
Jacques, Olivier \(OCBU-Test Infra\) <=