Jo Even Skarstein, 02.01.2013 22:04:27:
On Wed, 2013-01-02 at 21:30 +0100, Helmut Karlowski wrote:This is not the case when a background-program outputs text to stdout/stderr. You'll always get stairs unless the program explicitly prints \r\n, no matter how the crlf-mode is set. But it is not really an option to use \r\n anywhere in the code.Why not? What choice do you have if you want it to be displayed correctly on VT52?
Would you want to patch all the existing unix-conform source for \r\n-line-endings to correctly run under MiNT?
Of course, you can "hack" the console and change the definition of LF. It will probably work fine in almost all cases as most output to stdout/stderr will most likely be plain lines. But maybe termcap/terminfo use LF the proper way on VT52? So the hack should only be applied to the console IMO.
That's possible, but I don't know any. And it would most likely run as foreground, and be able to set proper tty-modes for itself.
But don't call it a bug ;)
Yes I do! :) -- Helmut Karlowski