|
The terminal supports these command line parameters: Usage: wisetns.exe [options] hostname -h, --help show this message and exit. -v, --version show program version and exit. -P, /P, --config load configuration file. -V, /V, --viewer launch viewer application. -T, /T, --title set window title. Telnet Options: -n, --nonaws disable NAWS. -a, --noauth disable Authentication. -t, --notermtype disable Terminal Type. -b, --nobinary disable Binary session. -s, --nosga disable SGA. -5, --wy50 set emulation terminal type. -6, --wy60 set emulation terminal type. The argument 'hostname' can be the hostname or IP address of a remote machine, a name from the phone number list or just a phone number. The name in the phone number list is case-insensitive. The telephone number is validated and must contain at least 5 digits: C:\>"C:\Program Files\WiseTNS\wisetns.exe" "P166-MMX" C:\>"C:\Program Files\WiseTNS\wisetns.exe" "192.168.1.101" C:\>"C:\Program Files\WiseTNS\wisetns.exe" "Red Dwarf" C:\>"C:\Program Files\WiseTNS\wisetns.exe" "9,,555 666 666"To make the following examples more compact, I'm going to assume that the Wiseterm directory has been added to the system path. Only two of the above examples could actually work because the terminal has to be configured to use either the modem or a telnet connection when it is started. This can be done using the --config, -P or /P option: C:\>wisetns --config="C:\Documents and Settings\user\wiseterm\net01.wtx" coyote C:\>wisetns -P"C:\Documents and Settings\user\wiseterm\net02.wtx" 192.168.0.1 C:\>wisetns /P"C:\Documents and Settings\user\wiseterm\modem01.wtx" "9,,555 666 666" The --viewer, -v, /V option makes use of the application set in the Misc. settings tab and can be used to start-up another application (for example a web-browser or a Fax viewer) with a command-line argument: C:\>wisetns --viewer="http://www.google.com/" C:\>wisetns /V"\\REMOTEMACHINE\CDRIVE\DATABASE\FAX\FAX0001.FAX" This is most useful when triggered by the server sending the following command: <ESC>ohttp://www.bbc.co.uk/<CR>The viewer command-line will be truncated to 256 characters. The viewer can also be configured to pop-up when CTRL-<TAB> is pressed. The --title, -T, /T option allows the default title to be set. Connection status messages are still appended to the end of the custom title. Here is an example: C:\>wisetns --title="Inventory Query" These five options: C:\>wisetns --nonaws --noauth --notermtype --nobinary --nosga C:\>wisetns -natbsdisable various Telnet negotiation options and if all are specified the behavior of Wiseterm V3.1.2 and earlier will be reproduced. These two options: C:\>wisetns --wy50="WYSE-50" --wy60="WYSE-60"allow the terminal type for each emulation to be set. I decided not to use the standard strings (shown above) because many 'telnetd' servers are looking for a string that matches the system terminfo files. The current version of Wiseterm uses these default strings: "WYSE50" and "WYSE60".
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||