From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1023f5,b91c80874295d37b X-Google-Attributes: gid1023f5,public X-Google-Thread: fee84,566a494ce88e0f2c,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-11-23 03:18:44 PST Xref: gmd.de news.software.nn:2867 comp.unix.osf.osf1:1600 Newsgroups: news.software.nn,comp.unix.osf.osf1 Path: gmd.de!xlink.net!math.fu-berlin.de!risc4!meyer From: meyer@risc4.physik.fu-berlin.de (Sebastian Meyer) Subject: Re: nn on alpha Message-ID: <8HFJBS6W@math.fu-berlin.de> Sender: news@math.fu-berlin.de (Math Department) Nntp-Posting-Host: risc4.physik.fu-berlin.de Organization: Free University of Berlin, Germany References: <1993Nov23.012725.16278@MITL.Research.Panasonic.COM> Date: Tue, 23 Nov 1993 10:18:38 GMT lemke@aleph.Research.Panasonic.COM (Kennedy Lemke) writes: >Can someone please point me to or email me appropriate m- >and s- files for nn for a DEC Alpha machine running OSF/1 >version 1.3? I'm using nn version 6.4.18. Thanks. nn is up and running here with one problem remaning: file name expansion (with [Tab] or ? ) does not work properly. m-decaxp.h probably is fine, s-decosf.h needs some adjusting. Come on, dirent.h-gurus ..... sebastian (crossposted to news.software.nn,comp.unix.osf.osf1 ) =========== m-decaxp.h ============== /******* Machine (and compiler) dependent definitions. ********* * * This is the nn conf file: m-decaxp.h * For Digital Equipment Corp.: Alpha AXP computers * * Created by: Donald S. Teiser 09/21/93 * System Programmer * University of Louisville * Louisville, KY, USA 40292 * dsteis01@homer.louisville.edu ***************************************************************/ /* MACHINE TYPE DEFINED TYPE VALUE RANGE */ typedef unsigned char int8; /* 0 .. 255 */ typedef short int int16; /* -10,000 .. 10,000 */ typedef int int32; /* -100,000 .. 100,000 */ typedef unsigned int uint32; /* 0 .. 2^31-1 */ /* Here comes Sebastian Meyer's code: meyer@risc4.physik.fu-berlin.de */ #ifdef NETWORK_DATABASE #ifndef NETWORK_BYTE_ORDER /* * Alpha is NOT network-byte-order */ #include /* * This one includes * which has the #defines for ntohl(x) and htonl(x) */ #endif /* not NETWORK BYTE ORDER */ #endif /* NETWORK DATABASE */ /*********** end of the file: m-decaxp.h ****************/ ============== s-decosf.h ================= /*********** Operating system dependent definitions. *********** * * This is the nn conf file: s-decosf.h * For Digital Equipment Corp.: OSF/1 version 1.2 * * Created by: Donald S. Teiser 09/21/93 * System Programmer * University of Louisville * Louisville, KY, USA 40292 * dsteis01@homer.louisville.edu * * modified by Sebastian Meyer , * who is not shure about anything..... ***************************************************************/ #include #include #define TERMLIB -ltermlib #define HAVE_STRCHR #define SIGNAL_HANDLERS_ARE_VOID #define RESET_SIGNAL_WHEN_CAUGHT /* #define FAKE_INTERRUPT */ #define HAVE_UALARM /* #undef HAVE_SYSLOG */ #define HAVE_SYSLOG #include typedef struct dirent Direntry; #define HAVE_MKDIR #define HAVE_GETHOSTNAME #define HAVE_MULTIGROUP #define DETATCH_TERMINAL #define SHELL "/bin/sh" #define MAILX "/usr/bin/mailx" #define FILENAME 256 #define COMPILER_FLAGS -O #define LOADER_FLAGS -call_shared #define EXTRA_LIB -lbsd /*********** end of the file: s-decosf.h ****************/ -- __o Sebastian Meyer Tel: 030/838-5181| FU Berlin, Physik _ \<,_ meyer@risc4.physik.fu-berlin.de | Arnimallee 14 [Raum 1.3.35] (_)/ (_) bastel@zaphod.physik.fu-berlin.de | D-14195 Berlin ~~~~~~~~~~~~~~~~~ "This is a signature against racism" ~~~~~~~~~~~~~~~~~~~~~~~