File: Menu.example

package info (click to toggle)
cursel 0.1.9-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 604 kB
  • ctags: 35
  • sloc: objc: 6,388; makefile: 135; ansic: 61; sh: 26
file content (29 lines) | stat: -rw-r--r-- 554 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
#!/bin/cursel
#
# An example of Menu Item Descriptors 
#
# $Id: Menu.example,v 1.1.1.1 2000/08/04 19:28:26 stes Exp $ 
#

menu="My Menu"

name="UNIX Shell"
action=unix-system
description="Open a shell"
help="This command opens a UNIX shell."

name="Open Submenu"
action=open Menu.submenu

name="Run vi"
action=`message -b 3 -p foobar`run vi

name="Find Modified Files"
action=`find $HOME -mtime -7 -print > modfiles 2>&1`nop

name="Find Executable Files"
action=`find $HOME -perm -100 -print > execfiles 2>&1`nop

name="Exit My Application"
action=exit