Can someone please answer the following simple questions:
1. Is it possible to invoke the restart function (f.restart in .mwmrc) from a command line. I wish to have a menu which can set the colour of say Mwm*background and then restart the window manager so that change takes effect e.g.
#.mwmrc entry
"change colour of Mwm*Background" f.exec "some command"
where "some command" does everything
2. When using xrdb I can see it can take its input from the standard input i.e. xrdb <enter>
Mwm*Background: aquamarine
<ctl-d>
However it doesn`t seem to be possible to do this in a command such as:
xrdb "Mwm*Background: aquamarine"
i.e. it works interactively but can it be make to work from the command line.
If somene is aware of a package to do this kind of thing (setup the motif mwm resources interactively) I would like to hear about it.