/usr/share/anyremote/cfg-data/AT-mode/example-kdialog.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 | %
% anyremote configuration file for kdialog --msgbox management.
%
% STATUS stable
% XTEST no
% SOUND no
% ENV no
GuiAppName=Kdialog test
GuiAppType=Example
GuiAppBinary=true
GuiAppProtocols=AT
GuiAppDesc=Simple example of configuration file.
[Protocol]=AT
% aliased keys
Answer=\
SendCKPD(E);\
Make(disconnect);
Cancel=\
SendCKPD(E);\
Make(exit);
(Init)=\
Include($(CfgDir)/Utils/aliases-at.cfg);\
Make(var,TwoWayComm,by_value,true);\
Macro(CHECK_RFCOMM_DEVICE);\
Make(var,ToMainMenu,by_value,:R);\
Exec(kdialog --msgbox "Initialized");\
Make(alarm,/tmp/alarm1,ALARM1);\
Make(alarm,/tmp/alarm2,ALARM2);
(Connect)=\
Exec(kdialog --msgbox Connected)
(Disconnect)=\
Exec(kdialog --msgbox Disconnected)
InCall($$)=\
Exec(kdialog --msgbox "A call from $(Param)");
EndCall($$)=\
Exec(kdialog --msgbox CALL_END);
1=Exec(kdialog --msgbox 1)
2=Exec(kdialog --msgbox 2)
3=Exec(kdialog --msgbox 3)
4=Exec(kdialog --msgbox 4)
5=Exec(kdialog --msgbox 5)
6=Exec(kdialog --msgbox 6)
7=Exec(kdialog --msgbox 7)
8=Exec(kdialog --msgbox 8)
9=Exec(kdialog --msgbox 9)
0=Exec(kdialog --msgbox 0)
% Multikey commands
* * =Exec(F="$(TmpDir)/anyrem.hlp";echo "Just press buttons and inspect results" > $F);\
Macro(SHOW_HELP);
# 1=Exec(kdialog --msgbox Hash_1)
# 2=Exec(kdialog --msgbox Hash_2)
EMPTY=Exec(kdialog --msgbox EMPTY)
ALARM1=SendCKPD(* 1 *);Exec(kdialog --msgbox "Alarm 1")
ALARM2=SendCKPD(* 2 *);Exec(kdialog --msgbox "Alarm 2")
[End]
|