Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site west44.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!houxm!houxz!vax135!ukc!west44!lee From: lee@west44.UUCP (Lee McLoughlin) Newsgroups: net.bugs,net.news.b Subject: Vnews bug: BC,UP not extern. Message-ID: <303@west44.UUCP> Date: Mon, 20-Aug-84 20:31:42 EDT Article-I.D.: west44.303 Posted: Mon Aug 20 20:31:42 1984 Date-Received: Tue, 21-Aug-84 00:53:09 EDT Organization: CS Dept., Westfield College, London Lines: 40 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. Here are the fixes I found necessary. ------ #define MAXPLEN 25 /* LMCL: was 24 */ . . . #define xUP _tstr[4] /* up one line, LMCL: added x to avoid clash */ . . #define xBC _tstr[9] /* backspace, LMCL: added x to avoid clash */ . . extern char *UP; /* LMCL: UP string must exist for tgoto */ extern char *BC; /* LMCL: BC string must exist for tgoto */ . . . if (HO) HOlen = strlen(HO); else HOlen = 999; 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. -- -------------- Lee McLoughlin!ukc!lmcl, west44!lee UKUUCP support.