dynamic squeezetitle configuration in twm i consider twm style squeezed titles indispensable in a window manager i like to have two tall xterm windows visible at the same time with no overlap and since two windows aren t enough i have other xterm windows underneath them with exactly the same positioning in case you re not familiar with squeezed titles here s a crude picture figure title a title b title c this is the window b hides window c but body of the you can still see c s title window window a which is squeezed right figure squeezed titles allow me to have about such windows in each stack with easy access and per stack is usually more than i really need since i also insist on having a virtual wm the only problem is that the title location is static that is it is configured in twmrc and in order to change it you have to edit that file and restart the window manager doing so is cumbersome and time consuming therefore i have implemented f squeeze left center right functions in my own copy of vtwm the idea being that with one click of a button you can change this title a this is the body of the window window a to this title a this is the body of the window window a okay so far so good now how the heck do i get them to put this into the next official twm and the next tvtwm and the next vtwm and the next ctwm and the next xyztwm that i never heard of one way would be to post in comp windows x a description of this enhancement together with an explanation of why i think it is a very good thing and hope that someone reads it in case it isn t already clear why i think it s a very good thing look back up at figure and picture window a moved over on top of windows b and c now window a s title hides window b s title but when you hit f squeezecenter the result is title b title a title c this is the body of the window window a which is on top the rest of this posting explains how to implement it based on my x r copy of vtvwm shar it s just a sketch because posting the full diffs would be too long the key to this enhancement is to add the following lines in the executefunction routine in menus c ifdef shape case f squeezeleft static squeezeinfo left squeeze j left if deferexecution context func scr selectcursor return true tmp win squeeze info left squeeze setframeshape tmp win break and similarly for squeezeright j right and squeezecenter j center endif of course you also have to define f squeezeleft in parse h and add f squeezeleft fkeyword f squeezeleft and so forth to parse c in order to use these functions add something like the following to your twmrc file button m s w v d r i t door f squeezecenter about a year ago i posted this but our news was broken and i think it didn t get out since then blast has appeared in comp sources x volume issue you could use blast to achieve a similar effect by chiseling away at an mwm style wide title better to have a twm style window manager i think ralph betza fm uunet ssiny gnohmon gnohmon ssiny com the question of whether a computer can swim is more interesting than the question of whether a submarine can think lenny dykstra
