#!/usr/sbin/install-menu
#I need menu-1!
#
#NOTE: the first line of this script _must_ be
# equal to "#!/usr/sbin/install-menu", otherwise update-menus
# will feed this script old-compat-mode data.
#
#More info: /usr/doc/menu/README.
#
compat="menu-1"
supported
  wm  ="  echo '\"" $title ":9wm exit;" esc($command,"\"") "\"'\n"
  x11 ="  echo '\"" $title ":"          esc($command,"\"") "\"'\n"
  text="  echo '\"" $title ":xterm -title '\\'"\
                      $title "\\'' -e " esc($command,"\"") "\"'\n"
endsupported
startmenu=   "function " $section "() {\n"
endmenu=     "}\n"
#  echo "\"MainMenu:$config --menu MainMenu\""
submenutitle="  echo \"\\\"" $title ":$config --menu " $section "\\\"\"\n"
genmenu=      "menudefs.hook"
rcfile=       "system.9wmrc"
examplercfile="system.9wmrc-menu"
rootprefix=   "/etc/X11/9wm/"
userprefix=   "/.9wm/"
