home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 3
/
PDCD_3.iso
/
internet
/
tcpip204
/
TCPIP_Doc
/
Notes
/
MenuFiles
< prev
next >
Wrap
Text File
|
1995-02-20
|
1KB
|
40 lines
!TCPIP (vterm) Menu file format
===============================
The file format for menu definitions was very lazily based upon that
used by RISC_OSLib for specifying menus and sort of grew from there.
While reading this, it is worth looking at one or more of the menu file
in !TCPIPUser.Menus.
The first line in the menu file is a list of the actual menu items as
seen on a menu in the following format:
<menu entry> [<sep> <menu entry> ...]
<sep> is an item separatr as follows:
"," is a normal separator.
"|" shows a line between the entries.
Any <menu entry> may be prefixed with "~" to cause it to be greyed
out, and so unselectable.
Subsequent lines in the menu file contain the actual macro, one line for
each menu entry in the following format:
['@'<submenu file>] [<command> [ '|' <command> ...] ]
For example:
@Mail
Specifies a submenu only.
@Time time read
Specifies a submenu 'time' with action command 'time read'.
filer run <Newsbase$Dir>.!Run|filer run <TTFN$Dir>.!Run
Note the separator ---------^
This loads Newsbase and !TTFN