obrooks@nasamail.nasa.GOV (OSCAR BROOKS) (04/07/90)
I am having a terrible time trying to get "twm" to iconify a "xterm"
window into a icon. I have it in the DONTICONIFYBYUNMAPPING list, I have
FORCEICONS but it still doesn't work. This is the only application that
won't iconify to a icon. I trying to get it to use the "terminal" bitmap
if that is of any worry. I am running X11r4 with all the fixes1-9 on a
SUN3/80 SUNOS 4.0.3. Following is my .twmrc without the button menus listed:
# variables
#AutoRaise { }
#AutoRelativeResize
BorderWidth 3
ButtonIndent 1
#ClientBorderWidth
Color {
BorderColor "red"
BorderTileForeground "yellow"
BorderTileBackground "yellow"
MenuForeground "white"
MenuBackground "CadetBlue"
MenuTitleForeground "white"
MenuTitleBackground "CornFlowerBlue"
MenuShadowColor "black"
IconForeground "white"
IconBackground "cadetblue"
IconBorderColor "green"
IconManagerForeground "black"
IconManagerBackground "thistle"
}
ConstrainedMoveTime 400
Cursors {
Button "hand2"
Destroy "pirate"
Frame "top_left_arrow"
Icon "top_left_arrow"
IconMgr "top_left_arrow"
Menu "sb_left_arrow"
Move "fleur"
Resize "fleur"
Select "dot"
Title "top_left_arrow"
Wait "watch"
}
#DecorateTransients
DontIconifyByUnmapping {
"xbiff"
"xcalc"
"xmh"
"xterm"
"XTerm"
}
#DontMoveOff
DontSqueezeTitle #{ }
ForceIcons
FramePadding 2
IconBorderWidth 1
IconDirectory "~/bitmaps"
IconFont "-adobe-new century schoolbook-medium-r-normal--14-140-75-75-p-82-iso8859-1"
#IconifyByUnmapping { }
IconManagerDontShow {
"xbiff"
"xmh"
"xload"
"xclock"
"oclock"
"xterm"
"XTerm"
"CONSOLE"
"Untitled"
"twmOutput"
"xeyes"
}
IconManagerFont "-adobe-new century schoolbook-medium-r-normal--14-140-75-75-p-82-iso8859-1"
IconManagerGeometry "100x10+931+71"
#IconManagers { }
#IconManagerShow { }
IconRegion "90x780+1062+220" North East 90 80
#IconRegion "85x915+1105+254" North East 80 80
Icons {
"XTerm" "terminal"
"xterm" "terminal"
"Xcalc" "calculator"
}
#InterpolateMenuColors
#MakeTitle { }
MaxWindowSize "1152x900"
MenuFont "-adobe-new century schoolbook-medium-r-normal--14-140-75-75-p-82-iso8859-1"
Monochrome {
DefaultForeground "black"
DefaultBackground "white"
BorderColor "black"
BorderTileForeground "black"
BorderTileBackground "white"
TitleForeground "black"
TitleBackground "white"
MenuForeground "black"
MenuBackground "white"
}
MoveDelta 0
#NoBackingStore
NoCaseSensitive
#NoDefaults
#NoGrabServer
NoHighlight {
"xbiff"
"xload"
"xclock"
"oclock"
"Untitled"
"twmOutput"
"xeyes"
}
#NoIconManagers
#NoMenuShadows
#NoRaiseOnDeiconify
#NoRaiseOnMove
#NoRaiseOnResize
#NoRaiseOnWarp
#NoSaveUnders
NoTitle {
"xbiff"
"xload"
"xclock"
"oclock"
"Untitled"
"twmOutput"
"xeyes"
"TWM Icon Manager"
}
#NoTitleFocus
#NoTitleHighlight { }
#OpaqueMove
Pixmaps {
TitleHighlight "hlines2"
}
#RandomPlacement
ResizeFont "-adobe-new century schoolbook-medium-r-normal--14-140-75-75-p-82-iso8859-1"
#RestartPreviousState
#ShowIconManager
SortIconManager
#SqueezeTitle { }
StartIconified {
"xmh: inbox"
}
TitleButtonBorderWidth 1
TitleFont "-adobe-new century schoolbook-medium-r-normal--14-140-75-75-p-82-iso8859-1"
TitlePadding 8
UnknownIcon "xlogo16"
UsePPosition "non-zero"
#WarpCursor { }
#WindowRing { }
#WarpUnmapped
#XorValue 1
Zoom 10
# required variables after fonts
DefaultFunction f.beep
#WindowFunction
#
# .twmrc
#
#Button = KEYS : CONTEXT : FUNCTION
#----------------------------------
Button1 = : root : f.menu "button1"
Button2 = : root : f.menu "TwmWindows"
Button3 = : root : f.menu "button3"
Button3 = : iconmgr : f.function "de-raise-n-focus"
Button1 = : title : f.raiselower
Button2 = : title : f.move
Button3 = : title : f.resize
Button1 = : frame : f.raise
Button2 = : frame : f.move
Button3 = : frame : f.lower
Button1 = : icon : f.iconify
Button2 = : icon : f.move
Button3 = : icon : f.raiselower
#Button1 = m : icon : f.raise
#Button2 = m : icon : f.move
#Button3 = m : icon : f.lower
#Button3 = c : root : f.function "beep-beep"
#"Break" = : window : f.iconify
#"Break" = : icon : f.iconify
#"KP_F1" = : "Xmh" : f.iconify
#"KP_F2" = : "hpfcra" : f.iconify
#"KP_F3" = : "hpfcdq" : f.iconify
#"F1" = : window : f.raise
#"F1" = : title : f.raise
#"F2" = : window : f.lower
#"F2" = : window : f.lower
#"Clear" = : window : f.refresh
#"Clear" = : icon : f.refresh
#"Clear" = : title : f.refresh
#"Clear" = : root : f.refresh
#"ClearLine" = : window : f.winrefresh
#"ClearLine" = : title : f.winrefresh
#"Cancel" = sc : window : f.quit
#"Cancel" = sc : root : f.quit
#"Cancel" = sc : icon : f.quit
#"Cancel" = sc : title : f.quit
PLEASE HELP!!! EXTREMELY ANNOYING!!!!!!