Bjorn Knutsson on wrote...
| Honestly, I think 3.7 should just be quitely dropped and we should
| restart from 3.6, apply all the bugfix patches and possibly some of
| well-tested and known-to-be-OK improvements and call this release 3.8.
|
| Then, with the new 3.8 as baseline, people can re-submit whatever
| patches didn't make it into 3.8.
|
I argee, ctwm 3.7 was stuffed in to many aspects.
I'd also like to see the manpage mark the version number each option was
introduced. My twmrc has to deal ctwm versions going way
back. As well as twm on a few machines.
As such I have lots of to add things using m4 ifdef() statments.
EG: I have the following at the top of my twmrc
=======8<--------
dnl Convert version number 3.5 or 3.5.2 or 3.7-alpha5 to a 3 digit number
dnl for use in ctwm version specific additions. For example:
dnl ifelse ( eval( CTWM_VERSION >= 350 ) )
dnl
ifelse( TWM_TYPE, ctwm,
[define(CTWM_VERSION, substr(translit(
substr(TWM_VERSION, 0, index(TWM_VERSION-, [-])), [.])000, 0, 3) )dnl
],[define(CTWM_VERSION, 0)dnl
])dnl
dnl Capitalised version of the window managers name, for use in Menus
define( TWM_NAME, translit(TWM_TYPE, [cvt], [CVT]))dnl
dnl
dnl
# [TWM_NAME] => TWM_NAME
# [TWM_VERSION] => TWM_VERSION
# [CTWM_VERSION] => CTWM_VERSION
#
=======8<--------
then use things like...
=======8<--------
ifelse( TWM_TYPE, ctwm, [dnl
#PackNewWindows # try not to overlap with existing windows
IgnoreLockModifier # Ignore "caplock" with all key bindings
MenuShadowDepth 2
BorderShadowDepth 3
IconManagerShadowDepth 3
ClearShadowContrast 50 # clear shadow for 3D
DarkShadowContrast 50 # dark shadow for 3D
ifelse( eval( CTWM_VERSION >= 360 ), 1, [dnl Only if CTWM Version >= 3.6
SloppyFocus # keep focus when on root window
#IconifyStyle "zoomin" # graphical effect for iconify
# "normal","mosaic","zoomin",
# "zoomout","sweep"
])dnl ctwm 3.6
ifelse( eval( CTWM_VERSION >= 370 ), 1, [dnl Only if CTWM Version >= 3.7
#NoRaiseOnWarp # when should I raise a win?
#NoRaiseOnMove # /\
NoRaiseOnResize # ||
#RaiseOnClick # raise window when clicked on
#RaiseOnClickButton 3 # which button?
#RaiseDelay 10 # how long delay raise?
])dnl ctwm 3.7
])dnl ctwm
=======8<--------
Knowing when some option was introduced in the manpage would be a major
benifit to me, and probably many others.
Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]>
-----------------------------------------------------------------------------
Old kiters never die... They just fly away!
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/