On Mon, May 15, 2000 at 08:11:59AM +1000, Michael Lake wrote:
[...]
| Now some applications like Netscape hog all the colours and can be
| installed with a private colour map (netscape --install-private).
You can tune that, btw. I run with "-ncols 144" if not on a TrueColor display.
| This
| app does not have that option
| but can I write a wrapper program which does hog all the colours?
Probably not in a way which will leave them available to your candidate
program, unless you propose releasing just before eg:
hogger &
hog=$!
while read cmdline
do kill $hog; sleep 1 # release
sh -c "$cmdline" # run your command
hogger & # grab the colours again
hog=$!
done
and hang that off a named pipe. Then you just echo command lines to the
named pipe. Ugly, but might do it.
| Gnome apps display 256 colours fine.
Probably makes a moderate 2x2x2 cubic colourmap or something and uses that.
--
Cameron Simpson, DoD#743 [EMAIL PROTECTED] http://www.zip.com.au/~cs/
The most likely way for the world to be destroyed, most experts agree, is by
accident. That's where we come in; we're computer professionals. We cause
accidents. - Nathaniel Borenstein
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text