jw@sics.se (Johan Widen) (03/31/88)
It appears that uupc has a problem speaking to HDB uucp. We do not have any SysV machines around here so I was not aware of this problem. Problem: HDB uucp and BSD uucp use different conventions for naming the execute file (the X. file) on the remote machine. *** dcp.c.old Fri Mar 25 04:14:15 1988 --- dcp.c Wed Mar 30 21:39:06 1988 *************** *** 16,22 **** * This program implements a uucico type file transfer and remote * execution type protocol. */ ! #define VERSION "1.11 Camelot" #include "dcp.h" #include <signal.h> /**/ --- 16,22 ---- * This program implements a uucico type file transfer and remote * execution type protocol. */ ! #define VERSION "1.11.1 Camelot" #include "dcp.h" #include <signal.h> /**/ *** dcpsys.c.old Sat Mar 5 19:49:54 1988 --- dcpsys.c Tue Mar 29 21:21:22 1988 *************** *** 700,707 **** dscandir() { - int len; - char cname[40]; DIR *dirp; struct direct *dp; --- 700,705 ---- *************** *** 710,719 **** return(0); } cfile[0] = 0; - sprintf(cname, XQTFILE, rmtname); - len = strlen(cname); while(dp = readdir(dirp)) { ! if(!strncmp(cname, dp->d_name, len) && (!cfile[0] || strcmp(cfile, dp->d_name) == 1)) strcpy(cfile, dp->d_name); } --- 708,715 ---- return(0); } cfile[0] = 0; while(dp = readdir(dirp)) { ! if(!strncmp("X.", dp->d_name, 2) && (!cfile[0] || strcmp(cfile, dp->d_name) == 1)) strcpy(cfile, dp->d_name); } -- Johan Widen SICS, PO Box 1263, S-164 28 KISTA, SWEDEN Tel: +46 8 752 15 32 Ttx: 812 61 54 SICS S Fax: +46 8 751 72 30 Internet: jw@sics.se or {mcvax,munnari,ukc,unido}!enea!sics.se!jw
peter@nuchat.UUCP (Peter da Silva) (04/07/88)
I've already made the moral equivalent of this fix, because if you have more than one system in your $CONFDIR/systems file dcxqt() will only execute commands for the last system in the systems file, because that's all dscandir() will return. I have made quite a few other changes, like I now have a functional LOGFILE. It'd be a pretty heavy patch job to get the changes out, but if anyone's interested I'll wrap it and ship it. -- -- a clone of Peter (have you hugged your wolf today) da Silva `-_-' -- normally ...!hoptoad!academ!uhnix1!sugar!peter U -- Disclaimer: These aren't mere opinions... these are *values*.