1830623 Members
2088 Online
110015 Solutions
New Discussion

256 colors

 
Clair D. Bittner
Frequent Advisor

256 colors

I am trying to access my H.P. via a Sun workstation. If i try to launch ovw, i get missing fonts. If i do an export on LC_CTYPE=C.iso88591, i can get my map but it is in monochrome. Any suggestions as to how to get full colors???
10 REPLIES 10
Craig Rants
Honored Contributor

Re: 256 colors

What is the Sun O/S, I seem to remember a command like mc_config (or something like that)in Solaris 7 where you can get more colors to your screen. You can change the bit level from 8 to 24 if your Sun monitor will support that.

Hope this gets you going...
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Clair D. Bittner
Frequent Advisor

Re: 256 colors

I don't know what O/S is on my Sun. Do you know how to set the bits from 8 - 24????/
harry d brown jr
Honored Contributor

Re: 256 colors

Clair,

How are you trying to connect to your HP from your sun? Telnet, rlogin, remsh, rexec?

Type in "uname -a", it should respond back like this:

SunOS 5.

THe number after the 5. is the release. So if it says 5.7 then you have solaris 7, if it says 5.8 you have solaris 8.


live free or die
harry
Live Free or Die
Clair D. Bittner
Frequent Advisor

Re: 256 colors

Harry,
Thank you. I am running 5.7 and i telnet to the H.P. after doing an xhost + from my sun workstation. I also have to set my DISPLAY after i get into /opt/OV/bin. If i do not export LC_CTYPE, all i get when i try to launch ovw is Cannot convert string "-dt-interface system-medium-r-normal-s
if i do, then the map comes up but is in monochrome. I am trying to get the colors at 256.
Alex Glennie
Honored Contributor

Re: 256 colors

First the problem with fonts :

my advise is to set the HP systems as a font server and serve the required HP fonts down the network to the remote sun box .... or you could change the specific OVW resource files to use fonts found on the sun sytem.

font server setup procedure on HP system :
EDIT: /etc/X11/fs/config

Append ",/usr/dt/config/xfonts/C" to the end of the
"catalogue = ..." line

EDIT: /etc/rc.config.d/xfs

Set the following variable: "RUN_X_FONT_SERVER=1"

EXECUTE: /sbin/init.d/xfs start

If the font-server is already running, kill it and
restart it.

2 - Force CDE to add the font-server to the X-Server font-path
by editing the Xsetup file. (NOTE: This steps REQUIRES
the IP address of the CDE session server. You can get
this information by running: nslookup `hostname`.)

COPY: /usr/dt/config/Xsetup to /etc/dt/config/Xsetup
EDIT: /etc/dt/config/Xsetup

Add the following line to /etc/dt/config/Xsetup replacing
"IPADDRESS" with the IP address of the server as returned
from "nslookup `hostname`":

$XDIR/xset fp+ tcp/IPADDRESS:7000 1>/dev/null

Once done you'd need to make the sun system aware that there's a fontserver out there, from the command line run xset fp+ tcp/IPADDRESS:7000
you can check it's being used by running xset -q.

Colours : as you are aware the standard Xserver has 256 colours availbale to it without using H/W colormaps etc. If you are getting ovw gui's in B&W sounds to me you've run out of colours because something is eating them ie you have a colour hungry application that uses them and does not allow other apps to use them at the same time .... the most likely candidate is netscape ...if this is applicable run it with -install command line option or :

start your ovw applications prior to opening up any other applications and let them fight for the scraps.

ps If this is Solaris my guess is you are using CDE in which case you can free up more colors to applications using CDE's style manger-> color->Number of colors.
Wodisch
Honored Contributor

Re: 256 colors

Hello Clair,

do not start netscape before "ovw" is started and use the option "-install" for netscape, for it does only allocate 64 colors, then...

Just my $0.02,
Wodisch
Clair D. Bittner
Frequent Advisor

Re: 256 colors

Thank You.
I appreciate all of the input and replies that i have received on this issue. I do start ovw before netscape. I usually only have ovw running on the machine to begin with. I will continue to look around and see what i can find.

All replies have been helpful.
clair
Alex Glennie
Honored Contributor

Re: 256 colors

try using the attached ... unshar the file and use the xcoloruse program if it runs on Solaris ... it'll give us an idea of just how many colors you have and whether an application or something else is hogging them ...I'm thinking garish wall paper something like that ? Is the map a gif or jpeg try changing its format , ensure latest patches etc are installed....

Clair D. Bittner
Frequent Advisor

Re: 256 colors

All,
The problem has been resolved and i am not getting any messages as i am bringing up the application. I went into the screen display and said to set the most colors for the applications and i was able to get a clear screen in color.
THANK ALL OF YOU FOR YOUR HELP,

I will be back if i need any assistance. The forum is definately a help.

Clair
Craig Rants
Honored Contributor

Re: 256 colors

Clair,
Found the man page for the m64config command.
http://docs.sun.com/ab2/coll.40.5/REFMAN1M/@Ab2PageView/109527?DwebQuery=m64&oqt=m64&Ab2Lang=C&Ab2Enc=iso-8859-1

Sounds like it is a little too late. But it may enhance the quality of your viewing.

C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut