/usr/share/doc/menu/examples/9wm is in menu 2.1.46.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #!/usr/bin/install-menu
# -*- mode: shell-script; -*-
#I need menu-1!
#
#NOTE: the first line of this script _must_ be
# equal to "#!/usr/bin/install-menu", otherwise update-menus
# will feed this script old-compat-mode data.
#
#More info: /usr/share/doc/menu/html.
#
compat="menu-1"
!include menu.h
function f($com)=" echo '\"" title() ":" esc($com,"\"") "\"'\n"
supported
wm= f(":9wm exit;" $command)
x11= f($command)
text=f(term())
# 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/"
|