linux colors

Fairlight fairlite at fairlite.com
Tue Feb 3 15:25:54 PST 2009


The honourable and venerable Dennis DIller spoke thus:
> I switch to linux filepro and whould like the colors to be the same as
> they were on my sco unix box. Blue with white letters. on my unix box i
> vave setcolors -b blue white can I make linux have the same colors in
> filepro.

Those are two entirely different things.  General terminal colours are one
thing (man setterm).  Then filePro has its own colours, controlled by its
colour configuration, and the PV setting being present in the termcap entry
of choice.

You'll also find that you're going to need to "wrap" the 'p', 'rclerk',
'rreport', et al binaries inside a program that does a setterm after those
exit in order to reinstate your selected colours.  Either filePro doesn't
gracefully restore the original terminal state, or the linux console driver
was not written with colour states in mind.  I've never taken the time to
find out which is at fault.  I just know you'll lose your colours when
exiting and need to have them reset by something.  It's not persistent
behaviour like it is on SCO.  Well, it is...unless you run filePro and then
exit.  :)

mark->
-- 
"I'm not subtle. I'm not pretty, and I'll piss off a lot of people along
the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade"


More information about the Filepro-list mailing list