#919 GCL confused by trailing whitespace in input

open
nobody
Lisp Core (472)
5
2012-11-18
2006-05-07
Robert Dodier
No

Trailing whitespace in input causes GCL to forget to
print the next input prompt.

E.g.

(%i1) a : 100; <-- there is a space character after
the semicolon here
(%o1) 100
a;
(%o2) 100
(%i3) a : 200$ <-- there is a space character after
the dollar sign here
a;
(%o4) 200

Same behavior for Maxima 5.9.3cvs / GCL 2.6.7 / Linux,
and Maxima 5.9.3 / GCL 2.6.7 / Win XP.

Behavior not observed with SBCL or Clisp.

Could be readline strangeness, although Clisp has
readline and it is OK (i.e., input prompts are printed
as expected).

Discussion