Menu

#919 GCL confused by trailing whitespace in input

None
closed
nobody
5
2022-11-03
2006-05-07
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

  • Robert Dodier

    Robert Dodier - 2022-11-03
    • labels: Lisp Core --> parser, gcl
    • status: open --> closed
    • Group: --> None
     
  • Robert Dodier

    Robert Dodier - 2022-11-03

    Not observed with GCL 2.6.12 (near 2.6.13) + post-5.46 Maxima. Closing this report as fixed.

     

Log in to post a comment.