Dear All,
Sorry for being a bit late to the party here, I should probably know this already but initial searches didn't turn up anything.
Does anyone know how to suppress the
^M
at the end of every line in the slime repl on Windows?
This is with acl82m-win-x86.
Best Regards,
-dave
Dave Cooper Gendl project github.com/genworks/Genworks-GDL
2012/5/4 Dave Cooper:
Does anyone know how to suppress the
^M
at the end of every line in the slime repl on Windows?
This is with acl82m-win-x86.
In what exact situation does it happen?
1. Do you have the most recent Slime? 2. Are you using a dedicated output stream? 3. Is it output to *standard-output* or to another stream?
It seems, from a quick test, that:
CL-USER> (princ " " *terminal-io*)
prints a ^M when not using a dedicated output stream. The same happens to *query-io* and *debug-io*.
However, to *standard-output*, *error-output* and *trace-output*, it doesn't, either with or without a dedicated output stream.
It might have something to do with the bidirectional streams. For the short-term, try this in your ~/.swank.lisp:
(setf swank:*use-dedicated-output-stream* t)
Paulo Madeira