File: menu-methods

package info (click to toggle)
dwww 1.4.3.4-0.2
  • links: PTS
  • area: main
  • in suites: hamm, slink
  • size: 360 kB
  • ctags: 171
  • sloc: sh: 939; ansic: 879; perl: 617; makefile: 93
file content (44 lines) | stat: -rwxr-xr-x 2,205 bytes parent folder | download
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
33
34
35
36
37
38
39
40
41
42
43
44
#!/usr/sbin/install-fvwmgenmenu
#I need menu-0.10!
#This file tells /usr/bin/install-fvwmgenmenu how  and where the 
#different window managers like to have there menufiles, what
#display types they support, and how to make the "system.*rc" file.
#
#  compat   : kind of menu-files to be generated (use "gen" for general format)
#  supported: the supported "types" for this windowmanger
#             (and the corresponding wrapper files),
#             The most prefered type is listed first, the least preferred
#	      type last (so, if both a text and x11 entry are available,
#	      fvwm2 preferrs the x11 entry (in the file below)).
#              items following a ":" are interpreted as filenames;
#              items following a "=" used directly.
#             For variable substitution see /usr/doc/menu/README
#  database:  The database of menuentries (from previous runs)
#  mainmenu:  For old install-fvwm2menu compatibility.
#  genmenu:   The general menu-file for the window-manager.
#  rcfile:    The "system.*rc" file (if the window manager doesn't support
#             "include", or "read")
#  examplercfile: the input rc file, see above. 
#  rootprefix:In generating the complete path of the filenames (exept the
#             wrapperfiles), use this prefix if run as root.
#  userprefix:if run as user.
#  input2prefix: If reading input files, first try root/userprefix, but
#              if that file doesn't exist, try input2prefix
#  startmenu :The text that should come before each submenu definition
#  endmenu   :   same, after
#  submenutitle: Text to define a line in a menu that referes to another
#                submenu
compat:gen
supported
  dwww =      "<li><a href=\"/cgi-bin/dwww?type=file&location=${command}\">${title}</a>\\n"
endsupported
startmenu:    "<P><font size="+2"><b><a name=\"${fullsection}\">${section}</a></b></font><p><ul type=disc>\\n"
endmenu:      "</ul>\\n\\n"
submenutitle: "<font size=2><a href=\"#${fullsection}\"> ${section}</a></font> \\n"
treewalk:     "(mc)"
rootprefix:   "/var/lib/dwww/html/"
userprefix:   "/.dwww/"
genmenu:      "menudefs.hook"
rcfile:       "menu.html"
examplercfile:"/usr/lib/dwww/menu.html-menu"
mainmenutitle:""