Initscripts and tput
Matt Zimmerman
matt.zimmerman at canonical.com
Tue Aug 31 14:11:10 CDT 2004
On Tue, Aug 31, 2004 at 08:07:08PM +0100, Scott James Remnant wrote:
> On Tue, 2004-08-31 at 14:56 -0400, Nathaniel McCallum wrote:
>
> > After a long session hacking initscripts today, I realized that we are
> > relying on tput to get ansi control characters. This is not bad except
> > that tput is in /usr/bin/ and /usr may not be available to use before
> > mounting filesystems. There is a couple solutions as i see it:
> >
> > 1. move tput from /usr/bin to /bin in the terminfo-bin package
> > 2. fall back to hardcoded ansi control characters (may not work on some
> > strange terminals)
> > 3. other solution...
> >
> Why are we using ansi control characters?
In order to beautify the boot sequence (right-aligned success/failure
indications, highlighted failures, etc.).
--
- mdz
More information about the sounder
mailing list