Discontinue HPUX support

This commit is contained in:
Chase
2022-07-22 21:42:06 -05:00
committed by Jon Trulson
parent bd83b53d56
commit edf4319548
235 changed files with 198 additions and 6290 deletions

View File

@@ -91,16 +91,6 @@ extern char *_DtGetMessage(char *filename, int set, int n, char *s);
#endif
#endif /* sun */
#ifdef hpux
#define HIL_PC101_KBD 1
#define HIL_ITF_KBD 2
#define SERIAL_PC101_KBD 3
#define FIRST_HIL_KBD 0xC0
#define LAST_HIL_KBD 0xDF
#define LED_BITS 0x30
#define PS2_DIN_NAME "PS2_DIN_KEYBOARD"
#endif
#include <stdlib.h>
#define MEM 1
@@ -535,9 +525,6 @@ struct calcVars { /* Calctool variables and options. */
int funstate ; /* whether the last key pressed was a fin. func. key*/
int defState ; /* Set when calculator has just been cleared */
#ifdef hpux
int keybdID;
#endif
};
extern struct calcVars CalcVars;

View File

@@ -310,14 +310,7 @@ init_text(void) /* Setup text strings depending upon language. */
get_key_val(&buttons[i++].value, LGET(GETMESSAGE(3, 467, "\010"))) ;
/* del */
#ifdef hpux
if(v->keybdID == HIL_ITF_KBD)
get_key_val(&buttons[i++].value, LGET(GETMESSAGE(3, 513, "\013"))) ;
else
get_key_val(&buttons[i++].value, LGET(GETMESSAGE(3, 468, "\177"))) ;
#else
get_key_val(&buttons[i++].value, LGET(GETMESSAGE(3, 468, "\177"))) ;
#endif
get_key_val(&buttons[i++].value, LGET(GETMESSAGE(3, 469, "d"))) ;