You can call a host by name if it is in the PAD hosts database. Otherwise, you must specify its address.
If you have already started the pad program in command mode, for example to look at the PAD Hosts Database, you need to switch to call mode to call the host.
Alternatively, if you have not already started the pad program, you can start it up in call mode.
To start the pad program in call mode and call a host:
Start the pad program as follows, specifying either the name of the host you want to call, as it appears in the PAD Hosts Database or its address:
localhost% /opt/SUNWconn/bin/pad hostname/address |
If you need to give the link number, put it before the hostname or address, followed by a period:
localhost% /opt/SUNWconn/bin/pad linknumber.address |
The system responds with the break-in sequence, then tells you that it is trying to establish a connection, then displays a login prompt.
localhost% /opt/SUWNconn/bin/pad host1 Break-in sequence is '^Pa' Connecting... Connected Solstice X.29 Terminal Service login: |
Make a note of the break-in sequence as you need it to close the connection.
Log into the remote system as normal, entering your password if the system prompts for one.
For security reasons, the password is not echoed on the screen.
login: username Password: password term: Undefined variable remotehost% |
You need to do this if you are connecting to a host running the Solaris environment. You may also need to do so for some other operating systems. If in doubt, check with the person responsible for the remote host.
If the remote host is running the Solaris 2.x environment and the Bourne shell, the default, set the terminal type like this:
remotehost% set TERM=terminal type remotehost% export TERM remotehost% /usr/bin/tput reset |
If the remote host is running the Solaris 1.x environment and the Bourne shell, set the terminal type like this:
remotehost% set TERM=terminal type remotehost% export TERM remotehost% /usr/bin/tset reset |
Once you have established a connection with the remote host, as shown above, you can work as normal.
To start the pad program in command mode, enter:
localhost% /opt/SUNWconn/bin/pad |
The system displays the PAD: prompt:
PAD: |
This tells you that you are in command mode.
Optionally, if you run the pad command with the f option and a user configuration file as a parameter, this will be executed first before the PAD: prompt appears.
Switch to call mode by calling a host. Enter the command call followed by the name or address of the remote host at the PAD: prompt, then continue as described in steps 2 and 3, above, like this:
PAD: call hostname/address Break-in sequence is '^Pa' Connecting... Connected Solstice X.29 Terminal Service login: username Password: password term: Undefined variable remotehost% remotehost% set TERM=terminal type remotehost% export TERM remotehost% /usr/bin/tput reset |
You can specify the following additional components of a numeric address: an OSI NSAP address, a non-OSI address extension, and Call User Data.
To specify an OSI NSAP address, enter a period, an N (uppercase only) and a period before the NSAP address:
PAD: call 21521122334455.N.4910002233 |
To specify a non-OSI address extension, enter a period, an X (uppercase only), and another period:
PAD: call 21521122334455.X.7777 |
Specify Call User Data by preceding the data with space followed by a tilde (~). For example:
PAD: call 21521122334455 ~cud |
The pad program automatically adds the X.29 protocol identifier (01000000) to the front of the data you specify.
If you enter a pad command using call user data in a c shell, you must escape the tilde by preceding it with a back-slash "\":
> pad 21521122334455 \~cud |
You can also specify Call User Data in conjunction with an OSI or non-OSI address extension. For example:
PAD: call 21521122334455.N.4910002233 ~cud |