[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

1588.0. "(un)document for (un)documented features, anyone?" by TXAATC::MORANDI (Network partner excited) Wed Oct 18 1989 09:10

    I heard of an undocumented feature within the DECWindows environment
    at startup time, dealing with some *Command.Subcommand: value in
    a couple of files, such like the DECW$XDEFAULTS.DAT file where we
    were just told to add (see 1545.3 here) something like:

    *PauseDialog.PauseLabel.label:  This "Fish Tank" Is Hermetically Sealed

    (which actually doesn't work for me (VMS V5.1/DECw 1.0), even
    loging out and loging in again)
    
    Where is this (un)documented?
    What dynamic features are available to be customized?
   
    Remeber we have not yet received VMS 5.2, so don't reply "upgrade
    to VMS V5.3, you will have DECW V2.0 in it"
    
    Thanks
    D.

T.RTitleUserPersonal
Name
DateLines
1588.1It does work under 5.1/1.0RIPPLE::FARLEE_KEInsufficient Virtual...um...er...Wed Oct 18 1989 14:0619
As the author of 1543.3, I can say that the line below is directly
out of my own decw$xdefaults.dat, and that it did work under VMS 5.1, DW 1.0.

*PauseDialog.PauseLabel.label:  This "Fish Tank" Is Hermetically Sealed

This is the label which appears on the pause screen after you pause the
session.  As to finding out which items are customizable, and how to do it,
if you read through this conference, it is stated many times that this sort
of thing is unsupported, but it works (for now).  So there is and will be
no guide to x resources.  A bit of sleuthing here and on your own system
will turn up many candidates for tweaking.  Try looking in sys$library for
decw$*.dat files, copy them into your sys$login directory, and play with
them.

Read about the options here, and have fun.  Just remember that these
customizations are not guaranteed to work in future releases.

Kevin

1588.2Old storiesSDSVAX::SWEENEYI was focused when focus wasnt coolWed Oct 18 1989 14:1812
    I don't know if your are a system manager, but DECwindows V2, as
    internal-only field test, have been available world-wide since about
    mid-July 1989.
    
    One of the oldest controversies in DECwindows has been that documenting
    the resource names would give them a permanence (as a consequence of
    providing upward compatibility) that would conflict with innovating the
    applications.
    
    It's been argued that applications should provide a complete
    customization UI for all aspects of the UI that can be customized.

1588.3Documented in ULTRIXSMURF::COUTUHe who will not risk, cannot win.Wed Oct 18 1989 15:007
    Of course if you want a straight answer about where they're documented
    the answer is either in the MIT X11R3 kit for general information, or
    else in the UWS (ULTRIX Worksystem Software) documentation set and
    manual pages. In particular the man page for X is most helpful here.
    
    Dan

1588.4still no goodTXAATC::MORANDIGVA Ed. ServicesThu Oct 19 1989 07:0320
    re: .2 I'm a teacher within Educational Services in DEC Geneva,
    Swiss. We don't have pre-releases in Ed Services (don't need 'em).
    
    re: .1 look! I did this on my VAXstation 2000 (LAVC with �VAX 3400):
    
    login
    [create term session]
    $ create sys$login:decw$xdefaults.dat
    *PauseDialog.PauseLabel.label:  Keep off your PAWS !..
    ^Z
    $ logout
    logout DECwindows
    login again
    select PAUSE
    
    and text says "type your password to resume session" etc..

    Comments?
    thanks.

1588.5SMAUG::MENDELWhat've we done to our fair sister?Thu Oct 19 1989 13:232
    It worked for me, on my Vaxstation 2000 on an LAVC ....

1588.6the "*PauseDialog.PauseLabel.label" resource works for meDSTEG2::LUNDThu Oct 19 1989 16:4610
It works for me on a Vaxstation II running VMS V5.1 (SDC)
and DECwindows V1 (SDC). 

Here's an excerpt from my DECW$XDEFAULTS.DAT file:
----------------------------------------------------
*PauseDialog.PauseLabel.label:  This "Fish Tank" Is Hermetically Sealed
----------------------------------------------------

		-- stan

1588.7Try plain text firstDECWIN::FISHERBurns Fisher 381-1466, ZKO3-4/W23Thu Oct 19 1989 22:426
    Person of small knowledge of resources speaking:  Might the exclamation
    point be some sort of illegal delimiter?  One of the reasons that we
    did not want to make this stuff public is that it is very picky.
    
    Burns

1588.8hmmm... try this..RIPPLE::FARLEE_KEInsufficient Virtual...um...er...Fri Oct 20 1989 13:5527
Actually, my workstation is standalone.
Is there anything that a system manager of an LAVc could do that
would override/disable sys$login:decw$xdefaults.dat?
Maybe something like that happened either intentionally or
unintentionally.

One more thing to try to isolate it is to add other resources
to your decw$defaults.dat file, so you can see whether it is the resource
that is not working, or if it is the file that is not being picked up
for some reason.
The following is my entire decw$xdefaults.dat file:

wm*flash: true
*Slider: lightGrey
*Session Manager.iconName:      Da Session 
*PauseDialog.PauseLabel.label:  This "Fish Tank" Is Hermetically Sealed
Calendar*styleMask: 5
wm*geometry:                            =120x380-0-0

This should produce an icon box oriented vertically on the right side of
the screen, along with the other more obvious things.

Let us know what happens, it appears that you are doing everything right,
so it is a mystery..

Kevin

1588.9SMURF::COUTUHe who will not risk, cannot win.Fri Oct 20 1989 17:596
    The exclamation point is a comment delimiter in the xdefaults file
    and pound signs (or hash marks) # are used for conditional
    processing of the file (like in the C language).
    
    Dan

1588.10only on UltrixDECWIN::JACKIEJackie FergusonFri Oct 27 1989 15:177
-.1 is referring to a utility program that preprocesses the resource files
that is used on Ultrix  If is not used by the session manager on VMS.
This is not a part of Xrm, or Xlib.  For R4, the resource manager section of
the Xlib spec has been expanded and will deal with comments.

Jackie

1588.11The answer and a questionRIPPLE::FARLEE_KEInsufficient Virtual...um...er...Mon Oct 30 1989 17:2815
From:	TXAATC::MORANDI      "Ed Services @GVA" 30-OCT-1989 01:42
To:	RIPPLE::FARLEE_KE
CC:	MORANDI
Subj:	1588.8 DECwindow

Hi,
The file is being rebuild, so...
The problem was in the upper case "L" of the .label: word
                                              *
using your file gives exactly what you said.
I *can't* understand why those C compiler engineers decided to make a
difference between lower and uppercase letters within variables and 
constants names... :-(
Thanks for your help. (you may post this mail in the file when it's back)
D.
1588.12QUARK::LIONELFree advice is worth every centMon Oct 30 1989 20:496
    Re: .11
    
    It wasn't the C compiler engineers but the C language designers that
    foisted that particular pLaGuE upon us.
    
    				Steve
1588.13TXAATC::MORANDIGVA Ed. ServicesTue Oct 31 1989 12:327
    Sorry Steve, I knew that. Could you add a
    
    $ CC/NOANSI FOOBAR.C
    
    to solve the problem?
    
    :-)
1588.14If it's not case sensitive - it's not CIO::MCCARTNEYJames T. McCartney III - DTN 381-2244 ZK02-2/N24Fri Nov 03 1989 11:226
RE: .-1 

No - that just makes it (more) non-ANSI compliant. The C language by definition
is case sensitive.