Subject: problems in batching files in xmaxima&texmacs
From: Stavros Macrakis
Date: Tue, 16 Mar 2004 08:04:56 -0500
> the maxima invitation string does not appear... if I batch file
> that has the comments at the end.
Interactive xmaxima has similar issues. It requires input commands to
end with semicolon or dollarsign immediately followed by a return. In
the following examples, Xmaxima does not process the "x;" command, and
waits for more input:
x;<space><return>
x;y<return>
x; /* xxx */<return>
In the original (Maclisp / ITS / PDP-10) Macsyma, if I remember
correctly, it recognized the complete command as soon as the ";" or "$"
was typed, and did not wait for a <return>. Even in line-at-a-time mode
(which was used by some remote users), the input line "x;y" would
process the "x;" command and only then start parsing the type-ahead
input "y".
That interaction style is probably unfamiliar to most users nowadays,
who expect to have to type a <return> or a control sequence to get
immediate response. Ironic, because the purpose of the <return>
convention is to allow line-at-a-time I/O for efficiency on telecom
lines and I/O front end processors, which are irrelevant in a personal
computer era.
In testing these cases, I also discovered a more trivial issue:
The following input line:
(C15) ";<return>";
correctly parses as a string with an embedded <return>, but the <return>
does not echo on the screen. (Reported as 917277.)
-s