remove OSF1 support

This commit is contained in:
chase
2018-05-24 14:50:03 -05:00
committed by Jon Trulson
parent 3c1736f077
commit 164e695cd0
325 changed files with 290 additions and 9980 deletions

View File

@@ -70,12 +70,7 @@
#define F8_VT "\033[19~"
#define F9_VT "\033[20~"
#define F10_VT "\033[21~"
#ifdef __osf__
/* Temporary work around */
#define F11_VT "\033"
#else
#define F11_VT "\033[23~"
#endif /* __osf__ */
#define F12_VT "\033[24~"
#define F13_VT "\033[25~"
#define F14_VT "\033[26~"

View File

@@ -39,11 +39,6 @@ static char rcs_id[] = "$TOG: TermPrimPendingText.c /main/3 1997/07/03 15:40:05
#include "TermPrimDebug.h"
#include "TermPrimPendingTextP.h"
#ifdef __osf__
#include <termios.h>
#include <poll.h>
#endif /* __osf__ */
static
PendingTextChunk
mallocChunk(int len);

View File

@@ -85,11 +85,6 @@ static char rcs_id[] = "$TOG: TermPrimSetUtmp.c /main/10 1998/04/03 17:11:42 mgr
#define UT_NO_pututline
#endif /* __AIX */
#ifdef __osf__
#define UT_HOST ut_host
#define UT_NO_pututline
#endif /* __osf__ */
/* /etc/utmp include files... */
#ifdef UT_UTMPX
@@ -386,10 +381,10 @@ UtmpEntryCreate(Widget w, pid_t pid, char *utmpLine)
}
(void) strncpy(utPtr->ut_id, c, sizeof(utPtr->ut_id));
#else /* __hpux */
#if defined(__AIX) || defined(__osf__)
#if defined(__AIX)
(void) strncpy(utPtr->ut_id, utmpLine,
sizeof(utPtr->ut_id));
#else /* __AIX || __osf__ */
#else /* __AIX */
#if defined(linux) || defined(sun)
if (c = strchr(utmpLine, '/')) {
c++;
@@ -400,7 +395,7 @@ UtmpEntryCreate(Widget w, pid_t pid, char *utmpLine)
#else /* linux || sun */
error out -- missing code for utPtr->ut_id
#endif /* sun */
#endif /* __AIX || __osf__ */
#endif /* __AIX */
#endif /* __hpux */
}