Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!samsung!sol.ctr.columbia.edu!emory!kd4nc!n4hgf!wht From: wht@n4hgf.Mt-Park.GA.US (Warren Tucker) Newsgroups: comp.unix.xenix.sco Subject: Re: ECU v3.0pl9 on Xenix/286 v2.2.3 Message-ID: <334@n4hgf.Mt-Park.GA.US> Date: 21 Feb 91 17:27:57 GMT References: <1991Feb13.101328.1107@mudos.ann-arbor.mi.us> <1991Feb17.180906.5158@tabbs.UUCP> Reply-To: wht@n4hgf.Mt-Park.GA.US (Warren Tucker) Organization: Amateur Radio Station N4HGF Lines: 84 In article <1991Feb17.180906.5158@tabbs.UUCP> aris@tabbs.UUCP (Aris Stathakis) writes: >In <1991Feb13.101328.1107@mudos.ann-arbor.mi.us> mju@mudos.ann-arbor.mi.us (Marc Unangst) writes: > >>I recently obtained the sources for ECU v3.0 from the uunet archive >>and attempted to compile them on my Xenix/286 system. Since the code >>claimed to support Xenix, I thought it would be a piece of cake... > >>Well, sort of. ECU compiled okay, and it seems to be functional, but >>I can't get it to connect to a tty port. When I tell it to use >>/dev/tty2a at 9600bps (the port my T2500 is on), it tells me that >>"another dialout is on the line", and then counts down from 10 seconds. >>When it gets to zero, it tells me to use another port. > >The problem seems to be in the code. I had the same problem under >xenix/386. Here is how to fix: Sorry guys. Here is the patch. I'll send it on to Kent. I am *****VERY***** interested in war stories about ECU on 286 machines. I don't have a 286 any more, though ECU started on SCO XENIX/286 2.0.6 in 1986. I was/am fearful the program has grown too large or the stack size is not large enough for heavily nested procedures. => Article 50 of comp.sources.bugs: => >From: wht@n4hgf.Mt-Park.GA.US (Warren Tucker) => Newsgroups: comp.sources.bugs,comp.unix.sysv386,comp.unix.xenix.sco => Subject: ECU 3 patch 5 may be bad news for you => Date: 13 Feb 91 03:43:19 GMT => => I am repeating this patch for your early consideration. => => I don't know why I was getting away with this ;-(, but I didn't catch it => because I've had no trouble. => => This man's hat sits on a quick-thinking head. => => > Organization: DEMOS, Moscow, USSR => > Date: Wed, 13 Feb 91 02:15:23 +0300 (MSK) => > From: emory!hq.demos.su!ache (Andrew A. Chernov, canton Uri's citizen) => > Subject: ECU 3.05 utmpstat => > => > Hi, Warren, bad news. => > I just applied PATCH 5 for ECU, everything appears OK, but => > 'utmpstat' not work at all, I look in... => > IMHO it seems, like two strings are misplaced... => > (US_LOGIN and US_DIALOUT) => > I fix it, and ECU works correctly. => > Good Luck. => ----------------------------- CUT HERE -------------------------------- *** utmpstat.c.b Mon Feb 11 17:57:01 1991 --- utmpstat.c Wed Feb 13 02:00:02 1991 *************** *** 107,115 **** idcopy[sizeof(idcopy) - 1] = 0; if(!strcmp(namecopy,"LOGIN")) - status = US_DIALOUT; - else if(!strcmp(namecopy,"DIALOUT")) status = US_LOGIN; else if((!strcmp(namecopy,"uugetty") || !strcmp(namecopy,"getty"))) { if(itmp = line_locked(line)) --- 107,115 ---- idcopy[sizeof(idcopy) - 1] = 0; if(!strcmp(namecopy,"LOGIN")) status = US_LOGIN; + else if(!strcmp(namecopy,"DIALOUT")) + status = US_DIALOUT; else if((!strcmp(namecopy,"uugetty") || !strcmp(namecopy,"getty"))) { if(itmp = line_locked(line)) => > -- => > In-Real-Life: Andrew A. Chernov | Domain: ache@hq.demos.su, => > Zodiac-Sign: Virgo | ache%hq.demos.su@relay.eu.net => > Organization: DEMOS Coop., | Phone: +7 095 2312129 => > Moscow, Russia | Fax: +7 095 2335016 => > ----------------------------------------------------------------------- Warren Tucker, TuckerWare gatech!n4hgf!wht or wht@n4hgf.Mt-Park.GA.US Many [Nobel physics] prizes have been given to people for telling us the universe is not as simple as we thought it was. -Stephen Hawking in A Brief History of Time In computing, there are no such prizes. -me