[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

769.0. "decw$terminal_defaults.dat fg/bg colors not updated correctly" by 7415::JCATINELLA () Thu May 11 1989 20:11


I have encountered something that I think may be a potential problem.
Could someone out there tell me if this in normal behavour or if this
is indeed a problem. I am running on an 8 plane GPX.


Running DECWINDOWS on VMS V5.1

Color settings:
	background: blue       (RGB = 50%, 50%, 50%)
        foreground: Light grey (RGB = 99%, 72%, 56%)



Following is a description/replay of the "problem".

1.) Log into workstation.

2.) In the DECTERM window, pulldown the CUSTOMIZE and select
    the display item . Toggle the light background, dark text button.
    Click on Apply button and then click on OK button. Now the DECTERM
    has a light grey background with blue writing (foreground).


3.) In the same DECTERM window, pulldown the CUSTOMIZE menu and
    select the Save Current Savings item.

    decw$terminal_defaults.dat contains this :

DECW$TERMINAL.borderWidth:	1
DECW$TERMINAL.decWmValueMask:	1
DECW$TERMINAL.main.terminal.foreground:	#7f7f7f7f7f7f
DECW$TERMINAL.main.terminal.y:	20
DECW$TERMINAL.main.terminal.background:	#fdfdbaba8f8f
DECW$TERMINAL.main.terminal.borderColor:	#7f7f7f7f7f7f
DECW$TERMINAL.main.terminal.warningBellEnable:	on


4.) Go into the Session Manager and pulldown the CUSTOMIZE menu and
    select the Window menu item. Click in the Window Background Color box
    and change the background to 0% for all three RGB bars (the resulting color
    is now black). Click on the OK button. This brings you back to the customize
    window box and click on the Apply and then click on the OK button.

    decw$terminal_defaults.dat has not been changed.
    

5.) Again in the Session Manager window, pulldown the Customize menu.
    Now select the Save Current Settings item and QUIT out of the session.

6.) Log out, log in again, the ICON bar, session manager and the menu
    and scroll bars in the DECTERM will reflect the new background color(black)
    but the area inside the decterm is still a grey background with blue text.

    decw$terminal_defaults.dat still contains this :

DECW$TERMINAL.borderWidth:	1
DECW$TERMINAL.decWmValueMask:	1
DECW$TERMINAL.main.terminal.foreground:	#7f7f7f7f7f7f
DECW$TERMINAL.main.terminal.y:	20
DECW$TERMINAL.main.terminal.background:	#fdfdbaba8f8f
DECW$TERMINAL.main.terminal.borderColor:	#7f7f7f7f7f7f
DECW$TERMINAL.main.terminal.warningBellEnable:	on


It seems that even though the user has changed the background color through
the session manager, the decw$terminal_default.dat file is unaware of the
change...

I have found that if I delete the DECW$TERMINAL.main.terminal.foreground and
DECW$TERMINAL.main.terminal.background line from the file or if I 
delete the decw$terminal_default.dat file from the directory and create a new 
terminal window, the new window will have the new background color (black).



Anybody have any ideas ?



T.RTitleUserPersonal
Name
DateLines
769.1Intended behavior as far as I know35179::HORNERA.G.Bear, Low tech teddy bearThu May 11 1989 21:489
    I believe that any color specifications taken from DECW$TERMINAL_DEFAULT
    will override the color specifications in DECW$SM_COLOR.  I use this
    feature to make my DECterm windows a different color from the other
    windows.  The session manager customize does not change the terminal
    default file, and likewise, the DECterm customize will not change the
    session manager file.

                 Dave

769.2I'm not sure how this should be changed56733::MESSENGERBob MessengerThu May 11 1989 21:509
Re: .0

It sounds like it's working correctly (at least it's working the way it's
designed; maybe the design should be changed).  The colors you set in the
session manager are defaults, and are over-ridden by the colors in
decw$terminal_default.dat.

				-- Bob

769.3NO NO, don't change it!28864::LEVYBound to cover just a little more groundFri May 12 1989 18:164
Works fine.  The individual application overrides the system defaults.  Sounds
perfect to me just the way it is!

769.4It could still stand some improvement, though56733::MESSENGERBob MessengerFri May 12 1989 22:568
Re: .3

You're probably right that resource file defaulting is working the way it
should work, but some day we should make it as easy to select colors in
DECterm as it is in the Session Manager.

				-- Bob

769.5Dont't stop at DECterm4315::KONINGNI1D @FN42eqMon May 15 1989 16:074
Selecting colors should be a capability of EVERY individual application!

	paul

769.6And when you get to DECterm don't stop either3823::DAVIDSONTue May 16 1989 16:507
I agree with Paul.  I have use three DIFFERENT colors in my DECterm backgrounds.
One color for the one I create at LOGIN time.  Another color for SET HOST
sessions.  And finally another default color other than the X wide default
color background.

Sean