From pa.dec.com!decwrl!sdd.hp.com!mips!samsung!uunet!sparky!kent Sun Aug 11 15:30:28 PDT 1991
Article: 2566 of comp.sources.misc
Path: pa.dec.com!decwrl!sdd.hp.com!mips!samsung!uunet!sparky!kent
From: wht@n4hgf.Mt-Park.GA.US (Warren Tucker)
Newsgroups: comp.sources.misc
Subject: v21i054:  ecu - ECU async comm package rev 3.10, Part02/37
Message-ID: <1991Aug3.033544.28033@sparky.IMD.Sterling.COM>
Date: 3 Aug 91 03:35:44 GMT
References: <csm-v21i053=ecu.215539@sparky.imd.sterling.com>
Sender: kent@sparky.IMD.Sterling.COM (Kent Landfield)
Organization: Sterling Software, IMD
Lines: 1889
Approved: kent@sparky.imd.sterling.com
X-Md4-Signature: 19e283ba41ce279364318a842130b1b1

Submitted-by: Warren Tucker <wht@n4hgf.Mt-Park.GA.US>
Posting-number: Volume 21, Issue 54
Archive-name: ecu/part02
Supersedes: ecu3: Volume 16, Issue 25-59
Environment: SCO, XENIX, ISC

---- Cut Here and feed the following to sh ----
#!/bin/sh
# this is ecu310.02 (part 2 of ecu310)
# do not concatenate these parts, unpack them in order with /bin/sh
# file ANCIENTHISTORY continued
#
if touch 2>&1 | fgrep 'amc' > /dev/null
 then TOUCH=touch
 else TOUCH=true
fi
if test ! -r _shar_seq_.tmp; then
	echo 'Please unpack part 1 first!'
	exit 1
fi
(read Scheck
 if test "$Scheck" != 2; then
	echo Please unpack part "$Scheck" next!
	exit 1
 else
	exit 0
 fi
) < _shar_seq_.tmp || exit 1
if test ! -f _shar_wnt_.tmp; then
	echo 'x - still skipping ANCIENTHISTORY'
