Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC840302); site erisun.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!mcvax!enea!erix!erisun!leif From: leif@erisun.UUCP (Leif Samuelsson) Newsgroups: net.sources.bugs Subject: SCAME patch no. 2 Message-ID: <307@erisun.UUCP> Date: Mon, 25-Feb-85 22:36:04 EST Article-I.D.: erisun.307 Posted: Mon Feb 25 22:36:04 1985 Date-Received: Sun, 24-Feb-85 04:48:36 EST Reply-To: leif@erisun.UUCP (Leif Samuelsson) Organization: Ericsson Information Systems, Sundbyberg, Sweden Lines: 251 System: scame 1.0 Patch #: 2 Priority: Rather high Description: The parser for command and variable names does not interpret a space correctly. Repeat-by: Try to give the command "M-X C Mode". Fix: From news, say "| patch -d DIR", where DIR is your scame source directory. Outside of news, say "cd DIR; patch =40 && a <=100) gvars.bottom_display_margin = a; --- 50,75 ----- typing = FALSE; return; } ! switch (c) { ! case '?': ! listmatching((struct tabstruct *)vartab,str); break; ! case ' ': ! strcpy(tstr,str); ! strcat(str, " "); ! if (tablk((struct tabstruct *)vartab,str,0) <0) { ! strcpy(str,tstr); ! (void) tablk((struct tabstruct *)vartab,str,0); ! if (strlen(str) == strlen(tstr)) ! pchar(BELL); ! } ! if ((p=index(str+strlen(tstr), ' ')) != NIL) ! *(p+1) = '\0'; ! break; ! default: ! if ((i = tablk((struct tabstruct *)vartab,str,0)) <0) ! pchar(BELL); ! } ! } while (i<0 || index("\033 ?", c) != NIL); switch (i) { case 2: if (a >=40 && a <=100) gvars.bottom_display_margin = a;