ECU v3.0pl9 on Xenix/286 v2.2.3

Warren Tucker wht at n4hgf.Mt-Park.GA.US
Fri Feb 22 04:27:57 AEST 1991


In article <1991Feb17.180906.5158 at tabbs.UUCP> aris at tabbs.UUCP (Aris Stathakis) writes:
>In <1991Feb13.101328.1107 at mudos.ann-arbor.mi.us> mju at 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 at 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 at hq.demos.su,
=> > Zodiac-Sign:  Virgo              |          ache%hq.demos.su at relay.eu.net
=> > Organization: DEMOS Coop.,       |  Phone:  +7 095 2312129
=> >               Moscow, Russia     |  Fax:    +7 095 2335016
=> > 
 
-----------------------------------------------------------------------
Warren Tucker, TuckerWare   gatech!n4hgf!wht or wht at 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



More information about the Comp.unix.xenix.sco mailing list