mirror of
https://github.com/IanDarwin/OpenLookCDROM.git
synced 2026-05-05 07:34:05 +00:00
Import the large NeWS and src folders. Tweak a few files.
This commit is contained in:
47
NeWS/gterm/ref/config_aux
Normal file
47
NeWS/gterm/ref/config_aux
Normal file
@@ -0,0 +1,47 @@
|
||||
/* 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"
|
||||
|
||||
25
NeWS/gterm/ref/config_sunos
Normal file
25
NeWS/gterm/ref/config_sunos
Normal file
@@ -0,0 +1,25 @@
|
||||
/* ref/config_sunos -- Configuration and other very global information
|
||||
*
|
||||
* @(#)$Header: /it/grass/gterm/ref/RCS/config_sunos,v 2.5 1991/04/23 06:52:15 hugh Grass2 $
|
||||
*/
|
||||
|
||||
/* Things we do have in sunos */
|
||||
|
||||
#define HAVE_BSD_TTYS
|
||||
#define HAVE_FNDELAY
|
||||
#define HAVE_SELECT
|
||||
#define HAVE_TERMCAP
|
||||
#define HAVE_VFORK
|
||||
#define HAVE_WAIT3
|
||||
|
||||
#define HAVE_TTYCOM_H /* Why oh why do they do this to us... */
|
||||
#define HAVE_VFORK_H /* To use cc -O must have this in slave.c on Sun4 */
|
||||
|
||||
#ifdef undef
|
||||
/* Things we don't have in sunos */
|
||||
|
||||
#define HAVE_SYSV_TTYS
|
||||
|
||||
#endif
|
||||
|
||||
#define CONSOLE_FILENAME "/dev/console"
|
||||
Reference in New Issue
Block a user