Creates a command input trigger. See the #TRIGGER command for more information on triggers. Instead of matching the pattern against lines received from the server, command input triggers test their pattern against commands you enter on the command line. Output from command input triggers will replace the command that you entered.
You can use the #SUB command in the trigger to replace parts of your command with other text.
You can use the #GAG command in the trigger to prevent the command from being echoed to the screen.
You can use the #NOINPUT command in the trigger to completely stop the orginal text from being sent.
If you set the "Prompt" option for the command input trigger, then your trigger script will be executed *before* the command line is parsed by TeSSH. This allows you to completely override special characters and control exactly how command line parsing is handled.
to the server
Add comment