This file is indexed.

/usr/share/anyremote/cfg-data/Server-mode/exampleModes.cfg is in anyremote-data 6.5-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
%
% anyremote configuration file. Multi-mode example (Server-mode)
%

% STATUS stable
% XTEST no
% SOUND no
% ENV no

GuiAppName=Multimode test
GuiAppType=Example
GuiAppBinary=true
GuiAppProtocols=Server
GuiAppDesc=Simple example of how to use multiple modes.

[Protocol]=Server

(Init)=\
	Include($(CfgDir)/Utils/aliases-server.cfg);

(Connect)=\
	Set(title,);\
	Set(status,);\
	Set(icons,Multimode Example,\
		1,default,2,default,3,default,\
		4,default,5,default,6,default,\
		7,default,8,default,9,default,\
		*,question,0,default,#,default);\
	Set(menu,replace,Default,Mode1,Mode2,Mode3);

Cancel=\
    Make(exit);

Back=Set(text,close);
Default=Make(mode,default);
Mode1=Make(mode,1);
Mode2=Make(mode,2);
Mode3=Make(mode,3);

% Default mode
1=Exec($(CfgDir)/Utils/message.sh Default_1)
2=Exec($(CfgDir)/Utils/message.sh Default_2)
3=Exec($(CfgDir)/Utils/message.sh Default_3)
4=Exec($(CfgDir)/Utils/message.sh Default_4)
5=Exec($(CfgDir)/Utils/message.sh Default_5)
6=Exec($(CfgDir)/Utils/message.sh Default_6)
7=Exec($(CfgDir)/Utils/message.sh Default_7)
8=Exec($(CfgDir)/Utils/message.sh Default_8)
9=Exec($(CfgDir)/Utils/message.sh Default_9)
0=Exec($(CfgDir)/Utils/message.sh Default_0)

* * =Set(text,replace,Help,Just press buttons and inspect results\nUse menu to switch between modes)

[Mode]=1
(EnterMode)=Exec($(CfgDir)/Utils/message.sh "New mode is $(Mode)");Set(status, Mode 1);
1=Exec($(CfgDir)/Utils/message.sh Mode1_1)
2=Exec($(CfgDir)/Utils/message.sh Mode1_2)
3=Exec($(CfgDir)/Utils/message.sh Mode1_3)
4=Exec($(CfgDir)/Utils/message.sh Mode1_4)
5=Exec($(CfgDir)/Utils/message.sh Mode1_5)
6=Exec($(CfgDir)/Utils/message.sh Mode1_6)
7=Exec($(CfgDir)/Utils/message.sh Mode1_7)
8=Exec($(CfgDir)/Utils/message.sh Mode1_8)
9=Exec($(CfgDir)/Utils/message.sh Mode1_9)
0=Exec($(CfgDir)/Utils/message.sh Mode1_0)
[ModeEnd]

[Mode]=2
(EnterMode)=Exec($(CfgDir)/Utils/message.sh "New mode is $(Mode)");Set(status, Mode 2);
1=Exec($(CfgDir)/Utils/message.sh Mode2_1)
2=Exec($(CfgDir)/Utils/message.sh Mode2_2)
3=Exec($(CfgDir)/Utils/message.sh Mode2_3)
4=Exec($(CfgDir)/Utils/message.sh Mode2_4)
5=Exec($(CfgDir)/Utils/message.sh Mode2_5)
6=Exec($(CfgDir)/Utils/message.sh Mode2_6)
7=Exec($(CfgDir)/Utils/message.sh Mode2_7)
8=Exec($(CfgDir)/Utils/message.sh Mode2_8)
9=Exec($(CfgDir)/Utils/message.sh Mode2_9)
0=Exec($(CfgDir)/Utils/message.sh Mode2_0)
[ModeEnd]

[Mode]=3
(EnterMode)=Exec($(CfgDir)/Utils/message.sh "New mode is $(Mode)");Set(status, Mode 3);
1=Exec($(CfgDir)/Utils/message.sh Mode3_1)
2=Exec($(CfgDir)/Utils/message.sh Mode3_2)
3=Exec($(CfgDir)/Utils/message.sh Mode3_3)
4=Exec($(CfgDir)/Utils/message.sh Mode3_4)
5=Exec($(CfgDir)/Utils/message.sh Mode3_5)
6=Exec($(CfgDir)/Utils/message.sh Mode3_6)
7=Exec($(CfgDir)/Utils/message.sh Mode3_7)
8=Exec($(CfgDir)/Utils/message.sh Mode3_8)
9=Exec($(CfgDir)/Utils/message.sh Mode3_9)
0=Exec($(CfgDir)/Utils/message.sh Mode3_0)
[ModeEnd]

[End]