Path: utzoo!utgpu!water!watmath!clyde!bellcore!rutgers!gatech!ncar!boulder!sunybcs!bingvaxu!leah!uwmcsd1!ig!agate!ucbvax!dasys1.UUCP!rpaul From: rpaul@dasys1.UUCP (Rodian Paul) Newsgroups: comp.sys.sgi Subject: Getting Kermit to run on a 4D Message-ID: <8806031735.AA20705@dasys1.UUCP> Date: 3 Jun 88 17:35:42 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 90 Having problems porting kermit to the 4D? Here's a hack that works TO AN EXTENT. I was getting core-dumps any time I tried to "connect" with kermit, and dbx just pointed at fork() as the culprit. I found out how to get around the problem but not how to fix it. My .kermrc looked like this set modem hayes set line /dev/ttyd6 set speed 1200 set flow none Take out the line "set flow" and everything worked fine. The following two files are from the 2000-3000 series machines and should be placed in the source directory. You then need to edit the files: ckufio.c ckutio.c Replace the given lines in both files: replace line: #includewith: #include "types.h" replace line: #include with: #include "dir.h" Thanks to frobinso@cirm.northrop.com for help on this one. Compile with "make sys3nid". You'll still get compiler warnings but otherwise you'll have a working version of kermit. /* ------------------- dir.h ----------------------- */ #ifndef DIRSIZ #define DIRSIZ 14 #endif #ifndef __DIR__ #define __DIR__ struct direct { ino_t d_ino; char d_name[DIRSIZ]; }; #endif __DIR__ /* ------------------ types.h ---------------------- */ #ifndef __TYPES__ #define __TYPES__ /* generic unsigned data types */ typedef unsigned short ushort; typedef unsigned int uint; typedef unsigned long ulong; /* system data types */ typedef struct { int r[1]; } * physadr; typedef long daddr_t; typedef long swblk_t; typedef char * caddr_t; typedef ushort ino_t; typedef short cnt_t; typedef long time_t; typedef int label_t[13]; typedef short dev_t; typedef long off_t; typedef long paddr_t; typedef long key_t; /* these are for berkeley compatibility */ typedef unsigned char u_char; typedef unsigned short u_short; typedef unsigned int u_int; typedef unsigned long u_long; typedef short size_t; #endif __TYPES__