[SM-Grimoire-Bugs] [Bug 14642] init script output broken for some ANSI terminals

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Thu Apr 16 01:14:14 EDT 2009


http://bugs.sourcemage.org/show_bug.cgi?id=14642





--- Comment #3 from Ethan Grammatikidis <eekee57 at fastmail.fm>  2009-04-16 00:14:13 ---
I'm not sure I entirely agree with the last comment, other distros use colour
and even positional terminal codes from their init scripts quite successfully
with framebuffer consoles. Further there is nothing special about the Linux
text mode terminal, it itself is a terminal emulator driving the vga text mode
hardware instead of a raster display. To solve all problems therefore, there
must be no visual output from the computer whatsoever. :)

As to fixing it, without knowing the exact problem, I think it's safe to say
the init scripts are doing something abnormal for newlines. Honestly newlines
are a bit insane in unix, with everything expected to output a trailing newline
but things like VAR=`echo foo` expected to strip that trailing newline.
init.d/smgl_functions redefines echo to counter that. I tried disabling this
redefinition with very little success.

-- 
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the SM-Grimoire-Bugs mailing list