File: Manual

package info (click to toggle)
flin 0.5.1-9.2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 276 kB
  • ctags: 164
  • sloc: ansic: 1,642; makefile: 105; sh: 71
file content (55 lines) | stat: -rw-r--r-- 1,408 bytes parent folder | download | duplicates (4)
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
45
46
47
48
49
50
51
52
53
54
55
Flin manual
v0.1, nowhere near complete, any takers on helping me out?

Copyright (C) 1995 Brian Cully <shmit@kublai.com>.

Introduction
------------
	Flin is a menuing system with fvwm-like syntax.

Menu Structure
--------------
	A menu is defined by a list of items contained inside the tokens `Menu' and `EndMenu', it
can have any amount of items, each defined by TOKEN:LIST:ARGS, where TOKEN
defines what the item does, LIST is how the item appears in the menu, and ARGS
are the arguments to the Token. Some Tokens don't require arguments, some do,
see the Token definition to find out.

Menu Tokens
-----------
	A menu token is a token which has a visible effect on the menu, such
as displaying items.

Currently, Flin supports the following menu tokens:

	Title
	Nop
	SubMenu
	Exec
	Exit
	Quit

Title inserts a non-selectable title line in the menu. Syntax:
	Title:Name:

Nop inserts a non-selectable line in the menu, when blank will produce a line. Syntax:
	Nop:Name:
	   or
	Nop::

SubMenu creates a link to another menu named in the ARGS field. Syntax:
	SubMenu:Name:Menu name:

Exec executes the ARGS field. Syntax:
	Exec:Name:command line:

Exit exits the current menu, returning to the previous menu. If Exit is
executed in the first menu loaded Flin will quit. Syntax:
	Exit:Name:

Quit logs out of Flin. Syntax:
	Quit:Name:

Putting it together
-------------------
	See the file `system.menu'