else
echo 'x - continuing file ANCIENTHISTORY'
sed 's/^X//' << 'SHAR_EOF' >> 'ANCIENTHISTORY' &&
X    bytes which have been sent.  If full streaming is allowed (window
X    size of zero), then this size will match the file position until
X    the transfer is complete or the receiver sends a ZRPOS.
X
X3.  Output generated by procedures is now written to any active receiver
X    log file in addition to any active procedure log file.
X
X4.  Just a note: on 286 systems you make have to use makeL, since
X    make is a small model (medium?) and makeL is a large model
X    program.
X
X5.  The dependency of eculine.c on sys/select.h has been removed.
X    If you re-'make depend', you probably won't have this problem
X    show up again (a side effect of make depend is that it misses
X    '# include' and I have patched eculine.c to use this).
X
X6.  A new command, xon, has been added (both interactive and procedure
X    versions).  The format is:
X         xon <arg>
X    where <arg> is on    input and output flow control
X                   off   no flow control
X                   in    input flow control
X                   out   output flow control
X    If <arg> is omitted from the interactive command, the current
X    flow control status is displayed.  This command is documented in
X    the patched built-in help file and nroff txt files, but no pre-
X    printed manual changes were issued with this release.
X
X7.  If you are not using a 43-line screen, the list of commands
X    displayed by the interactive 'help' command is truncated.  I
X    apologize; this problem will be solved Real Soon Now.
X
XChanges since ecu 2.80 patchlevel 1
X
X1.  The built-in help system was reworked.  Interactive commands are
X    now divided into four categories: general, communications-related,
X    transfer-related and procedure-related.  The help command asks for
X    a category and displays the appropriate subset.
X
X2.  The built-in help file (ecuhelp.data) was revised.
X
XChanges since ecu 2.80 patchlevel 2
X
X1.  Patch 3 added a window mode selection to the sz file transfer menu;
X    also, the unacknowledged data quantity (called "window") was
X    added to the sz file transfer display.
X
XChanges since ecu 2.80 patchlevel 3
X
X1.  A problem with passing arguments to an initial procedure was
X    fixed.  Getopt() is now used, which requires that all switch
X    command arguments must precede the non-switch arguments.
X    This was not true in previous revisions of ecu.
X
X2.  A new (non-standard) escape sequence has been added to the
X    expresp procedure command.  \m### causes a ### millisecond delay.
X    Note this adds an ambiguity to the syntax of the send string:
X    you may not follow an \m delay with a literal digit to send.
X    For example, suppose you wish to delay 300 missileconds then
X    send "4A".  \m3004A will delay for 3004 (approximately) milliseconds,
X    then send an "A".  You must, instead, use \m300\034A to achieve
X    the desired result.
X
X    Also, a string of the form ~t[##] or ~m[##] may be prepended to
X    any expect vstring to change the timeout to ## seconds or milliseconds,
X    respectively.  '~t[8]gin:--~m[800]gin:' waits 8 seconds for
X    'gin:' and if not found, sends a carriage return and waits
X    an additional 800 milliseconds.
X
X3.  The method of choosing a shared memory segment key changed.
X    Previously, ftok() was used.  Now, the algorithm is 
X        0xEC000000L | getpid();
X
X4.  The -D switch has been added to cause ecu to terminate
X    unconditionally upon completion of an initial procedure (-p).
X
XChanges since ecu 2.80 patchlevel 4
X
X1.  The malloc library is used, resulting in faster procedure
X    execution.
X
X2.  Restrictions on string operations limiting useful string length
X    to 256 characters have been lifted.  New restrictions limit
X    strings to 5120 characters in length :-).  This required some
X    major redesign and is responsible for the reissue of the entire
X    ECU program rather than merely patches.
X
X3.  A new procedure command, 'gosub' has been added, allowing
X    subroutines within a procedure file.
X
X    #---------
X    # example
X    #---------
X        echo 'main'; gosub SUB; echo 'back to main'
X        return           | return from proc
X
X    SUB
X        echo 'sub'
X        gosub SUB2
X        echo 'back to sub'
X        return           | return from subroutine
X
X
X    SUB2
X        echo 'sub2'
X        return           | return from subroutine
X
X4.  Other minor unreported bugs were fixed.
X
XChanges since ecu 3.00
X
X============= Patch 1:
X> Posting-number: Volume 16, Issue 60
X> Archive-name: ecu3/patch01
X> 
X> This is patch 1 to ECU 3.  It provides speed improvements
X> and fixes for non-ANSI terminal support.  Also provided is an
X> experimental make file for GCC 1.37.1 on UNIX systems.
X
X============= Patch 2:
X> Posting-number: Volume 16, Issue 70
X> Archive-name: ecu3/patch2a
X> 
X> Posting-number: Volume 16, Issue 71
X> Archive-name: ecu3/patch2b
X> 
X> ECU 3.0 PATCH # 2 - Non-ansi/ISC
X> 
X> 1.  Fix non-curses per-file transfer rate report
X>     (it was verrrrry optimistic :-)
X> 
X> 2.  Add experimental support for ISC 2.2
X> 
X> Note: if you are purely an SCO multiscreen user, you may wish to
X> save this patch and not apply it until further patches are issued.
X> By doing so, you will save an unnecessary compilation.
X> When another patch comes along, you must then apply this one so
X> that your source will be in sync.
X
X============= Patch 3:
X> Posting-number: Volume 16, Issue 87
X> Archive-name: ecu3/patch03
X> 
X> Under XENIX,
X> 1. libmalloc.a and/or libc.a are broken such that calloc is
X>    resolved twice, once from each library.
X> 2. memmove() does not exist (in all or less recent versions?)
X> 
X> To get ecu 3 to compile under XENIX, apply this patch with:
X>      patch < thismessage
X> 
X> NOTE there is no test to see if patch 1 & 2 have been applied :-(
X> so make sure you have done so.  Also, I don't have access to XENIX
X> right now, so please forgive if this doesn't fly. The object is to
X> 1. supply -DDUFF to use Duff's device instead of missing memmove()
X> 2. remove #define MALLOC_3X and -lmalloc to avoid bug in libmalloc.a
X
X============= Patch 4:
X> Posting-number: Volume 16, Issue 88
X> Archive-name: ecu3/patch04
X> 
X> ECU 3 PATCH 4 - miscellaneous, 1 serious
X> 
X> 1. fix bug in non-ANSI key handling causing core dump fairly
X>    often (but not on my sys :-<)
X> 
X> 2. duplicate definiton of ECULIBDIR in ecu.h fixed 3.  cosmetic
X>    fix in 'fi' interactive command prompt
X> 
X> 4. comm line flusher lflush() was flushing console tty instead
X> 
X> 5. illegal color name in 'color' procedure command caused
X>    hi_white on hi_white instead or error
X> 
X> 6. prototypes for strchr/strrchr in stdio_lint.h caused problems
X>    on some systems
X> 
X> 7. procedure sz was not reporting proper results if files skipped
X> 
X> 8. miscellaneous cosmetic fixes and maintenance/experimental rearrangements
X
X============= Patch 5:
X> Posting-number: Volume 16, Issue 97
X> Archive-name: ecu3/patch05a
X> 
X> 1. Fixed memory leak + bad free in feval_str().
X> 
X> 2. Some common types of procedure string operations have been made faster
X> by redesign of the realloc_esd() function.
X> 
X> 3. Octal integer constants were implemented; they may be denoted by
X> prefixing them with "0o".  Leading zero octal constants are not supported
X> due to ECUs mutiple use of the same integer constant parser.  I thought 
X> most people would rather %itos("0200") return 200(10) than 128(10).
X> 
X> 4. Many line drivers, particularly FAS, will wait a process closing
X> a tty line until all characters queued for output have been sent.
X> When closing a tty line that has been permanently XOFF'ed by a 
X> dead remote system or a noisy XOFF, this can result in a hang.
X> Now, a SIGALRM/setjmp scheme is used to recover from this condition
X> and flush line output before reattempting the close.  Five
X> seconds are allowed for the draining to occur.
X> 
X> 5. Multiscreen normal and reverse foreground and background colors
X> in effect at the beginning of ecu execution are restored when the
X> program terminates (thanks to staceyc@sco for illuminating the
X> undocumented GIO_IOCTL ioctl; I've wanted to be able to do this for
X> a long time).
X> 
X> 6. lamy@glsys.in-berlin.de reported a core dump immediately after
X> the one-line startup message under XENIX 286.  Others have had the
X> problem too.  I am puzzled -- it is happening in get_home_dir(),
X> which seems rather straightforward.  A patch to avoid the problem
X> is included: get the home directory from the environment variable
X> HOME if possible rather than invoke libpwent.a.
X> 
X> 7. An embarassing nroff problem was reported by slerner@eingedi.
X> Patches are included for the nroff source.  Mr. Lerner also pointed
X> out an obsolete reference to samplproc.man.  The models subdirectory
X> contain many sample, even useful, procedures and samplproc.man
X> was discarded a long time ago.
X> 
X> If you do not have nroff or the spare CPU cycles to make the
X> manual from nroff source, I'll email you one. Just mail me
X> at wht@n4hgf.Mt-Park.GA.US or emory!n4hgf!wht and put
X> "send ecu305 manual" in the subject line.  If I get enough
X> requests, I'll repost it to c.s.m as ecuman305.
X> 
X> 8. A make bug in the trial ISC port was fixed in Make.ecu (thanks to
X> jmd@p1so).
X> 
X> 9. During non-curses file transfer, the cumulative elapsed time
X> is reported once per complete line of 'RRRTRR..' status.
X> 
X> 10. ache@hq.demos.su reported a bug in XENIX utmp handler
X> code.  This is a fix for most XENIX systems, but define OLD_WAY
X> in utmpstat.c if you have problems.
X> 
X> 11. Sometimes upon adding a new phone entry, it would be marked
X> for redial upon creation.  This has been fixed by using calloc()
X> instead malloc().
X> 
X> 12. We seem to be bumping some limits on 286 systems.  I added
X> more code to handle more core dumps reported by lamy@glsys.in-berlin.de:
X> somehow newwin() managed to return zero (probably memory alloc fail).
X> The patch to ecuwinutil.c won't fix the problem, but will at least
X> report it and die gracefully, rather than splatter on the pavement
X> with a core dump.  Please write me with bug reports and crash info:
X> see below.
X> 
X> .--------------------.
X> | NOTES and REQUESTS |
X> `--------------------'
X> 
X> 1. I do not have any XENIX system to test with.  It is a tribute
X> to SCO orthogonality that 35,000+ line program works so well
X> across 2 CPUs and two operating systems of many minor releases
X> and many versions of development systems.  I continue to point
X> this out when I hear SCO-bashers do their thing.  However, since
X> s**t does happen, if you are reporting a problem that results in
X> a core dump, please run the following for me (I would APPRECIATE it):
X> 
X>   % cd where ecu is
X>   % ./ecu
X>   ----- kaboom -----
X>   % ^Jstty sane^J if needed (probably)
X>   % adb ./ecu |& tee to.wht
X>   * $x
X>   * $c
X>   * $r
X>   * $q
X> If you are a really industrious one and have sdb and compiled with -g,
X>   % sdb ./ecu |& tee -a to.wht
X>   % t
X>   % q
X> Then  
X>   % mail -s 'ecu 3.xx core dump' wht@n4hgf.mt-park.ga.us < to.wht
X> 
X> 2. ache@hq.demos.su has made some excellent suggestions which
X> would enhance the line handling/choosing algorithms.  They will
X> require a change in the phone directory.  He suggests I interpret
X> old directory formats, while writing only new ones.  The changes
X> are far reaching and I haven't the time now to plug them in,
X> but kudos to him and I'll try to find A Round Tuit.
X
X============= Patch 6:
X> Posting-number: Volume 17, Issue 11
X> Archive-name: ecu3/patch06
X> 
X> This patch (#6) fixes a bug in patch 5.  Things seem stable now.
X> I was going to wait for possible feedback from ISC porters, but
X> several folks have had this problem (no doubt since ECU won't work
X> without this patch).  This patch was also sent to comp.sources.bugs
X> on 13 February, but patchlevel.h was not updated.  You may get 1 hunk
X> rejected if you have already applied the patch.
X> 
X> You need to remake/reinstall both ecu and ecuungetty.
X> 
X> This man's hat sits on a quick-thinking head:
X> > Organization: DEMOS, Moscow, USSR
X> > Date: Wed, 13 Feb 91 02:15:23 +0300 (MSK)
X> > From: emory!hq.demos.su!ache (Andrew A. Chernov, canton Uri's citizen)
X> > Subject: ECU 3.05 utmpstat
X> > 
X> > Hi, Warren, bad news.
X> > I just applied PATCH 5 for ECU, everything appears OK, but
X> > 'utmpstat' not work at all, I look in...
X> > IMHO it seems, like two strings are misplaced...
X> > (US_LOGIN and US_DIALOUT)
X> > I fix it, and ECU works correctly.
X> > Good Luck.
X
SHAR_EOF
echo 'File ANCIENTHISTORY is complete' &&
$TOUCH -am 0725130391 'ANCIENTHISTORY' &&
chmod 0644 ANCIENTHISTORY ||
echo 'restore of ANCIENTHISTORY failed'
Wc_c="`wc -c < 'ANCIENTHISTORY'`"
test 21763 -eq "$Wc_c" ||
	echo 'ANCIENTHISTORY: original size 21763, current size' "$Wc_c"
rm -f _shar_wnt_.tmp
fi
# ============= Configure ==============
if test -f 'Configure' -a X"$1" != X"-c"; then
	echo 'x - skipping Configure (File already exists)'
	rm -f _shar_wnt_.tmp
else
> _shar_wnt_.tmp
echo 'x - extracting Configure (Text)'
sed 's/^X//' << 'SHAR_EOF' > 'Configure' &&
X:
X#+---------------------------------------------------------------------
X# ECU Configure
X#
X# PEDANTIC not recommended unless you want to do extensive
X# vendor-supplied header file hacking.
X#----------------------------------------------------------------------
X#+:EDITS:
X#:07-12-1991-14:05-wht@n4hgf-ensure config.c compiles properly
X#:04-29-1991-02:39-wht@n4hgf-document/clean
X
X# --> add any of the following (99% of everybody will want to leave alone)
X# -DFASI_IN_USE if you have installed and want to exploit the features
X#            of my FAS instrumentation extensions
X# -DMORSE if you have installed and want to use the n4hgf morse driver
X# -DPEDANTIC if you want to use -ansi -pedantic with gcc (not
X#            necessary or recommended unless you anticipate heavy
X#            code modification)
X# -DMETROLINK_X11R4_PTS if you have early 'pts-using' Metro Link
X#            xterms
XCFLAGS=
X
X# a bit of self indulgence for me (ignore it or be inspired)
XSYSTEM=
X[ -f /etc/systemid ] && SYSTEM=`cat /etc/systemid`
X[ "$SYSTEM" = "n4hgf" ] && CFLAGS='-DWHT -DPEDANTIC -DMORSE -DFASI'
X
Xecho Please wait while I compile the config program.
Xrm -rf ./config
Xcc $CFLAGS config.c -o config > /tmp/config.cc.log 2>&1
X./config
Xrm -rf /tmp/config.cc.log
X
X#end of Configure
SHAR_EOF
$TOUCH -am 0718060091 'Configure' &&
chmod 0755 Configure ||
echo 'restore of Configure failed'
Wc_c="`wc -c < 'Configure'`"
test 1269 -eq "$Wc_c" ||
	echo 'Configure: original size 1269, current size' "$Wc_c"
rm -f _shar_wnt_.tmp
fi
# ============= ESOTERIC ==============
if test -f 'ESOTERIC' -a X"$1" != X"-c"; then
	echo 'x - skipping ESOTERIC (File already exists)'
	rm -f _shar_wnt_.tmp
else
> _shar_wnt_.tmp
echo 'x - extracting ESOTERIC (Text)'
sed 's/^X//' << 'SHAR_EOF' > 'ESOTERIC' &&
XThis interesting article appeared last summer:  much of the wisdom
Xapplys to the ECU procedure language :-)
X
X> From: guy@auspex.auspex.com (Guy Harris)
X> Newsgroups: comp.unix.questions
X> Subject: Re: Funny kill -9 behaviour
X> Message-ID: <3920@auspex.auspex.com>
X> Date: 18 Aug 90 21:27:07 GMT
X> References: <909@sagpd1.UUCP>
X> Organization: Auspex Systems, Santa Clara
X> Lines: 16
X> 
X> >What I want to know is why in the hay does this happen?
X> 
X> Because the C shell is flakier than a snowstorm.  To quote the BUGS
X> section of the SunOS 4.0.3 manual page (this quote is also in the S5R4
X> "csh" manual page):
X> 
X>      Although robust enough for general use, adventures into  the
X>      esoteric  periphery  of  the  C  shell may reveal unexpected
X>      quirks.
X> 
X> which translates as "the C shell is flakier than a snowstorm."
SHAR_EOF
$TOUCH -am 0718060091 'ESOTERIC' &&
chmod 0644 ESOTERIC ||
echo 'restore of ESOTERIC failed'
Wc_c="`wc -c < 'ESOTERIC'`"
test 835 -eq "$Wc_c" ||
	echo 'ESOTERIC: original size 835, current size' "$Wc_c"
rm -f _shar_wnt_.tmp
fi
# ============= Make.src ==============
if test -f 'Make.src' -a X"$1" != X"-c"; then
	echo 'x - skipping Make.src (File already exists)'
	rm -f _shar_wnt_.tmp
else
> _shar_wnt_.tmp
echo 'x - extracting Make.src (Text)'
sed 's/^X//' << 'SHAR_EOF' > 'Make.src' &&
X#+-------------------------------------------------------------------
X# Makefile - master Makefile for ecu and related programs
X# wht@n4hgf.Mt-Park.GA.US
X#--------------------------------------------------------------------
X#  VERY IMPORTANT
X#
X# This Makefile and other ECU Makefiles have the ability to remake
X# lint_args.h by 'make protos'' ...  but don't do it on other than an
X# SCO XENIX/386 system since Microsoft C 4.x is needed. MSC 5 cc
X# (SCO UNIX) -Zg has been broken since at least 5/89 and cannot do
X# the job ....  if you do try to remake lint_args.h, please do
X# squirrel away the release copy first.
X#--------------------------------------------------------------------
X#+:EDITS:*/
X#:07-25-1991-12:55-wht@n4hgf-ECU release 3.10
X#:04-21-1991-12:43-wht@n4hgf-convert to Make.src
X
XSHELL = /bin/sh
XPROGRAM = ecu
XINSTALLABLE = $(LBIN)/$(PROGRAM)
X
X.SUFFIXES:
X.SUFFIXES: .o .c .h .l
X.c.o:;	$(BINTIME) $(CC) -c $(CFLAGS) $*.c 
X
XECUSHARNAME=ecu310
XMANSHARNAME=ecuman310
X
XSRC	= \
X	bamboozle.c\
X	cmdtbl.c\
X	ecu.c\
X	ecuLCK.c\
X	ecuchdir.c\
X	ecudump.c\
X	ecufinsert.c\
X	ecufkey.c\
X	ecufork.c\
X	ecuDCE.c\
X	eculine.c\
X	eculock.c\
X	ecunumrev.c\
X	ecuicmaux.c\
X	ecuicmhelp.c\
X	ecuicmhist.c\
X	ecuicmd.c\
X	ecuphone.c\
X	ecuphrase.c\
X	ecurcvr.c\
X	ecuscrdump.c\
X	ecusetup.c\
X	ecushm.c\
X	ecusighdl.c\
X	ecutcap.c\
X	ecutime.c\
X	ecutty.c\
X	ecuuclc.c\
X	ecuusage.c\
X	ecuutil.c\
X	ecuwinutil.c\
X	ecuxenix.c\
X	ecuxfer.c\
X	esdutil.c\
X	fasiintf.c\
X	expresp.c\
X	feval.c\
X	gint.c\
X	gstr.c\
X	hdbintf.c\
X	logevent.c\
X	nonansikey.c\
X	pcmd.c\
X	pcmdif.c\
X	pcmdfile.c\
X	pcmdtty.c\
X	pcmdwhile.c\
X	pcmdxfer.c\
X	poutput.c\
X	pprintf.c\
X	proc.c\
X	proc_error.c\
X	procframe.c\
X	regexp.c\
X	utmpstat.c\
X	var.c
X
XOBJ	= \
X	bamboozle.o\
X	cmdtbl.o\
X	ecu.o\
X	ecuLCK.o\
X	ecudump.o\
X	ecuchdir.o\
X	ecufinsert.o\
X	ecufkey.o\
X	ecufork.o\
X	ecuDCE.o\
X	eculine.o\
X	eculock.o\
X	ecunumrev.o\
X	ecuicmaux.o\
X	ecuicmhelp.o\
X	ecuicmhist.o\
X	ecuicmd.o\
X	ecuphone.o\
X	ecuphrase.o\
X	ecurcvr.o\
X	ecuscrdump.o\
X	ecusetup.o\
X	ecushm.o\
X	ecusighdl.o\
X	ecutcap.o\
X	ecutime.o\
X	ecutty.o\
X	ecuuclc.o\
X	ecuusage.o\
X	ecuutil.o\
X	ecuwinutil.o\
X	ecuxenix.o\
X	ecuxfer.o\
X	esdutil.o\
X	fasiintf.o\
X	expresp.o\
X	feval.o\
X	gint.o\
X	gstr.o\
X	hdbintf.o\
X	logevent.o\
X	mkdirs.o\
X	nonansikey.o\
X	pcmd.o\
X	pcmdif.o\
X	pcmdfile.o\
X	pcmdtty.o\
X	pcmdwhile.o\
X	pcmdxfer.o\
X	poutput.o\
X	pprintf.o\
X	proc.o\
X	proc_error.o\
X	procframe.o\
X	regexp.o\
X	utmpstat.o\
X	var.o
X
XSHARFLS = \
X	README \
X	README.WY60 \
X	RELEASENOTES \
X	ANCIENTHISTORY \
X	Configure \
X	ESOTERIC \
X	Make.src */Make.src \
X	*.[ch] \
X	bperr/bperr.c \
X	help/{*.[ch],*.src} \
X	ecuungetty/*.[ch] \
X	z/*.[ch]\
X	sea/{*.[ch],*.{doc,imp}} \
X	gendial/{install_dialer,*.[ch]} \
X	fasi/{Makefile,Master,Node,PATCHLEVEL}\
X	fasi/{README,README.FASI,RELEASENOTES}\
X	fasi/{Space.c,System,digi-pc8.h,fas.c,idfasi}\
X	ecufriend/*.[ch] \
X	mapkey/README mapkey/keys.usa.ecu\
X	xsel386/* \
X	doc/{*.txt,runoff} models/* zgcc mkoldproto.l'
X
X#	fasi/{README,README.FASI,INSTALLATION,Inittab,Makefile,Makefile.ATT}\
X#	fasi/{Makefile.BELL,Makefile.ESIX,Makefile.ISC,Makefile.SCO}\
X#	fasi/{Makefile.SVR4,Makefile.X286,Makefile.X386,Makefile.uPort,Master}\
X#	fasi/{Node,PATCHLEVEL,RELEASENOTES,Space.c,System,config-ast4}\
X#	fasi/{config-ast4c12,config-c1-2,config-c1-3,config-hub6,digi-pc8.h}\
X#	fasi/{fas.c,fas.h,i_fas-ast4,i_fas-ast4c12,i_fas-c1-2,i_fas-c1-3}\
X#	fasi/{i_fas-hub6,idfasi,n_fas-ast4,n_fas-ast4c12,n_fas-c1-2,n_fas-c1-3}\
X#	fasi/{n_fas-hub6,s_fas-ast4,s_fas-ast4c12,s_fas-c1-2,s_fas-c1-3}\
X#	fasi/{s_fas-hub6,space-ast4,space-ast4c12,space-c1-2,space-c1-3}\
X#	fasi/{space-hub6,update_desc}\
X#
X
XMAKEDIRS_OBJ =\
X	makedirs.o\
X	mkdirs.o
X
Xall: $(PROGRAM) ecuhelp ecuug ecuz ecus kbdtest3 makedirs
X
X$(PROGRAM): $(OBJ)
X	echo 'char *makedate="'`date` $(SYSTEM)'";'  >makedate.c
X	$(CC) -c $(CFLAGS) makedate.c; rm makedate.c
X	rm -f $@; if [ -f $@ ]; then mv $@ $@~; fi
X	$(BINTIME) $(CC) -o $@ $(LDFLAGS) makedate.o $(OBJ) $(LIBS)
X	rm makedate.o
X
X$(OBJ): Makefile
X
Xtools: $(LBIN)/afterlint $(LBIN)/mkoldproto
X
Xecuhelp:
X	cd help;make
X
Xecuz:
X	cd z;make
X
Xecus:
X	cd sea;make
X
Xbperr/bperr: bperr/bperr.c
X	cd bperr;make bperr
X
Xecuug:
X	cd ecuungetty;make 
X
Xproc_error.c: ecuerror.h
X	make bperr/bperr
X	bperr/bperr
X
Xkbdtest3:
X	$(CC) -o $@ $(CFLAGS) kbdtest3.c
X
X$(OBJ): ecushm.h
X
Xecu.fls: $(SRC) Makefile
X	ls $(SRC) >ecu.fls
X
Xprotos: ecu.fls
X	echo ' ' > lint_args.h
X	csh zgcc ecu.fls lint_args.h $(CFLAGS)
X
Xmakedirs: $(MAKEDIRS_OBJ)
X	$(CC) -o $@ $(LDFLAGS) $(MAKEDIRS_OBJ) $(LIBS)
X
X# install ecu
Xiecu: makedirs
X	./makedirs -m 755 $(LBIN)
X	./makedirs -m 755 $(ECULIBDIR)
X	rm -f $(INSTALLABLE) $(INSTALLABLE)~
X	if [ -f $(INSTALLABLE) ]; then mv $(INSTALLABLE) $(INSTALLABLE)~; fi
X	cp $(PROGRAM) $(INSTALLABLE)
X	strip $(INSTALLABLE)
X	if [ -x /usr/bin/mcs ]; then /usr/bin/mcs -d $(INSTALLABLE); fi
X	chmod 711 $(INSTALLABLE)
X
X# install everything
Xinstall: all makedirs iecu ecuhelp ecuz ecus #run as root
X	cd ecuungetty; make install
X	cd z; make install
X	cd sea; make install
X	cd help; make install
X	@if [ ! -f /usr/lib/uucp/Devices ]; then \
X		cp models/*.mi $(ECULIBDIR); \
X		echo "==> edit $(ECULIBDIR)/*.mi for your tty lines per ecu.man"; \
X	fi
X
Xshar.fls:
X	csh -c 'ls $(SHARFLS) | sort > shar.fls'
X
X# for shar 3.46 or later
Xshar: shar.fls
X	csh -c 'shar -m -F -c -s "wht@n4hgf.Mt-Park.GA.US" -a \
X-n$(ECUSHARNAME) -L53 -o/tmp/$(ECUSHARNAME) $(SHARFLS)' 
X	shar -m -F -c -C -L53 -o/tmp/ecu3cker -s "wht@n4hgf.Mt-Park.GA.US" -a \
X-necu3cker ckermit/ckermit
X	shar -m -F -c -s "wht@n4hgf.Mt-Park.GA.US" -a \
X-n$(MANSHARNAME) -L53 -o/tmp/$(MANSHARNAME) doc/ecu.man doc/exits.man
X
X# tools for making ecu
X$(LBIN)/sysdep: sysdep.c	# uname -m undocumented on UNIX but works
X	@echo 'building sysdep for' `uname -p`
X	[ `uname -m` != i80286 ] || $(CC) -O -M2 sysdep.c -o $@
X	[ `uname -m`  = i80286 ] || $(CC) -O $(ISC) sysdep.c -o $@
X
X$(LBIN)/afterlint: afterlint.c
X	$(CC) -O afterlint.c -o $@
X
X$(LBIN)/mkoldproto: mkoldproto.l
X	lex mkoldproto.l
X	$(CC) lex.yy.c -ll -o $@
X	rm lex.yy.?
X
Xneat:
X	rm -f core Makefile.bak tags cscope.out config makedate.c makedate.o
X	-rm -f *~ *# *.orig *.rej make.log a.out
X	rm -f makedirs kbdtest kbdtest3
X	rm -f bperr/bperr
X	cd help;make neat
X	cd z;make neat
X	cd sea;make neat
X	cd ecuungetty;make neat
X
Xclean: neat
X	rm -f $(OBJ)
X	cd help;make clean
X	cd z;make clean
X	cd sea;make clean
X	cd ecuungetty;make clean
X
Xclobber: clean
X	rm -f $(PROGRAM) $(PROGRAM)~
X	cd help;make clobber
X	cd z;make clobber
X	cd sea;make clobber
X	cd ecuungetty;make clobber
X
X#regenerate .o:.h dependencies automatically
Xdepend:
X	rm -f depend.tmp
X	if test '$(SRC)' ;\
X	then (grep '^#include' $(SRC) \
X	| sed	-e 's?:[^<]*<\([^>]*\)>.*?: /usr/include/\1?'\
X		-e 's?:[^"]*"\([^"]*\)".*?: \1?'\
X		-e 's?\(.*\)\.c?\1.o?'\
X	 >> depend.tmp) ;\
X	fi
X
X	echo '/^# DO NOT DELETE THIS LINE' >exdep.tmp
X	echo '.+1,$$d' >>exdep.tmp
X	echo 'r depend.tmp' >> exdep.tmp
X	echo 'w' >> exdep.tmp
X	cp Makefile Makefile.new
X	ex Makefile.new < exdep.tmp
X	rm exdep.tmp depend.tmp
X	echo '# DEPENDENCIES MUST END AT END OF FILE' >>Makefile.new
X	echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY'>>Makefile.new
X	echo '# see make depend above'>>Makefile.new
X	mv Makefile Makefile.bak
X	mv Makefile.new Makefile
X	cd help;make depend
X	cd z;make depend
X	cd sea;make depend
X	cd ecuungetty;make depend
X
X# DO NOT DELETE THIS LINE
X# DEPENDENCIES MUST END AT END OF FILE
X# IF YOU PUT STUFF HERE IT WILL GO AWAY
X# see make depend above
SHAR_EOF
$TOUCH -am 0727160291 'Make.src' &&
chmod 0644 Make.src ||
echo 'restore of Make.src failed'
Wc_c="`wc -c < 'Make.src'`"
test 7326 -eq "$Wc_c" ||
	echo 'Make.src: original size 7326, current size' "$Wc_c"
rm -f _shar_wnt_.tmp
fi
# ============= ecufriend/Make.src ==============
if test ! -d 'ecufriend'; then
    echo 'x - creating directory ecufriend'
    mkdir 'ecufriend'
fi
if test -f 'ecufriend/Make.src' -a X"$1" != X"-c"; then
	echo 'x - skipping ecufriend/Make.src (File already exists)'
	rm -f _shar_wnt_.tmp
else
> _shar_wnt_.tmp
echo 'x - extracting ecufriend/Make.src (Text)'
sed 's/^X//' << 'SHAR_EOF' > 'ecufriend/Make.src' &&
X#----------------------------------------------------------------
X# Makefile for sample ecufriend
X# wht@n4hgf.Mt-Park.GA.US
X#----------------------------------------------------------------
X#+:EDITS:*/
X#:07-25-1991-12:56-wht@n4hgf-ECU release 3.10
X#:04-21-1991-12:05-wht@n4hgf-convert to Make.src
X
XSHELL = /bin/sh
XPROGRAM = ecufriend
X
X.SUFFIXES:
X.SUFFIXES: .c .o .h
X
X.c.o:;	$(BINTIME) $(CC) -c $(CFLAGS) $*.c 
X
XOBJ = $(PROGRAM).o
X
X$(OBJ): Makefile
X
X$(PROGRAM): $(OBJ)
X	$(BINTIME) $(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
X
Xclean:
X	rm -f $(OBJ) core Makefile.bak tags cscope.out
X
Xclobber: clean
X	rm -f $(PROGRAM)
X
SHAR_EOF
$TOUCH -am 0725125691 'ecufriend/Make.src' &&
chmod 0644 ecufriend/Make.src ||
echo 'restore of ecufriend/Make.src failed'
Wc_c="`wc -c < 'ecufriend/Make.src'`"
test 609 -eq "$Wc_c" ||
	echo 'ecufriend/Make.src: original size 609, current size' "$Wc_c"
rm -f _shar_wnt_.tmp
fi
# ============= ecuungetty/Make.src ==============
if test ! -d 'ecuungetty'; then
    echo 'x - creating directory ecuungetty'
    mkdir 'ecuungetty'
fi
if test -f 'ecuungetty/Make.src' -a X"$1" != X"-c"; then
	echo 'x - skipping ecuungetty/Make.src (File already exists)'
	rm -f _shar_wnt_.tmp
else
> _shar_wnt_.tmp
echo 'x - extracting ecuungetty/Make.src (Text)'
sed 's/^X//' << 'SHAR_EOF' > 'ecuungetty/Make.src' &&
X#+---------------------------------------------------------------
X# Makefile for ecuungetty
X# wht@n4hgf.Mt-Park.GA.US
X#
X# must be root to run make install
X#----------------------------------------------------------------
X#+:EDITS:*/
X#:07-25-1991-12:57-wht@n4hgf-ECU release 3.10
X#:04-21-1991-12:05-wht@n4hgf-convert to Make.src
X
XSHELL = /bin/sh
XPROGRAM = ecuungetty
XINSTALLABLE = $(ECULIBDIR)/$(PROGRAM)
X
X.SUFFIXES:
X.SUFFIXES: .c .o .h
X
X.c.o:;	$(BINTIME) $(CC) -c $(CFLAGS) $*.c 
X
XSRC = \
X	ecuungetty.c
X
XOBJ = \
X	../ecuuclc.o\
X	../ecuLCK.o\
X	../utmpstat.o\
X	../bamboozle.o\
X	ecuungetty.o
X
Xall: $(PROGRAM)
X
X$(PROGRAM): $(OBJ)
X	$(BINTIME) $(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
X
X$(OBJ): Makefile
X
Xinstall: $(PROGRAM)
X	../makedirs -m 755 $(ECULIBDIR)
X	rm -f $(INSTALLABLE)
X	if [ -f $(INSTALLABLE) ]; then mv $(INSTALLABLE) $(INSTALLABLE)~; fi
X	cp $(PROGRAM) $(INSTALLABLE)
X	strip $(INSTALLABLE)
X	if [ -x /usr/bin/mcs ]; then /usr/bin/mcs -d $(INSTALLABLE); fi
X	chown root $(INSTALLABLE)
X	chmod 4711 $(INSTALLABLE)
X
Xneat:
X	rm -f core Makefile.bak tags cscope.out 
X	-rm -f *~ *# *.orig *.rej make.log a.out
X
Xclean: neat
X	rm -f $(PROGRAM).o
X
Xclobber: clean
X	rm -f $(PROGRAM)
X
X../bamboozle.o: ../bamboozle.c
X	cd ..;make bamboozle.o
X
X../utmpstat.o: ../utmpstat.c
X	cd ..;make utmpstat.o
X
X../ecuuclc.o: ../ecuuclc.c
X	cd ..;make ecuuclc.o
X
X../ecuLCK.o: ../ecuLCK.c
X	cd ..;make ecuLCK.o
X
X#regenerate .o:.h dependencies automatically
Xdepend:
X	rm -f depend.tmp
X	if test '$(SRC)' ;\
X	then (grep '^#include' $(SRC) \
X	| sed	-e 's?:[^<]*<\([^>]*\)>.*?: /usr/include/\1?'\
X		-e 's?:[^"]*"\([^"]*\)".*?: \1?'\
X		-e 's?\(.*\)\.c?\1.o?'\
X	 >> depend.tmp) ;\
X	fi
X
X	echo '/^# DO NOT DELETE THIS LINE' >exdep.tmp
X	echo '.+1,$$d' >>exdep.tmp
X	echo 'r depend.tmp' >> exdep.tmp
X	echo 'w' >> exdep.tmp
X	cp Makefile Makefile.new
X	ex Makefile.new < exdep.tmp
X	rm exdep.tmp depend.tmp
X	echo '# DEPENDENCIES MUST END AT END OF FILE' >>Makefile.new
X	echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY'>>Makefile.new
X	echo '# see make depend above'>>Makefile.new
X	mv Makefile Makefile.bak
X	mv Makefile.new Makefile
X
X# DO NOT DELETE THIS LINE
X# DEPENDENCIES MUST END AT END OF FILE
X# IF YOU PUT STUFF HERE IT WILL GO AWAY
X# see make depend above
SHAR_EOF
$TOUCH -am 0725125791 'ecuungetty/Make.src' &&
chmod 0644 ecuungetty/Make.src ||
echo 'restore of ecuungetty/Make.src failed'
Wc_c="`wc -c < 'ecuungetty/Make.src'`"
test 2205 -eq "$Wc_c" ||
	echo 'ecuungetty/Make.src: original size 2205, current size' "$Wc_c"
rm -f _shar_wnt_.tmp
fi
# ============= gendial/Make.src ==============
if test ! -d 'gendial'; then
    echo 'x - creating directory gendial'
    mkdir 'gendial'
fi
if test -f 'gendial/Make.src' -a X"$1" != X"-c"; then
	echo 'x - skipping gendial/Make.src (File already exists)'
	rm -f _shar_wnt_.tmp
else
> _shar_wnt_.tmp
echo 'x - extracting gendial/Make.src (Text)'
sed 's/^X//' << 'SHAR_EOF' > 'gendial/Make.src' &&
X#+-------------------------------------------------------------------
X# ECU generic dialer makefile
X# wht@n4hgf.Mt-Park.GA.US
X#
X# you must be root to run this
X# edit PROGRAMS to choose the dialers you want
X#--------------------------------------------------------------------
X#+:EDITS:*/
X#:07-25-1991-12:58-wht@n4hgf-ECU release 3.10
X#:04-21-1991-12:05-wht@n4hgf-convert to Make.src
X
XPROGRAMS = \
X	dialgHA24 
X
XSHELL = /bin/sh
X
XCFLAGS_EXTRA = -DHDB_UUCP
XUUCPLIB = /usr/lib/uucp
X
X.SUFFIXES:
X.SUFFIXES: .c .o .h
X.c.o:;	$(BINTIME) $(CC) -c $(CFLAGS) $*.c 
X
Xall:    $(PROGRAMS)
X
XdialgMC9624: gendial.o dceMC9624.o
X	$(BINTIME) $(CC) $(LDFLAGS) gendial.o dceMC9624.o $(LIBS) -o $@
X
XdialgTBPlus: gendial.o dceTBPlus.o
X	$(BINTIME) $(CC) $(LDFLAGS) gendial.o dceTBPlus.o $(LIBS) -o $@
X
XdialgMPAD: gendial.o dceMPAD.o
X	$(BINTIME) $(CC) $(LDFLAGS) gendial.o dceMPAD.o $(LIBS) -o $@
X
XdialgT2500: gendial.o dceT2500.o
X	$(BINTIME) $(CC) $(LDFLAGS) gendial.o dceT2500.o $(LIBS) -o $@
X
XdialgT1000: gendial.o dceT1000.o
X	$(BINTIME) $(CC) $(LDFLAGS) gendial.o dceT1000.o $(LIBS) -o $@
X
XdialgHA24: gendial.o dceHA24.o
X	$(BINTIME) $(CC) $(LDFLAGS) gendial.o dceHA24.o $(LIBS) -o $@
X
XdialgUSR24: gendial.o dceUSR24.o
X	$(BINTIME) $(CC) $(LDFLAGS) gendial.o dceUSR24.o $(LIBS) -o $@
X
Xinstall: $(PROGRAMS)
X	@for i in $(PROGRAMS); do install_dialer $(UUCPLIB) $$i; done
X
Xclean:
X	rm -f *.o core Makefile.bak tags cscope.out
X
Xclobber: clean
X	rm -f dialg*
X
X#regenerate .o:.h dependencies automatically
Xdepend:
X# none at this time
SHAR_EOF
$TOUCH -am 0725125891 'gendial/Make.src' &&
chmod 0644 gendial/Make.src ||
echo 'restore of gendial/Make.src failed'
Wc_c="`wc -c < 'gendial/Make.src'`"
test 1501 -eq "$Wc_c" ||
	echo 'gendial/Make.src: original size 1501, current size' "$Wc_c"
rm -f _shar_wnt_.tmp
fi
# ============= help/Make.src ==============
if test ! -d 'help'; then
    echo 'x - creating directory help'
    mkdir 'help'
fi
if test -f 'help/Make.src' -a X"$1" != X"-c"; then
	echo 'x - skipping help/Make.src (File already exists)'
	rm -f _shar_wnt_.tmp
else
> _shar_wnt_.tmp
echo 'x - extracting help/Make.src (Text)'
sed 's/^X//' << 'SHAR_EOF' > 'help/Make.src' &&
X#  CHK=0xFF6D
X#+---------------------------------------------------------------
X# Makefile for helpgen (ecu help system)
X#----------------------------------------------------------------
X#+:EDITS:*/
X#:07-25-1991-12:58-wht@n4hgf-ECU release 3.10
X#:04-21-1991-13:31-wht@n4hgf-convert to Make.src
X
XSHELL = /bin/sh
XPROGRAM = helpgen
X
X.SUFFIXES:
X.SUFFIXES: .c .o .h
X.c.o:;	$(BINTIME) $(CC) -c $(CFLAGS) $*.c 
X
XSRC	= \
X	$(PROGRAM).c\
X	util.c
X
XOBJ	= \
X	$(PROGRAM).o\
X	util.o
X
Xall: $(PROGRAM) ecuhelp.data # ecuhelp.doc
X
X$(PROGRAM): $(OBJ)
X	$(BINTIME) $(CC) $(LDFLAGS) $(OBJ) $(LIBS) -o $(PROGRAM) 
X
X$(OBJ): Makefile
X
Xecuhelp.data: ecuhelp.src $(PROGRAM)
X	./$(PROGRAM) -b
X
Xecuhelp.doc: ecuhelp.src $(PROGRAM)
X	./$(PROGRAM) -d
X
X$(PROGRAM).fls: $(SRC)
X	ls $(SRC) >$(PROGRAM).fls
X
Xinstall:
X	../makedirs -m 755 $(ECULIBDIR)
X	cp ecuhelp.data $(ECULIBDIR)
X	chmod 755 $(ECULIBDIR)/ecuhelp.data
X
Xneat:
X	rm -f core Makefile.bak tags cscope.out
X	-rm -f *~ *# *.orig *.rej make.log a.out
X
Xclean: neat
X	rm -f $(OBJ)
X
Xclobber: clean
X	rm -f $(PROGRAM) ecuhelp.data ecuhelp.doc
X
X#MSC -Zg is broken and even my kludge mechanism can't make this one
X#anymore.  Decommitted until some future day.
X#protos: lint_args.h
X#
X#lint_args.h: $(PROGRAM).fls
X#	echo > lint_args.h
X#	csh ../zgcc $(PROGRAM).fls lint_args.h $(CFLAGS)
X
X#
X# MAKE DEPEND: regenerate .c:.h, .ol:.c, .ol:.asm dependencies automatically
X#
Xdepend: Makefile
X
XMakefile: $(SRC)
X	rm -f depend.tmp
X	if test '$(SRC)' ;\
X	then (grep '^#include' $(SRC) \
X	| sed	-e 's?:[^<]*<\([^>]*\)>.*?: /usr/include/\1?'\
X		-e 's?:[^"]*"\([^"]*\)".*?: \1?'\
X		-e 's?\(.*\)\.c?\1.o?'\
X	 >> depend.tmp) ;\
X	fi
X
X	echo '/^# DO NOT DELETE THIS LINE' >exdep.tmp
X	echo '.+1,$$d' >>exdep.tmp
X	echo 'r depend.tmp' >> exdep.tmp
X	echo 'w' >> exdep.tmp
X	cp Makefile Makefile.new
X	ex Makefile.new < exdep.tmp
X	rm exdep.tmp depend.tmp
X	echo '# DEPENDENCIES MUST END AT END OF FILE' >>Makefile.new
X	echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY'>>Makefile.new
X	echo '# see make depend above'>>Makefile.new
X	mv Makefile Makefile.bak
X	mv Makefile.new Makefile
X
X# DO NOT DELETE THIS LINE
X# DEPENDENCIES MUST END AT END OF FILE
X# IF YOU PUT STUFF HERE IT WILL GO AWAY
X# see make depend above
SHAR_EOF
$TOUCH -am 0725125891 'help/Make.src' &&
chmod 0644 help/Make.src ||
echo 'restore of help/Make.src failed'
Wc_c="`wc -c < 'help/Make.src'`"
test 2188 -eq "$Wc_c" ||
	echo 'help/Make.src: original size 2188, current size' "$Wc_c"
rm -f _shar_wnt_.tmp
fi
# ============= sea/Make.src ==============
if test ! -d 'sea'; then
    echo 'x - creating directory sea'
    mkdir 'sea'
fi
if test -f 'sea/Make.src' -a X"$1" != X"-c"; then
	echo 'x - skipping sea/Make.src (File already exists)'
	rm -f _shar_wnt_.tmp
else
> _shar_wnt_.tmp
echo 'x - extracting sea/Make.src (Text)'
sed 's/^X//' << 'SHAR_EOF' > 'sea/Make.src' &&
X#  CHK=0x8F7A
X#+----------------------------------------------------------
X# Makefile for ecusea
X# wht@n4hgf.Mt-Park.GA.US
X#-----------------------------------------------------------
X#+:EDITS:*/
X#:07-25-1991-12:59-wht@n4hgf-ECU release 3.10
X#:04-21-1991-12:05-wht@n4hgf-convert to Make.src
X
XSHELL = /bin/sh
XPROGRAM = ecusea
XINSTALLABLE = $(LBIN)/$(PROGRAM)
X
X.SUFFIXES:
X.SUFFIXES: .c .o .h
X
X.c.o:;	$(BINTIME) $(CC) -c $(CFLAGS) $*.c 
X
XSRC = \
X	ecusea.c\
X	scurses.c
X
XOBJ = \
X	ecusea.o\
X	scurses.o
X
X$(PROGRAM): $(OBJ) Makefile
X	$(BINTIME) $(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS)
X
X$(OBJ): Makefile
X
Xinstall:
X	../makedirs -m 755 $(LBIN)
X	-chmod 755 $(LBIN)
X	rm -f $(INSTALLABLE) $(INSTALLABLE)~
X	if [ -f $(INSTALLABLE) ]; then mv $(INSTALLABLE) $(INSTALLABLE)~; fi
X	cp $(PROGRAM) $(INSTALLABLE)
X	strip $(INSTALLABLE)
X	if [ -x /usr/bin/mcs ]; then /usr/bin/mcs -d $(INSTALLABLE); fi
X	chmod 711 $(INSTALLABLE)
X
Xneat:
X	rm -f core Makefile.bak tags cscope.out
X	-rm -f *~ *# *.orig *.rej make.log a.out
X
Xclean: neat
X	rm -f $(OBJ)
X
Xclobber: clean
X	rm -f $(PROGRAM)
X
X$(PROGRAM).fls: $(SRC)
X	ls $(SRC) >$(PROGRAM).fls
X
Xprotos: lint_args.h
X
Xlint_args.h:
X	echo > lint_args.h
X	csh ../zgcc $(PROGRAM).fls lint_args.h $(CFLAGS)
X
X#regenerate .o:.h dependencies automatically
Xdepend:
X	rm -f depend.tmp
X	if test '$(SRC)' ;\
X	then (grep '^#include' $(SRC) \
X	| sed	-e 's?:[^<]*<\([^>]*\)>.*?: /usr/include/\1?'\
X		-e 's?:[^"]*"\([^"]*\)".*?: \1?'\
X		-e 's?\(.*\)\.c?\1.o?'\
X	 >> depend.tmp) ;\
X	fi
X
X	echo '/^# DO NOT DELETE THIS LINE' >exdep.tmp
X	echo '.+1,$$d' >>exdep.tmp
X	echo 'r depend.tmp' >> exdep.tmp
X	echo 'w' >> exdep.tmp
X	cp Makefile Makefile.new
X	ex Makefile.new < exdep.tmp
X	rm exdep.tmp depend.tmp
X	echo '# DEPENDENCIES MUST END AT END OF FILE' >>Makefile.new
X	echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY'>>Makefile.new
X	echo '# see make depend above'>>Makefile.new
X	mv Makefile Makefile.bak
X	mv Makefile.new Makefile
X
X# DO NOT DELETE THIS LINE
X
SHAR_EOF
$TOUCH -am 0725125991 'sea/Make.src' &&
chmod 0644 sea/Make.src ||
echo 'restore of sea/Make.src failed'
Wc_c="`wc -c < 'sea/Make.src'`"
test 1938 -eq "$Wc_c" ||
	echo 'sea/Make.src: original size 1938, current size' "$Wc_c"
rm -f _shar_wnt_.tmp
fi
# ============= z/Make.src ==============
if test ! -d 'z'; then
    echo 'x - creating directory z'
    mkdir 'z'
fi
if test -f 'z/Make.src' -a X"$1" != X"-c"; then
	echo 'x - skipping z/Make.src (File already exists)'
	rm -f _shar_wnt_.tmp
else
> _shar_wnt_.tmp
echo 'x - extracting z/Make.src (Text)'
sed 's/^X//' << 'SHAR_EOF' > 'z/Make.src' &&
X#  CHK=0xC8A5
X#+-------------------------------------------------------------------
X# Makefile for ecurz/ecusz (ecu file transfer)
X# wht@n4hgf.Mt-Park.GA.US
X#--------------------------------------------------------------------
X#+:EDITS:*/
X#:07-25-1991-12:59-wht@n4hgf-ECU release 3.10
X#:04-21-1991-12:05-wht@n4hgf-convert to Make.src
X
XSHELL = /bin/sh
XINSTALLED_SZ = $(LBIN)/ecusz
XINSTALLED_RZ = $(LBIN)/ecurz
X
X.SUFFIXES:
X.SUFFIXES: .c .o .h
X
X.c.o:;	$(BINTIME) $(CC) -c $(CFLAGS) $*.c 
XCFLAGS_EXTRA = -DMD -DREADCHECK -DLOG_XFER
X
X
XCOM_SRC = \
X	zcommon.c\
X	zmodem.c\
X	zcurses.c\
X	baudtest.c\
X	zdebug.c
X
XCOM_OBJ = \
X	zcommon.o\
X	zmodem.o\
X	zcurses.o\
X	baudtest.o\
X	../logevent.o
X
Xall: ecusz ecurz
X
Xecusz: ecusz.o $(COM_OBJ)
X	echo 'char *makedate="'`date` $(SYSTEM)'";'  >ecuszmake.c
X	$(CC) -c $(CFLAGS) ecuszmake.c ; rm ecuszmake.c
X	$(BINTIME) $(CC) -o $@ $(LDFLAGS) ecusz.o ecuszmake.o $(COM_OBJ) $(LIBS)
X	rm -f ecuszmake.o
X
Xecurz: ecurz.o $(COM_OBJ)
X	echo 'char *makedate="'`date` $(SYSTEM)'";'  >ecurzmake.c
X	$(CC) -c $(CFLAGS) ecurzmake.c ; rm ecurzmake.c
X	$(BINTIME) $(CC) -o $@ $(LDFLAGS) ecurz.o ecurzmake.o $(COM_OBJ) $(LIBS) 
X	rm -f ecurzmake.o
X
Xecusz.o ecurz.o $(COM_OBJ): Makefile
X
Xinstall: ecusz ecurz
X	../makedirs -m 755 $(LBIN)
X	-chmod 755 $(LBIN)
X	rm -f $(INSTALLED_SZ) $(INSTALLED_SZ)~
X	if [ -f $(INSTALLED_SZ) ]; then mv $(INSTALLED_SZ) $(INSTALLED_SZ)~; fi
X	cp ecusz $(INSTALLED_SZ)
X	strip $(INSTALLED_SZ)
X	if [ -x /usr/bin/mcs ]; then /usr/bin/mcs -d $(INSTALLED_SZ); fi
X	chmod 711 $(INSTALLED_SZ)
X	rm -f $(INSTALLED_RZ) $(INSTALLED_RZ)~
X	if [ -f $(INSTALLED_RZ) ]; then mv $(INSTALLED_RZ) $(INSTALLED_RZ)~; fi
X	cp ecurz $(INSTALLED_RZ)
X	strip $(INSTALLED_RZ)
X	if [ -x /usr/bin/mcs ]; then /usr/bin/mcs -d $(INSTALLED_RZ); fi
X	chmod 711 $(INSTALLED_RZ)
X
Xneat:
X	rm -f core Makefile.bak tags cscope.out
X	rm -f ecuszmake.c ecuszmake.o ecurzmake.c ecurzmake.o
X	-rm -f *~ *# *.orig *.rej make.log a.out
X
Xclean: neat
X	rm -f $(OBJ)
X
Xclobber: clean
X	rm -f ecusz ecurz
X
Xcomsrc.fls: $(COM_SRC) Makefile
X	ls $(COM_SRC) > comsrc.fls
X
Xprotos: lint_args.h
X
Xlint_args.h: 
X	echo ' ' > lint_args.h
X	csh ../zgcc comsrc.fls lint_args.h $(CFLAGS)
X
X../logevent.o:
X	cd ..;make logevent.o
X
X#
X# MAKE DEPEND: regenerate .c:.h, .ol:.c, .ol:.asm dependencies automatically
X#
Xdepend:
X	rm -f depend.tmp
X	if test '$(COM_SRC)' ;\
X	then (grep '^#include' $(COM_SRC) \
X	| sed	-e 's?:[^<]*<\([^>]*\)>.*?: /usr/include/\1?'\
X		-e 's?:[^"]*"\([^"]*\)".*?: \1?'\
X		-e 's?\(.*\)\.c?\1.o?'\
X	 >> depend.tmp) ;\
X	fi
X
X	echo '/^# DO NOT DELETE THIS LINE' >exdep.tmp
X	echo '.+1,$$d' >>exdep.tmp
X	echo 'r depend.tmp' >> exdep.tmp
X	echo 'w' >> exdep.tmp
X	cp Makefile Makefile.new
X	ex Makefile.new < exdep.tmp
X	rm exdep.tmp depend.tmp
X	echo '# DEPENDENCIES MUST END AT END OF FILE' >>Makefile.new
X	echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY'>>Makefile.new
X	echo '# see make depend above'>>Makefile.new
X	mv Makefile Makefile.bak
X	mv Makefile.new Makefile
X
X# DO NOT DELETE THIS LINE
X# DEPENDENCIES MUST END AT END OF FILE
X# IF YOU PUT STUFF HERE IT WILL GO AWAY
X# see make depend above
SHAR_EOF
$TOUCH -am 0725125991 'z/Make.src' &&
chmod 0644 z/Make.src ||
echo 'restore of z/Make.src failed'
Wc_c="`wc -c < 'z/Make.src'`"
test 3057 -eq "$Wc_c" ||
	echo 'z/Make.src: original size 3057, current size' "$Wc_c"
rm -f _shar_wnt_.tmp
fi
# ============= afterlint.c ==============
if test -f 'afterlint.c' -a X"$1" != X"-c"; then
	echo 'x - skipping afterlint.c (File already exists)'
	rm -f _shar_wnt_.tmp
else
> _shar_wnt_.tmp
echo 'x - extracting afterlint.c (Text)'
sed 's/^X//' << 'SHAR_EOF' > 'afterlint.c' &&
X/* CHK=0xC2C5 */
X/*+-------------------------------------------------------------------------
X	afterlint.c -- process -Zg output
X
XUse with zgcc:
X
X	#!/bin/csh
X	#zgcc -- build prototyping "__STDC__"
X	echo C sources in $1';' result file $2
X	rm -f zg.t
X	foreach i(`cat $1`)
X	cc -DBUILDING_PROTOTYPES -Zg $argv[3-] $i > zg1.t
X	sort zg1.t > zg2.t
X	echo '/ *' $i '* /' >> zg.t    #remove spaces inside comment markers
X	cat zg2.t >> zg.t
X	end
X	afterlint zg.t $2
X	rm -f zg.t zg?.t
X	echo Output in $2
X
X--------------------------------------------------------------------------*/
X/*+:EDITS:*/
X/*:07-25-1991-12:55-wht@n4hgf-ECU release 3.10 */
X/*:01-09-1991-22:31-wht@n4hgf-ISC port */
X/*:11-18-1990-21:15-wht@n4hgf-clobber 'extern  ' in prototypes */
X/*:07-13-1988-19:50-wht-creation */
X
X#include <stdio.h>
X
X#define ff fprintf
X
X#ifdef BSD4
X#include <sys/time.h>
X#define strchr index
X#define strrchr rindex
Xchar *index();
Xchar *rindex();
X/**************************/
X#else	/* assuming XENIX */
X/**************************/
X#include <time.h>
X#include <sys/types.h>
X#include <sys/timeb.h>
Xchar *strchr();
Xchar *strrchr();
X#endif	/* system dependencies */
X
Xlong time();
Xstruct tm *localtime();
X
X/*+-------------------------------------------------------------------------
X	emit_editnote(fp)
X--------------------------------------------------------------------------*/
Xvoid
Xemit_editnote(fp)
XFILE	*fp;
X{
X	struct tm *ltime;
X	long cur_time;
X#ifdef XENIX
X#ifdef MESSED_UP_DST
X	struct timeb tp;
X#endif
X#endif
X
X	cur_time = time((long *)0);
X
X#ifdef XENIX
X#ifdef MESSED_UP_DST
X	ftime(&tp);				/* localtime() does not know about DST */
X	if(tp.dstflag)			/* so we adjust with ftime, which does know */
X		cur_time += 3600L;	/* problem in BSD too, but no ftime there */
X#endif
X#endif
X
X	ltime = localtime(&cur_time);
X
X	fputs("/*+:EDITS:*/\n",fp);
X
X	ff(fp,"/*:%02d-%02d-%04d-%02d:%02d-afterlint-creation */\n",
X	    ltime->tm_mon+1,ltime->tm_mday,ltime->tm_year + 1900,
X	    ltime->tm_hour,ltime->tm_min);
X
X}	/* end of emit_editnote */
X
X/*+-------------------------------------------------------------------------
X	main(argc,argv,envp)
X--------------------------------------------------------------------------*/
Xmain(argc,argv,envp)
Xint argc;
Xchar **argv;
Xchar **envp;
X{
X	register char *cptr;
X	register FILE *fpin;
X	register FILE *fpout;
X	char buf[256];
X	char *basename;
X
X	if(argc < 2)
X	{
X		ff(stderr,"usage: afterlint <infile> [<outfile>]\n");
X		ff(stderr,"if outfile not supplied, output is to stdout\n");
X		exit(1);
X	}
X
X	if(!(fpin = fopen(argv[1],"r")))
X	{
X		perror(argv[1]);
X		exit(1);
X	}
X
X	if(argc > 2)
X	{
X		if(!(fpout = fopen(argv[2],"w")))
X		{
X			perror(argv[2]);
X			exit(1);
X		}
X		basename = argv[2];
X	}
X	else
X		fpout = stdout;
X
X	ff(fpout,
X	    "/*+-----------------------------------------------------------------------\n");
X	if(argc > 2)
X		ff(fpout,"\t%s\n",basename);
X	else
X		ff(fpout,"\tfunction declarations\n",basename);
X	ff(fpout,
X	    "------------------------------------------------------------------------*/\n");
X
X	emit_editnote(fpout);
X	ff(fpout,"\n");
X	ff(fpout,"#ifndef BUILDING_PROTOTYPES\n");
X	ff(fpout,"#ifdef __STDC__\n\n");
X
X	while(fgets(buf,sizeof(buf),fpin))
X	{
X		cptr = (strncmp(buf,"/*global*/  ",12)) ? buf : buf + 12;
X		cptr = (strncmp(buf,"extern  ",8)) ? cptr : cptr + 8;
X		cptr = (strncmp(buf,"static  ",8)) ? cptr : cptr + 8;
X		fputs(cptr,fpout);
X	}
X
X	ff(fpout,"\n#else\t\t/* compiler doesn't know about prototyping */\n\n");
X
X	fclose(fpin);
X	fpin = fopen(argv[1],"r");
X
X	while(fgets(buf,sizeof(buf),fpin))
X	{
X		cptr = (strncmp(buf,"/*global*/  ",12)) ? buf : buf + 12;
X		cptr = (strncmp(buf,"extern  ",8)) ? cptr : cptr + 8;
X		cptr = (strncmp(buf,"static  ",8)) ? cptr : cptr + 8;
X		if(strncmp(cptr,"int ",4))
X		{
X			if(strchr(cptr,'('))
X			{
X				while(*cptr != '(')
X					fputc(*cptr++,fpout);
X				fputs("();\n",fpout);
X			}
X			else
X				fputs(cptr,fpout);
X		}
X	}
X
X	ff(fpout,"\n#endif /* __STDC__ */\n");
X	ff(fpout,"#endif /* BUILDING_PROTOTYPES */\n");
X	ff(fpout,"\n/* end of %s */\n",
X	    (argc > 2) ? basename : "function declarations");
X
X	fclose(fpin);
X	fclose(fpout);
X	exit(0);
X}	/* end of main */
X
X/* vi: set tabstop=4 shiftwidth=4: */
SHAR_EOF
$TOUCH -am 0725125591 'afterlint.c' &&
chmod 0644 afterlint.c ||
echo 'restore of afterlint.c failed'
Wc_c="`wc -c < 'afterlint.c'`"
test 4152 -eq "$Wc_c" ||
	echo 'afterlint.c: original size 4152, current size' "$Wc_c"
rm -f _shar_wnt_.tmp
fi
# ============= bamboozle.c ==============
if test -f 'bamboozle.c' -a X"$1" != X"-c"; then
	echo 'x - skipping bamboozle.c (File already exists)'
	rm -f _shar_wnt_.tmp
else
> _shar_wnt_.tmp
echo 'x - extracting bamboozle.c (Text)'
sed 's/^X//' << 'SHAR_EOF' > 'bamboozle.c' &&
X/*+-------------------------------------------------------------------------
X	bamboozle.c - ecu/ecuungetty protection scheme
X	wht@n4hgf.Mt-Park.GA.US
X--------------------------------------------------------------------------*/
X/*+:EDITS:*/
X/*:07-25-1991-12:55-wht@n4hgf-ECU release 3.10 */
X/*:01-09-1991-22:31-wht@n4hgf-ISC port */
X/*:01-09-1991-21:05-wht@n4hgf-no prototype for crypt if not __STDC__ */
X/*:08-14-1990-20:39-wht@n4hgf-ecu3.00-flush old edit history */
X
X#ifdef __STDC__
Xchar *crypt(char *,char *);
X#else
Xchar *crypt();
X#endif
X
X
X/*+-------------------------------------------------------------------------
X	bamboozle(pid) - build encrypted string based on 'pid'
X
XIf crypt not used, do something pretty basic  (probably enough)
XIf you are paranoid, don't use _ANY_ of these algorithms exactly
X--------------------------------------------------------------------------*/
Xchar *
Xbamboozle(pid)
Xint pid;
X{
X#if defined(CRYPT)
Xchar pidstr[16];
Xchar *cptr;
X
X	sprintf(pidstr,"z%08d",pid);
X	pidstr[0] = 'G';	/* fool strings searchers */
X	cptr = crypt(pidstr,"ba");
X	return(cptr);
X#else				/* probably enough */
Xstatic char pidstr[16];
X	sprintf(pidstr,"b%09da",(int)(((long)pid * 4) / 5));
X	return(pidstr);
X#endif
X
X#ifdef VARIANT_1	/* very paranoid */
Xchar pidstr[16];
Xchar *cptr;
X	sprintf(pidstr,"z%08d",pid);
X	pidstr[0] = 0xFF;	/* fool strings searchers */
X	cptr = crypt(pidstr,pidstr);
X	return(cptr);
X#endif
X#ifdef VARIANT_2	/* not paranoid at all */
Xchar pidstr[16];
X	sprintf(pidstr,"z%08d",pid - 2);
X#endif
X#ifdef VARIANT_3	/* invite trouble :-) */
X	return("I_am_easy");
X#endif
X
X}	/* end of bamboozle */
X
X
X/* vi: set tabstop=4 shiftwidth=4: */
X/* end of bamboozle.c */
SHAR_EOF
$TOUCH -am 0725125591 'bamboozle.c' &&
chmod 0644 bamboozle.c ||
echo 'restore of bamboozle.c failed'
Wc_c="`wc -c < 'bamboozle.c'`"
test 1678 -eq "$Wc_c" ||
	echo 'bamboozle.c: original size 1678, current size' "$Wc_c"
rm -f _shar_wnt_.tmp
fi
# ============= cmdtbl.c ==============
if test -f 'cmdtbl.c' -a X"$1" != X"-c"; then
	echo 'x - skipping cmdtbl.c (File already exists)'
	rm -f _shar_wnt_.tmp
else
> _shar_wnt_.tmp
echo 'x - extracting cmdtbl.c (Text)'
sed 's/^X//' << 'SHAR_EOF' > 'cmdtbl.c' &&
X/*+-------------------------------------------------------------------------
X	cmdtbl.c - interactive/procedure command table data
X	wht@n4hgf.Mt-Park.GA.US
X--------------------------------------------------------------------------*/
X/*+:EDITS:*/
X/*:07-25-1991-12:55-wht@n4hgf-ECU release 3.10 */
X/*:03-25-1991-11:40-wht@n4hgf-get termio.h for ecucmd.h conditonal compile */
X/*:08-14-1990-20:39-wht@n4hgf-ecu3.00-flush old edit history */
X
X#include "ecu.h"
X#define DECLARE_P_CMD
X#include "ecucmd.h"
X
X/* vi: set tabstop=4 shiftwidth=4: */
X/* end of cmdtbl.c */
SHAR_EOF
$TOUCH -am 0725125591 'cmdtbl.c' &&
chmod 0644 cmdtbl.c ||
echo 'restore of cmdtbl.c failed'
Wc_c="`wc -c < 'cmdtbl.c'`"
test 558 -eq "$Wc_c" ||
	echo 'cmdtbl.c: original size 558, current size' "$Wc_c"
rm -f _shar_wnt_.tmp
fi
# ============= config.c ==============
if test -f 'config.c' -a X"$1" != X"-c"; then
	echo 'x - skipping config.c (File already exists)'
	rm -f _shar_wnt_.tmp
else
> _shar_wnt_.tmp
echo 'x - extracting config.c (Text)'
sed 's/^X//' << 'SHAR_EOF' > 'config.c' &&
X/* CHK=0xD40E */
Xchar *rev = "3.10";
X/*+-------------------------------------------------------------------------
X	config.c - Makefile configuration program for ECU
X	wht@n4hgf.Mt-Park.GA.US
X
XThere are a few tricks in here for SCO multi-target development
Xsystem.  If you compile this on a UNIX system, but specify the
Xtarget for a XENIX system, you get the cc -xenix switch.  You
Xalso get -Dconst= to avoid banging into some problems with the
XXENIX stuff in the header files.
X
X  Defined functions:
X	gen_cc_cflags()
X	gen_gcc_cflags()
X	gen_isc_ldflags()
X	gen_sco_ldflags()
X	generate_config(mdir)
X	goodbye(sig)
X	main(argc,argv)
X	tgetc()
X	tgetopt(prompt,choices)
X	tgets(buf)
X	tputstrs(strs)
X	tputstrsfp(strs)
X
X--------------------------------------------------------------------------*/
X/*+:EDITS:*/
X/*:07-25-1991-12:55-wht@n4hgf-ECU release 3.10 */
X/*:07-12-1991-14:02-wht@n4hgf-GCC140 update */
X/*:05-02-1991-02:46-wht@n4hgf-take out M_TERMCAP in favor of ecucurses.h */
X/*:04-28-1991-03:44-wht@n4hgf-add -Dconst= for X286 under UNIX */
X/*:04-20-1991-17:26-wht@n4hgf-creation */
X
X#include <stdio.h>
X#include <ctype.h>
X#include <string.h>
X#include <termio.h>
X#include <sys/types.h>
X#include <sys/stat.h>
X
X#define S_SCO		0
X#define S_ISC		1
X
X#define X_X286		0
X#define X_X386		1
X#define X_UNIX		2
X
X#define C_CC		0
X#define C_GCC		1
X
Xstruct termio tty0;
Xstruct termio tty1;
X#define setty(arg) ioctl(0,TCSETAW,(arg) ? (char *)&tty1 : (char *)&tty0)
X
Xchar *makedirs[] = {
X	".",
X	"./ecufriend",
X	"./ecuungetty",
X	"./gendial",
X	"./help",
X	"./sea",
X	"./z",
X	(char *)0
X};
X
Xchar *strs_intro[] = {
X	"\n",
X	".-------------------.\n",
X	"| ECU configuration |\n",
X	"`-------------------'\n",
X	"There are two types of responses, single character and string\n",
X	"Single character questions have the choices in () followed by a ?\n",
X	"String questions (with any defaults in []) are followed by a :\n",
X	"If you wish to use the default for a string question, just press CR\n",
X	"\n",
X	"Abort (DEL, ^C, etc.) now if you do not wish to continue\n",
X	(char *)0
X};
X
Xchar *strs_mkdep[] = {
X	"\n",
X	"You are ready to make the program. It make take a while (now is a good\n",
X	"time to Read The Fine Manual).\n",
X	"\n",
X	"You MAY wish to make depend first.  It is not necessary to do this\n",
X	"until you make source modifications or apply patches.\n",
X	(char *)0
X};
X	
X
Xchar *sco_cc_opts[] = {
X	"\t-M2let128 -LARGE\\\n",			/* XENIX/286 */
X	"\t-M3e\\\n",						/* XENIX/386 */
X	"\t-M3e\\\n"						/* UNIX/386 */
X};
X
Xchar *sco_cc_optim[] = {
X	"\t-Ot\\\n",						/* XENIX/286 */
X	"\t-Octl -CSON\\\n",				/* XENIX/386 */
X	"\t-Octl -CSON\\\n"					/* UNIX/386 */
X};
X
Xchar *sco_sigtype[] = {
X	"\t-DSIGTYPE=int\\\n",				/* XENIX/286 */
X	"\t-DSIGTYPE=void\\\n",				/* XENIX/386 */
X	"\t-DSIGTYPE=void\\\n"				/* UNIX/386 */
X};
X
X/*
X * GCC CFLAGS
X */
Xchar *gcc_opts[] = {
X#ifdef PEDANTIC
X	"\t-pedantic -ansi -O\\\n",		/* UH OH: see ecu README */
X#else
X	"\t-traditional -O\\\n",
X#endif
X#ifdef WHT
X	"\t-v\\\n",
X#endif
X	"\t-fstrength-reduce -fpcc-struct-return -fwritable-strings\\\n",
X	"\t-fcall-used-ax -fcall-used-bx -fcall-used-cx -fcall-used-dx\\\n",
X	"\t-finline-functions -fforce-mem -fforce-addr\\\n",
X	"\t-W -Wunused -Wpointer-arith -Wcast-qual\\\n",
X	(char *)0
X};
X
Xchar *sco_gcc_opts[] = {
X	"\t........what-goes-here?.........\\\n",				/* XENIX/286 */
X	"\t-DM_XENIX -DM_SYSV -DM_SYS5 -DM_I386\\\n",			/* XENIX/386 */
X	/* UNIX/386 */
X	"\t-DM_BITFIELDS -DM_COFF -DM_I386 -DM_I86 -DM_I86SM\\\n\
X\t-DM_INTERNAT -DM_SDATA -DM_STEXT -DM_SYS3 -DM_SYS5\\\n\
X\t-DM_SYSIII -DM_SYSV -DM_UNIX -DM_WORDSWAP -DM_XENIX -Dunix\\\n",
X};
Xchar *isc_cc_opts  = "\t-O -DISC -DISC22\\\n";
Xchar *isc_gcc_opts = "\t-DISC -DISC22\\\n";
Xchar *isc_sigtype = "\t-DSIGTYPE=void\\\n";
X
X/*
X * LIBS
X */
Xchar *sco_libs[] = {
X	"-ltcap -ltermlib -lx",
X	"-ltcap -ltermlib -lx",
X	"-ltcap -ltermlib -lx -lmalloc"
X};
X
Xchar *isc_libs = "-lcurses -linet -lx -lmalloc";
SHAR_EOF
true || echo 'restore of config.c failed'
fi
echo 'End of ecu310 part 2'
echo 'File config.c is continued in part 3'
echo 3 > _shar_seq_.tmp
exit 0
--------------------------------------------------------------------
Warren Tucker, TuckerWare emory!n4hgf!wht or wht@n4hgf.Mt-Park.GA.US
Hacker Extraordinaire  d' async PADs,  pods,  proteins and protocols

exit 0 # Just in case...
-- 
Kent Landfield                   INTERNET: kent@sparky.IMD.Sterling.COM
Sterling Software, IMD           UUCP:     uunet!sparky!kent
Phone:    (402) 291-8300         FAX:      (402) 291-4362
Please send comp.sources.misc-related mail to kent@uunet.uu.net.


