Some main loop fixes



On Tue, 2005-01-18 at 09:24, Richard Fateman wrote:
> Isn't there a formatted output modified in common lisp
> that says to take a new line only if necessary?
> Does this not work when we needed it? ~&   or ~1& should do it.
> "fresh line".

The code already had ~&'s and (fresh-line)'s. Somehow the way input is
read and echoed manages to fool the common lisp "new line only if
necessary logic". The user's final carriage return creates a new line
*and* convinces lisp that it is no longer at the beginning of a new
line. I initially thought I was seeing a bug in the lisp implementation,
but I determined that CMUCL, GCL, Clisp and SBCL all behave the same
way, so I doubt it is a simple bug. 

I would like to understand exactly what is going on a little better, but
Viktor's solution seems to work and life is short.

--Jim