> From: greg shebert <gshebert_at_efs-us.com>
> hi all...
>
> i have a situation where i would like the window manager to prompt the
> user for some text input and then to use that input in subsequent menus
> specified in the .fvwm2rc
>
> for example, lets say that i want the user to be able to specify the
> color of the foreground of an xterm...
> the user selects 'xterm' from their mouse menu...
> they are then prompted for the foreground color...
> they then get a submenu that allows them to choose from a number of
> different fonts....
> the xterm pops up with the right color and font
>
> is something like this possible?
>
> i'd like to avoid, if at all possible, popping up an xterm to get the
> text input
>
> thanks for any help,
> -greg-
Sounds like a job for FvwmScript.
I have such a script that prompts the user for all 20 xterm colours (including
a colour browser), font, auto wrap, scroll, etc., and writes the results to an
X resources file. It's part of the AnotherLevelUp fvwm2 configuration
http://www.cs.man.ac.uk/~jtl/ALU/
but you could easily modify it to make it `stand alone'. If you get the tar
from the above URL, you'll find it in
scripts/Xresources_XTerm
and scripts/ColourNameBrowser
and you will also want
bin/try-xterm-colours
Regards, John
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Fri Jan 05 2001 - 11:10:43 GMT