TinTin++ Mud Client Manual
Run
space
Syntax: #run {session name} {shell commands} {file}
space
The run command runs a shell command or console application interactively. When the application terminates so will the session much like a normal session.
space
You can run any shell command, wether that be ssh, telnet, python, php, perl or ruby.
space
By default the #run command will place you in character mode, meaning each key-press is transmitted directly to the application. It is possible to enter a tintin command after you press enter. To disable character mode press enter and input: #cursor echo on.
space
Example: #run myserver ssh myname@myserver.com
space
This would create a ssh session to a *nix server with full tintin scripting capabilities.
space
Example: #run python python;#act {^cmd %1} {%1};print "cmd #showme <118>Hello World!"
space
This would start a python shell, create a trigger to execute any text preceded by 'cmd ', and print a red colored line.
space
Notice: You can also use the #script and #system commands to execute shell commands.
space
See also: All, Port, Session, Session Name, Snoop, SSL and Zap.
space