home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / windows / x / motif / 8052 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  1.3 KB

  1. Path: sparky!uunet!charon.amdahl.com!amdahl!JUTS!duts!pac30
  2. From: pac30@duts.ccc.amdahl.com (Paul Caffrey)
  3. Newsgroups: comp.windows.x.motif
  4. Subject: using xrdb and .mwmrc
  5. Message-ID: <26mu02Cz2fO901@JUTS.ccc.amdahl.com>
  6. Date: 16 Dec 92 15:45:16 GMT
  7. Sender: netnews@ccc.amdahl.com
  8. Reply-To: pac30@DUTS.ccc.amdahl.com (Paul Caffrey)
  9. Organization: Amdahl Corporation, Sunnyvale CA
  10. Lines: 26
  11.  
  12.  
  13. Hi,
  14.  
  15. Can someone please answer the following simple questions:
  16.  
  17. 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. 
  18.     #.mwmrc entry
  19.     "change colour of Mwm*Background"    f.exec "some command"
  20.                 where "some command" does everything
  21.  
  22. 2. When using xrdb I can see it can take its input from the standard input i.e.  xrdb <enter>
  23.  Mwm*Background:    aquamarine
  24. <ctl-d>
  25.  However it doesn`t seem to be possible to do this in a command such as:
  26. xrdb "Mwm*Background: aquamarine"
  27. i.e. it works interactively but can it be make to work from the command line.
  28.  
  29. 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.
  30.  
  31. Any help would be very much appreciated,
  32.  
  33. regards,
  34.  
  35. Paul.
  36.  
  37. email pac30@amail.amdahl.com
  38.