[alt.sources.d] menu

achille@elaine10.stanford.edu (Chi Hui) (12/27/90)

The recently posted menu(1) package is corrupted in our site . The symptom 
is a lot of keywords have been concatenated togather like those illustrated in
the following fragment of codes in utilities.d/libgetti.d/GetInput.h

#defineALPHANUM' '
#defineALPHA'A'
#defineNUMERIC'9'

Anybody knows where can I ``ftp '' an uncorrupted copy of the source.

Thanks for your kind attention ....
Achille Hui, Dec,26,90

xanthian@zorch.SF-Bay.ORG (Kent Paul Dolan) (12/27/90)

Dump a little of that with od to make sure you aren't sitting at a terminal
without tab support; those lines look exactly like missing tabs.  They might
also, of course, have been lost along the way.

I just went and looked explicitly at the #define lines; at least several
of them do contain tab characters, and they all seem to have arrived
here intact, so contact a nearby site for clean copies (we don't archive
alt.sources, even the good stuff).

Sadly, a wimpy shar was used, so there was no character count checking to
assure the code arrived intact, and the output of lint was too noisy to
allow a check for damaged lines in reasonable time and effort.

Kent, the man from xanth.
<xanthian@Zorch.SF-Bay.ORG> <xanthian@well.sf.ca.us>

ccea3@rivm.nl (Adri Verhoef) (01/05/91)

Compiling runscreen.c gives:

$ make
	cd utilities.d/libgeti.d; make CC=cc install
	ln libgeti.a ../../libgeti.a
	ln GetInput.h ../../GetInput.h
	cc -c -I. -O -DSYS5 -DSINGLE runscreen.c
"runscreen.c", line 529: compiler error: out of tree space; simplify expression
*** Error code 1

Stop.

GetInput() has 19 arguments (which my compiler can handle :-)
but my compiler can't handle the complex expression that springs off here:

	exitkey = GetInput (swin, menu->srn[sidx]->field[fidx]->row,
		menu->srn[sidx]->field[fidx]->col, &Fld,
		0001000, menu->srn[sidx]->field[fidx]->mask, tmprange[fidx],
		menu->srn[sidx]->field[fidx]->length, 
		menu->srn[sidx]->field[fidx]->min_input,
		menu->srn[sidx]->field[fidx]->type,
		menu->srn[sidx]->field[fidx]->adjust, '0', (0),
		menu->srn[sidx]->field[fidx]->mustenter, (LINES-1), (LINES-1),
		promptptr, helpfile, menu->srn[sidx]->field[fidx]->name);