From 5c5b05f3362537abc1817c96191435e08ad6a09f Mon Sep 17 00:00:00 2001 From: Tobias Blomberg Date: Sun, 22 Oct 2023 16:58:00 +0200 Subject: [PATCH] Improved docs for the EVENT logic core PTY command --- src/doc/man/svxlink.conf.5 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/doc/man/svxlink.conf.5 b/src/doc/man/svxlink.conf.5 index 05261a3d3..3cfb7edb3 100644 --- a/src/doc/man/svxlink.conf.5 +++ b/src/doc/man/svxlink.conf.5 @@ -476,7 +476,13 @@ Set a configuration variable. Only a few configuration variables support being set at runtime. Example: CFG RepeaterLogic ONLINE 0. .IP \(bu 4 .BR "EVENT [ ...]" " --" -Call an event handler (TCL function). Example: EVENT playNumber -42.5. +Call an event handler (TCL function). It is important to specify the correct +TCL namespace for the function to be found. If no namespace is given, the +namespace of the current logic core will be added, e.g. "manual_identification" +is the same as "RepeaterLogic::manual_identification" if the logic core +namnespace is "RepeaterLogic". To call a function in the root namespace, the +function name must be prepended with "::". +Example: EVENT ::playNumber -42.5. .RE Example: COMMAND_PTY=/dev/shm/repeater_logic_ctrl