FVWM: keyword limitation && titledown patch

From: Jarl Totland <jarl_at_cptsu5.univ-mrs.fr>
Date: Sat, 23 Mar 1996 07:33:25 +0000 (WET)

Hello,

just a couple of notes:

--
Seems to be a small problem with keyword parsing in fvwm, probably known but:
if a prefix of a keyword matches another keyword, it might get mistaken for
that other keyword.
Example:    AddToMenu Title-Menu "Centered" TitleStyle Centered
The TitleStyle gets misparsed and what you get is the title "Centered".
Workaround: Do it through a function.
Quick solution: Make sure fvwm always tries to parse longest keywords first.
This is what is done for functions now, but there are plenty of cases where
it is done "by hand" to recognize keywords.
Good solution: Modify mystrncasecmp() (or make a variant of it) so it doesn't
match if the next char in either string is alphanumeric (i.e. isalnum())
--
More on TitleDown (vertical titlebars):
Thanks for all the info on xvertext/xfig, I had a look at it. Definitively
overkill. But I pulled out some code, modified, deleted, rewrote, and lo, it
works. Now displays vertical titles either written downwards like it should
be or upwards (rotated anti-clockwise (spent too much time in France (:-)))
(Thank you emacs for matching my parantheses (:-))
I will try to make a clean patch for this for fvwm-2.0.42 when it arrives
"early next week", should hopefully not be too much trouble.
Btw, for you who only tested the first version, now it also works with shaped
windows. And in case you didn't notice - it has the lines for sticky windows.
--
Sorry too keep you on your toes Chuck, but I will disappear any day now, when
I finally realize I have less than a week to do my masters degree :-) And
after the holidays men in green will put me in an army camp for three months,
so I'll be sort of occupied. But I will be back. Guerilla wm programming is
a lifestyle I start to appreciate :-)
Vyrdsamt,
-Jarl
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Sat Mar 23 1996 - 00:38:59 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:58 BST