mirror of
https://github.com/rfivet/uemacs.git
synced 2024-12-17 23:06:25 -05:00
Remove __hpux from conditional compilation.
This commit is contained in:
parent
bc11a0c913
commit
8c1a8f16bf
2
ebind.c
2
ebind.c
@ -172,7 +172,7 @@ struct key_tab keytab[NBINDS] = {
|
||||
,
|
||||
{CTLX | 'C', spawncli}
|
||||
,
|
||||
#if BSD | __hpux | SVR4
|
||||
#if BSD | SVR4
|
||||
{CTLX | 'D', bktoshell}
|
||||
,
|
||||
#endif
|
||||
|
@ -38,7 +38,7 @@
|
||||
#undef BSD
|
||||
#endif
|
||||
|
||||
#if defined(SYSV) || defined(u3b2) || defined(_AIX) || (defined(i386) && defined(unix)) || defined(__hpux) || defined( __unix__)
|
||||
#if defined(SYSV) || defined(u3b2) || defined(_AIX) || (defined(i386) && defined(unix)) || defined( __unix__)
|
||||
#define USG 1 /* System V UNIX */
|
||||
#else
|
||||
#define USG 0
|
||||
|
2
names.c
2
names.c
@ -214,7 +214,7 @@ struct name_bind names[] = {
|
||||
#if PROC
|
||||
{"store-procedure", storeproc},
|
||||
#endif
|
||||
#if BSD | __hpux | SVR4
|
||||
#if BSD | SVR4
|
||||
{"suspend-emacs", bktoshell},
|
||||
#endif
|
||||
{"transpose-characters", (fn_t) twiddle},
|
||||
|
2
spawn.c
2
spawn.c
@ -79,7 +79,7 @@ int spawncli(int f, int n)
|
||||
#endif
|
||||
}
|
||||
|
||||
#if BSD | __hpux | SVR4
|
||||
#if BSD | SVR4
|
||||
|
||||
int bktoshell(int f, int n)
|
||||
{ /* suspend MicroEMACS and wait to wake up */
|
||||
|
6
termio.c
6
termio.c
@ -72,7 +72,7 @@ char tobuf[TBUFSIZ]; /* terminal output buffer */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if __hpux | SVR4
|
||||
#if SVR4
|
||||
extern int rtfrmshell(); /* return from suspended shell */
|
||||
#define TBUFSIZ 128
|
||||
char tobuf[TBUFSIZ]; /* terminal output buffer */
|
||||
@ -130,14 +130,14 @@ void ttopen(void)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if __hpux | SVR4
|
||||
#if SVR4
|
||||
/* provide a smaller terminal output buffer so that
|
||||
the type ahead detection works better (more often) */
|
||||
setvbuf(stdout, &tobuf[0], _IOFBF, TBUFSIZ);
|
||||
signal(SIGTSTP, SIG_DFL); /* set signals so that we can */
|
||||
signal(SIGCONT, rtfrmshell); /* suspend & restart emacs */
|
||||
TTflush();
|
||||
#endif /* __hpux */
|
||||
#endif
|
||||
|
||||
/* on all screens we are not sure of the initial position
|
||||
of the cursor */
|
||||
|
Loading…
Reference in New Issue
Block a user