SESSION
Command: #session {name} {host} {port} {file}
Starts a telnet session with the given name, host, port, and optional
file name. The name can be anything you want, except the name of an
already existing session, a number, or the keywords '+' and '-'.
If a file name is given the file is only read if the session
succesfully connects.
Without an argument #session shows the currently defined sessions.
If you have more than one session, you can use the following commands:
#session {-} Switch to the previous session.
#session {+} Switch to the next session.
#session {<number>} Switch to the given session. Session 0 is the
startup session, +1 the first, +2 the second, and
-1 is the last session. Sessions are (currently)
sorted in order of creation.
#gts Switch to the startup session. The name gts stands
for global tintin session.
#ats Switch to the active session. The name ats stands
for active tintin session.
not necessarily the calling session.
#{name} Activates to the session with the given name.
#{name} {command}: Executes a command with the given session without
changing the active session.
@<name>{text}: Parse text in the given session, substituting the
variables and functions, and print the result in
the current active session.
The startup session is named 'gts' and can be used for relog scripts.
Do keep in mind that tickers do not work in the startup session.
Example: #event {SESSION DISCONNECTED} {#gts #delay 10 #ses %0 tintin.net 4321}
Related: all, port, run, sessionname, snoop, ssl and zap.
|