mirror of
https://github.com/IanDarwin/OpenLookCDROM.git
synced 2026-02-15 12:27:45 +00:00
48 lines
1.1 KiB
Plaintext
48 lines
1.1 KiB
Plaintext
/* ref/config_aux -- Configuration and other very global information
|
|
*
|
|
* @(#)$Header: /it/grass/gterm/ref/RCS/config_aux,v 2.4 1991/04/23 06:52:12 hugh Grass2 $
|
|
*/
|
|
|
|
/* Things we do have in A/UX */
|
|
|
|
#define HAVE_FNDELAY
|
|
#define HAVE_SELECT
|
|
#define HAVE_SYSV_TTYS
|
|
#define HAVE_TERMCAP
|
|
#define HAVE_PUTUTLINE
|
|
|
|
#ifdef undef
|
|
/* Things we don't have in A/UX */
|
|
|
|
#define HAVE_BSD_TTYS
|
|
#define HAVE_VFORK
|
|
#define HAVE_WAIT3
|
|
|
|
#endif
|
|
|
|
#define FNDELAY O_NDELAY
|
|
|
|
#ifndef bcopy
|
|
#define bcopy(s1, s2, len) { \
|
|
register char *s__s = (char *)(s1); \
|
|
register char *s__d = (char *)(s2); \
|
|
register int n__n; \
|
|
if ((n__n = len) > 0 && s__s != s__d) { \
|
|
if (s__d < s__s || (s__s + n__n) <= s__d) { \
|
|
memcpy(s__d, s__s, n__n); \
|
|
} else { \
|
|
register char *s__se = s__s + n__n - 1; \
|
|
register char *s__de = s__d + n__n - 1; \
|
|
do \
|
|
*s__de-- = *s__se--; \
|
|
while (--n__n); \
|
|
}}};
|
|
#endif
|
|
#ifndef bzero
|
|
#define bzero(s, n) memset(s, '\0', n)
|
|
#endif
|
|
#define bcmp(s1, s2, n) memcmp(s1, s2, n)
|
|
|
|
#define CONSOLE_FILENAME "/tmp/news.out"
|
|
|