WiseTerm Owl
 Serial Comms
 Modem Port
 Aux. Port
 Paste Buffers
 Telnet Connect
 Serial Connect
 Local Commands
Command line

Valid HTML 4.01!
[Created with Vim]
[Python Powered]
Command Line Parameters Search  Prev Next 

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" ""
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"
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/"

This is most useful when triggered by the server sending the following command:

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 -natbs
disable 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".

  Top Prev Next