[Mono-dev] Newlines and startup scripts
Brian Crowell
mono-devel at fluggo.com
Wed May 31 12:05:18 EDT 2006
All right, so I'm a Linux n00b. So I don't have any clue whether what I'm about
to describe is purely a Linux issue or a Mono issue. Here's what I've got.
I'm running Mono from a startup script as a background task, something like:
#!/bin/sh
...
start)
echo "Starting background process..."
/opt/mono-1.1.13.4/bin/mono /opt/my-program/program.exe &
;;
This program outputs diagnostic text every few minutes, but it looks like this:
Whenever there is a line break,
the text continues without resetting to th
e first column. This makes any diagnostic
output very difficult to read, a
nd nearly impossible to read a long stack trace because it
takes up too ma
ny lines.
The text is output using Console.WriteLine. I discovered recently-- and this is
why I think it may purely be a Linux issue-- that the text appears correctly
after I enter a username at the prompt. This may have something to do with the
fact that my program's first lines of text always appear after the prompt.
Any clues? Suggestions?
--Brian
More information about the Mono-devel-list
mailing list