Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I can't see the colors in my sco openserver.

Status
Not open for further replies.

phonenumber

Programmer
Nov 21, 2002
5
DO

How i can see the colors in my openserver ?
I make a programs in informix/4gl and i can't see the color. This is a problem of the OS or is a problem of the informix ?. How resolve this problem.

Thank in advance.
 
Can be either. What terminal, what termcap settings? Ed Fair
unixstuff@juno.com
Any advice I give is my best judgement based on my interpretation of the facts you supply. Help increase my knowledge by providing some feedback, good or bad, on any advice I have given.
 
I imagin this is the problem. The termcap file, but i don't know what's is the section and what's code i have to using for fix them.

I wait for any help.

Thanks a lot
 
Are you wanting color on your console, or on terminals?
And the solution depends on which open seriver version.
In /etc/ttytype you describe the type , normally ansi for color, or ansic, or scoansi for the console, or some others depending on what you have. But all generally have some ansi as part of the description except if it is a color capable terminal.
Then in the .profile you set up eval `tset -s` to force the system to look at /etc/ttytype.

You can log as root and do env, it will tell you what it thinks you are, wherever you are.

Or in the .profile for the user that needs color, you can specify TERM=type , then export TERM. This also forces the ttytype.

Sorry if this is more than you want. You have to be more specific in the description of what you have to get more specific help.

And you could look in the manual ,as root 'man setcolor' Ed Fair
unixstuff@juno.com
Any advice I give is my best judgement based on my interpretation of the facts you supply. Help increase my knowledge by providing some feedback, good or bad, on any advice I have given.
 
Informix 4GL can drive color terminals and color emulators.
I use it many years. Yours 4GL program is right. But does yours terminal or emulator support colors ? Do you inform for that Informix-4GL ?

Informix-4Gl supports own /etc/termcap file.
If you install Informix, say in /usr/informix, then yours terminal descriptions are in /usr/informix/etc/termcap. Having in mind, that SCO supports two other terminal bases - /etc/termcap, /usr/lib/terminfo, the SCO system administrator have to support 3 terminal databases. Heavy legasy :(

Informix termcap is almost identical to /etc/termcap, but do some experiments. The reason DBMS have own, although Unix style termcap, is because they have to support numerous Unix and Unix like OS. Some years ago the catalogue of OS versions, supported by Informix was more than one inch thick ! Thousands of versions. Thats why it is reasonable to have own termcap. I saw the same solution in DMBS Progress.

If you use localization it can influence the color support a little ! Stankow,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top