# Misc Settings
ALLOWKILL:YES
CLEARSCREEN:YES
BGPATH:etc/menus-sample/
OPTIONS:NOEXECBREAK CLEARONEXIT
PS1:Choice: 

# Show text on startup, and exit
PREMAINMSG:pre-demo
POSTMAINMSG:post-demo

# Global choices that are availible everywhere.
@.CHOICES:q b t
@.q.CMD.INT:QUIT
@.b.CMD.INT:BACK
@.t.CMD.INT:GOTO
@.t.CMD.ARG:
@.PREBG:date

.MENUBG:main
.CHOICES:1 2 m
.OPTIONS:
1.CMD.EXEC:more README
1.OPTIONS:NOKEY
2.MENUBG:demo
2.PS1:Demo: 
2.CHOICES:1 2 3
2.1.MENUBG:demo.1
2.1.PS1:Manpage: 
2.1.CHOICES:1 2 3 4
2.1.1.CMD.EXEC:man ls
2.1.2.CMD.EXEC:man sh
2.1.3.CMD.EXEC:man tar
2.1.4.CMD.EXEC:man cat
2.2.MENUBG:demo.2
2.2.CHOICES:1 2
2.2.1.CMD.EXEC:sh
2.2.2.CMD.EXEC:vi
2.3.MENUBG:demo.3
2.3.CHOICES:1 2 3 4 5 6 7
2.3.1.CMD.EXEC:sleep 10
2.3.1.OPTIONS:TWIDDLE NOKEY
2.3.2.CMD.EXEC:echo Here we execute several commands...
2.3.2.CMD1.EXEC:echo Printing
2.3.2.CMD2.INT:WAIT
2.3.2.CMD2.ARG:1
2.3.2.CMD3.EXEC:echo Sleeping
2.3.2.CMD4.INT:WAIT
2.3.2.CMD4.ARG:1
2.3.2.CMD5.EXEC:echo Done
2.3.2.CMD6.EXEC:echo And we are done!!
2.3.2.CMD7.INT:NULL
2.3.2.CMD8.INT:NULL
2.3.2.CMD9.INT:WAIT
2.3.2.CMD9.ARG:4
2.3.2.OPTIONS:NOKEY
2.3.3.CMD.EXEC:echo Easymenu environment variables:
2.3.3.CMD2.EXEC:echo EM_CHOICE= $EM_CHOICE
2.3.3.CMD3.EXEC:echo EM_FULLCHOICE= $EM_FULLCHOICE
2.3.3.CMD4.EXEC:echo EM_MENU= $EM_MENU
2.3.3.CMD5.EXEC:echo EM_BGPATH= $EM_BGPATH
2.3.3.CMD6.EXEC:echo EM_PS1= $EM_PS1
2.3.4.CMD.INT:CONFIGDEBUG
2.3.5.CMD.INT:CFGSET
2.3.5.CMD.ARG:@.PREBG:echo Global PREBG option has been changed!!
2.3.5.CMD2.EXEC:echo Please note that the current time and date will
2.3.5.CMD3.EXEC:echo will not be shown at the top of the screen after the
2.3.5.CMD4.EXEC:echo next update. This is because the current configuration
2.3.5.CMD5.EXEC:echo has been changed using the internal command CFGSET.
2.3.5.CMD6.EXEC:echo 
2.3.5.CMD7.INT:WAITRETURN
2.3.5.CMD7.ARG:Press return to update the screen and see the changes...
2.3.6.CMD.INT:CFGREMOVE
2.3.6.CMD.ARG:@.PREBG
2.3.6.CMD2.EXEC:echo The option that shows the current time and date at the top
2.3.6.CMD3.EXEC:echo of the screen will now be removed.
2.3.6.CMD4.EXEC:echo
2.3.6.CMD5.INT:WAITRETURN
2.3.6.CMD5.ARG:Press return to update the screen and see the changes...
2.3.7.CMD.INT:CFGRELOAD
m.CMD.EXEC:echo Enter your e-mail below. Send the e-mail by typing one
m.CMD2.EXEC:echo single dot and then return on an empty line.
m.CMD3.EXEC:echo Note: Please use English or Swedish!
m.CMD4.EXEC:mail ola@mreriksson.net
m.CMD5.EXEC:echo Thanks!
