T.R | Title | User | Personal Name | Date | Lines |
---|
1230.1 | | MU::PORTER | moderation is for monks | Thu Aug 03 1989 17:48 | 15 |
| My impression is that if you ever get a bad resource line in
some .DAT file, it'll usually stay there forever. I expect the
application logic goes: read the whole file and store it
in some internal format; modify particular entries; when told,
rewrite whole internal database to file.
On my system (VS3200) I don't have an 'sm.display_pattern' in
DECW$SM_GENERAL.DAT. Therefore, I hypothesize that somehow
you picked up this bogus value, which is now masking
the real value. Just edit it away and you should be ok.
Caveat: I am not a DECwindows expert, although I play
one in notesfiles.
|
1230.2 | Yes, delete the resource from decw$sm_general | STAR::BROUILLETTE | | Fri Aug 04 1989 17:38 | 12 |
|
The session manager used to store background pattern in the
decw$sm_general.dat file. Sometime before V1 (I think) the resource
was moved to the color file. There aren't any easy ways using X to
delete resources from a resource file.
.1 is correct. Delete the resource from decw$sm_general.dat
The color file is read in first, and then the general file is read in
and merged with the color file. So, the old value in the general file
is overriding the one being stored in the color file.
|
1230.3 | | AITG::DERAMO | Daniel V. {AITG,ZFC}:: D'Eramo | Fri Aug 04 1989 20:01 | 9 |
| >> The color file is read in first, and then the general file is read in
>> and merged with the color file. So, the old value in the general file
>> is overriding the one being stored in the color file.
Why were things set up to have the more general settings
override the specific ones?
Dan
|
1230.4 | The order doesn't always matter | HANNAH::MESSENGER | Bob Messenger | Sat Aug 05 1989 14:57 | 12 |
| One thing to remember is that when you're merging two resource files, the
resource specified in the second file doesn't always over-ride the resource
specified in the first file. The rules are given on pages 326 to 327 of
"X Window System" by Scheifler, Gettys and Newman (the maroon book). Among
other things, a fully specified resource takes precedence over a resource
that includes wild cards, regardless of which resource is applied first.
Even the session manager read decw$sm_general.dat before decw$sm_color.dat,
there could be a fully specified resource definition in decw$sm_general.dat
that would over-ride the definition in decw$sm_color.dat.
-- Bob
|