summaryrefslogtreecommitdiff
path: root/m4/lls/gui.suite.m4
blob: 81b5e98b34b1e7e9f71b0ab4b6aa83ffdf041e97 (plain)
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
m4_define(PROGRAM, para_gui)
m4_define(DEFAULT_CONFIG_FILE, ~/.paraslash/gui.conf)
[suite gui]
version-string = GIT_VERSION()
[supercommand para_gui]
	purpose = show para_audiod status in a curses window
	[description]
		para_gui is a curses program which displays status information
		about para_server and para_audiod in a terminal. Keys may be
		mapped to user-defined commands which are executed when the key is
		pressed. Command output is shown in a simple pager.
	[/description]
	m4_include(common-option-section.m4)
	m4_include(help.m4)
	m4_include(detailed-help.m4)
	m4_include(version.m4)
	m4_include(config-file.m4)
	m4_include(loglevel.m4)
	m4_include(per-command-options-section.m4)
	m4_include(socket.m4)
	[option theme]
		short_opt = T
		summary = select startup theme
		arg_info = required_arg
		arg_type = string
		typestr = name
		[help]
			If this option is not given the default theme is used. If the given
			name is not a valid theme name, the list of available themes is
			printed and the program terminates.
		[/help]
	[option key-map]
		short_opt = k
		summary = map a key to a command using one of three possible modes
		arg_info = required_arg
		arg_type = string
		typestr = k:m:c
		flag multiple
		[help]
			Mode may be d, x or p for display, external and paraslash commands,
			respectively. Of course, this option may be given multiple times,
			one for each key mapping. See the manual for more information.
		[/help]
	[option print-hostname]
		summary = show the name of the local host in the status bar
		[help]
			This option is useful to distinguish instances of para_gui which run on
			different hosts. The hostname is determined from the .nodename field of
			the utsname structure returned by uname(2).
		[/help]