🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #5094

Re: nn on alpha

#5094
From: Sebastian Meyer
Date: Tue, 23 Nov 1993 10:18
99 lines
4337 bytes
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 <netinet/in.h>
/* 
 * This one includes <machine/endian.h>
 * 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 <meyer@risc4.physik.fu-berlin.de>,
 *   who is not shure about anything.....
 ***************************************************************/

#include <sys/types.h>
#include <sys/stat.h>

#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 <dirent.h>
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" ~~~~~~~~~~~~~~~~~~~~~~~
Technical Details
Message-ID: <8HFJBS6W@math.fu-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.osf.osf1.mbox.zip!gmd.de!xlink.net!math.fu-berlin.de!risc4!meyer
References: <1993Nov23.012725.16278@MITL.Research.Panasonic.COM>

Show Full Headers
Complete Article Headers
Message-ID: <8HFJBS6W@math.fu-berlin.de>
Subject: Re: nn on alpha
Date: Tue, 23 Nov 1993 10:18:38 GMT
From: meyer@risc4.physik.fu-berlin.de (Sebastian Meyer)
References: <1993Nov23.012725.16278@MITL.Research.Panasonic.COM>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.osf.osf1.mbox.zip!gmd.de!xlink.net!math.fu-berlin.de!risc4!meyer
Newsgroups: news.software.nn,comp.unix.osf.osf1
Sender: news@math.fu-berlin.de (Math Department)
Nntp-Posting-Host: risc4.physik.fu-berlin.de
Organization: Free University of Berlin, Germany
Lines: 98