Vnews bug: BC,UP not extern.

Greg Skinner gregbo at hou2e.UUCP
Wed Aug 22 06:57:04 AEST 1984


These lines remind me of a problem I had with compiling vnews (2.10.1)
on a unix/370:


> From: lee at west44.UUCP (Lee McLoughlin)

> The following bugs in Vnews cropped up when trying to use a B.B.C micro as
> a terminal to read news on.  The Beeb is 25 * 80 and needs to output null's
> in the cursor address sequence, at least the one I was using had to.
> Unfortunetly the BC and UP characters which tgoto needs in order to do this
> are not extern char *'s in our virtterm.c but are #define's.


	PC = xPC ? xPC[0] : 0;
	UP = xUP;		/* LMCL */
	BC = xBC;		/* LMCL */

> And change all the original occurences of UP to xUP and BC to xBC.

In vnews 2.10.1 PC was declared char PC, and when I went to compile it I got
this back from ld:

ld:  symbol PC multiply defined, first occurs in virtterm.o

I fixed it by renaming PC to xPC and it compiled ok, but due to termcap troubles
and the kernel unwilling to let it go (it survives a kill -9) I'm unable to
get it running.

We run 2.10 netnews because of base register problems (hopefully fixed) with
our unix/370.  I wonder does this have anything to do with my problems.

-- 
Hug me till you drug me, honey!

Greg Skinner (gregbo)
{allegra,cbosgd,ihnp4}!hou2e!gregbo



More information about the Net.bugs mailing list