[8763] in Athena Bugs
vax 7.3P: twm manpage
daemon@ATHENA.MIT.EDU (yandros@Athena.MIT.EDU)
Sun Dec 15 08:16:10 1991
From: yandros@Athena.MIT.EDU
Date: Sun, 15 Dec 91 08:16:00 -0500
To: bugs@Athena.MIT.EDU
Reply-To: yandros@Athena.MIT.EDU
System name: m14s-010-7
Type and version: CVAXSTAR 7.3P
Display type: SM
What were you trying to do?
Set up vtwm.gamma so that my iconmanager would unmapp when
iconified. I had this:
DontIconifyByUnmapping { "zwgc" "buttons" "xv" }
IconifyByUnmapping
in my resource file, but it diodn't work for the iconmanger, because
it turns out that twm and its flavors special-case the iconmanager wrt
unmapping, so that the generic IconifyByUnmapping doesn't apply to it.
To get this behavior for the iconmanager, you need to do:
IconifyByUnmapping { "TWM Icon Manager" }
which doesn't, in and of itself, have the 'generic' quality of the
above,i.e. it doesn't apply the behavior to everything, including the
icon manager; instead it applies it only to the iconmanager. To get
what I wanted, I had to do:
DontIconifyByUnmapping { "zwgc" "buttons" "xv" }
IconifyByUnmapping { "TWM Icon Manager" } #even though this isn't a Mac
IconifyByUnmapping
What's wrong:
The problem is that there is no documentation for this special case,
or the work-around. Marc Horowitz check out the yacc grammar files and
noticed that this would work. I think this method is a little unclear
for most users. :)
What should have happened:
The section of the TWM manpage that reads:
IconifyByUnmapping [{ win-list }]
This variable indicates that windows should be icon-
ified by being unmapped without trying to map any
icons. This assumes that the user is will remap the
window through the icon manager, the f.warpto func-
tion, or the TwmWindows menu. If the optional win-
list is provided, only those windows will be iconi-
fied by simply unmapping. Windows that have both
this and the IconManagerDontShow options set may not
be accessible if no binding to the TwmWindows menu
is set in the user's startup file.
should say something like:
IconifyByUnmapping [{ win-list }]
This variable indicates that windows should be icon-
ified by being unmapped without trying to map any
icons. This assumes that the user is will remap the
window through the icon manager, the f.warpto func-
tion, or the TwmWindows menu. If the optional win-
list is provided, only those windows will be iconi-
fied by simply unmapping. Windows that have both
this and the IconManagerDontShow options set may not
be accessible if no binding to the TwmWindows menu
is set in the user's startup file. Note that the
iconmanager is considered a special case, and must be
included in the _win-list_ if you want it to be
iconified this way. To achieve the effect of including
the iconmanager in the general statement, do:
IconifyByUnmapping { "TWM Icon Manager" }
IconifyByUnmapping
Please describe any relevant documentation references:
man twm
-C