Listing 1. MWM Resource File

!!  DEFAULT MWM RESOURCE DESCRIPTION FILE
!!          (system.mwmrc)
!!  NOTE: To personalize this file, copy this file
!!    before editing it. Personalize copies of the
!!    Mwm resource file typically reside as:
!!        $HOME/.mwmrc
!!
!! Root Menu Description (this menu must be
!!             explicitly posted via f.menu)
!!
Menu DefaultRootMenu
{
        "Root Menu"             f.title
        "New Window"            f.exec "xterm &"
        "Shuffle Up"            f.circle_up
        "Shuffle Down"          f.circle_down
        "Refresh"               f.refresh
        "Pack Icons"            f.pack_icons
!       "Toggle Behavior..."    f.set_behavior
         no-label               f.separator
        "Restart..."            f.restart
        "Quit..."               f.quit_mwm

}
Menu RootMenu_1.1
{
        "Root Menu"             f.title
        "New Window"            f.exec "xterm &"
        "Shuffle Up"            f.circle_up
        "Shuffle Down"          f.circle_down
        "Refresh"               f.refresh
!       "Pack Icons"            f.pack_icons
!       "Toggle Behavior"       f.set_behavior
        no-label                f.separator
        "Restart..."            f.restart
}
!! Default Window Menu Description
!!
Menu DefaultWindowMenu
{
        Restore   _R    Alt<Key>F5   f.restore
        Move      _M    Alt<Key>F7   f.move
        Size      _S    Alt<Key>F8   f.resize
        Minimize  _n    Alt<Key>F9   f.minimize
        Maximize  _x    Alt<Key>F10  f.maximize
        Lower     _L    Alt<Key>F3   f.lower
        no<\#150>label                     f.separator
        Close     _C    Alt<Key>F4   f.kill
}
!! Added by John Kacur
Menu MyRootMenu
{
 "My Root Menu" f.title
 "Netscape"     f.exec "netscape-communicator &"
 "WordPerfect"  f.exec "/usr/local/wp/wpbin/xwp &"
 "xmaple"       f.exec "xmaple &"
 "editors"      f.menu "EditorsMenu"
 graphics       f.menu "GraphicsMenu"
 games          f.menu "GamesMenu"
 viewers        f.menu "ViewersMenu"
 utilities      f.menu "UtilityMenu"
...