File: Menu.show

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 (26 lines) | stat: -rw-r--r-- 430 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
# An Example of the show Descriptor
#
# $Id: Menu.show,v 1.1.1.1 2000/08/04 19:28:27 stes Exp $ 
#

menu="My First Menu"
begrow=center
begcol=30

name="Run UNIX"
action=unix-system

name="Where am I ?"
description="print working directory"
action=`pwd | message`nop

name="System Administration"
action=`run setup`nop
show=`if [ $LOGNAME != root ];
	then echo FALSE;
	else echo TRUE;
	fi`

name="Exit My Application"
action=exit