Subject: Patches for C-Kermit 5A(190), please test!
To: None <current-users@sun-lamp.cs.berkeley.edu, freebsd-hackers@freefall.cdrom.com>
From: Mike Long <mike.long@analog.com>
List: current-users
Date: 03/16/1994 19:56:54
These are patches that I am trying to have applied to the development
version of C-Kermit 5A(190), available via FTP from
kermit.columbia.edu as /kermit/test/cku190.tar.gz. These patches are
based on the version dated March 10.
I would like to have enough people test them so that all released
versions of NetBSD, FreeBSD, and 386BSD are covered, as well as
NetBSD-current (which is what I'm running). Let me know if they
work or don't work. If kermit works with these patches, say so!
If you're reading this on comp.os.386bsd.apps, please send email
instead of following up, because news isn't working here right now.
Also, if you're reading this on a FreeBSD or NetBSD mailing list send
replies to me only to keep from cluttering up the list(s).
Things I would especially like to have checked:
1) Does FreeBSD have 56Kbps and 115Kbps support?
2) Has FreeBSD changed the type of sys_errlist?
3) Make sure that UUCP lockfiles work: start up kermit, use SET LINE
to connect to your modem, then ^Z out of kermit. Try to tip to the
same serial port, and make sure that tip acknowledges the lock
file. Repeat in the reverse direction to make sure that kermit
acknowledges tip's lock file.
*** ckcdeb.h.orig Mon Mar 7 20:10:03 1994
--- ckcdeb.h Wed Mar 16 14:15:46 1994
***************
*** 965,973 ****
--- 965,977 ----
#ifdef __386BSD__
#define BPS_57K
#else
+ #ifdef __NetBSD__
+ #define BPS_57K
+ #else
#ifdef MAC
#define BPS_57K
#endif /* MAC */
+ #endif /* __NetBSD__ */
#endif /* __386BSD__ */
#endif /* NEXT */
#endif /* HPUX */
***************
*** 993,1003 ****
--- 997,1011 ----
#ifdef __386BSD__
#define BPS_115K
#else
+ #ifdef __NetBSD__
+ #define BPS_115K
+ #else
#ifdef OS2
#ifdef __32BIT__
#define BPS_115K
#endif /* __32BIT__ */
#endif /* OS2 */
+ #endif /* __NetBSD__ */
#endif /* __386BSD__ */
#endif /* __linux__ */
#endif /* HPUX */
***************
*** 1060,1066 ****
bit(s), seems to be gaining currency on POSIX-based UNIX systems. The
following code defines the symbol POSIX_CRTSCTS for such systems.
*/
! #ifdef __bsdi__ /* BSDI, a.k.a. 386/BSD */
#define POSIX_CRTSCTS
#endif /* __bsdi__ */
#ifdef __linux__ /* Linux */
--- 1068,1074 ----
bit(s), seems to be gaining currency on POSIX-based UNIX systems. The
following code defines the symbol POSIX_CRTSCTS for such systems.
*/
! #ifdef __bsdi__ /* BSDI, a.k.a. BSD/386 */
#define POSIX_CRTSCTS
#endif /* __bsdi__ */
#ifdef __linux__ /* Linux */
*** ckcfn3.c.orig Wed Feb 2 16:14:12 1994
--- ckcfn3.c Wed Mar 16 14:17:53 1994
***************
*** 1269,1283 ****
#ifdef ATTSV
extern int errno;
#ifdef BSD44
- #ifdef __NetBSD__
- extern char *sys_errlist[];
- #else
#ifdef __386BSD__
extern char *sys_errlist[];
#else
extern const char *const sys_errlist[];
#endif /* __386BSD__ */
- #endif /* __NetBSD__ */
char *e;
e = (char *) sys_errlist[errno];
screen(SCR_EM,0,0l,e);
--- 1269,1279 ----
*** ckutio.c.orig Mon Mar 7 16:22:24 1994
--- ckutio.c Wed Mar 16 14:52:49 1994
***************
*** 185,191 ****
--- 185,206 ----
*/
#ifndef LOCK_DIR
#ifdef BSD44
+ #ifdef __386BSD__
+ #define LOCK_DIR "/var/spool/lock";
+ #define PIDSTRING
+ #else
+ #ifdef __FreeBSD__
+ #define LOCK_DIR "/var/spool/lock";
+ #define PIDSTRING
+ #else
+ #ifdef __NetBSD__
+ #define LOCK_DIR "/var/spool/lock";
+ #define PIDSTRING
+ #else
#define LOCK_DIR "/var/spool/uucp";
+ #endif /* __NetBSD__ */
+ #endif /* __FreeBSD__ */
+ #endif /* __386BSD__ */
#else
#ifdef DGUX430
#define LOCK_DIR "/var/spool/locks";
*** ckuus4.c.orig Thu Mar 10 12:23:34 1994
--- ckuus4.c Wed Mar 16 14:17:55 1994
***************
*** 1537,1545 ****
else
printf("\n Timeout (used=%2d):%7d%9d ", timint, rtimo, pkttim);
#ifndef NOSERVER
! printf(" Server Timeout:%4d\n",srvtim);
#endif /* NOSERVER */
! printf( " Padding: %11d%9d", npad, mypadn);
if (bctr == 4)
printf(" Block Check: blank-free-2\n");
else
--- 1537,1545 ----
else
printf("\n Timeout (used=%2d):%7d%9d ", timint, rtimo, pkttim);
#ifndef NOSERVER
! printf(" Server Timeout:%4d",srvtim);
#endif /* NOSERVER */
! printf("\n Padding: %11d%9d", npad, mypadn);
if (bctr == 4)
printf(" Block Check: blank-free-2\n");
else
--
Mike Long Mike.Long@Analog.com
VLSI Design Engineer voice: (617)461-4030
Analog Devices, SPD Div. FAX: (617)461-3010
Norwood, MA 02062 *this = !opinion(Analog);
------------------------------------------------------------------------------