NAME
vt — log into another system over lan
SYNOPSIS
/usr/bin/vt
nodename
[lan_device]
/usr/bin/vt -p
[lan_device]
DESCRIPTION
vt
enables a user to log into another HP 9000 system
(nodename)
over an
HP
local area network.
The
-p
option causes
vt
to send a poll request over the local area network
to find out what systems currently have
vtdaemon
running (see
vtdaemon(1M)).
An asterisk
(*)
following a
nodename
in the response
indicates that the system is a
vt
gateway.
Plus signs
(+)
following the
nodename
indicate how many
vt
gateways
must be traversed to reach that system.
The optional argument
lan_device
specifies a character special device name to use
instead of the default device name
to send and receive data to and from the local area network.
The major number for this device must correspond to a
CIO IEEE 802.3
local area network device.
Once a connection has been established,
vt
enters input mode.
In this mode, text typed is sent to the remote host.
To issue
vt
commands when in input mode, precede them with the
vt
escape character (see Commands below).
When in command mode, normal terminal editing conventions are available.
The connection should terminate automatically
upon termination of the login shell on the remote machine.
If the connection is not terminated upon exit, it is likely that the
ptydaemon
on the remote system has either been terminated or restarted.
To terminate a vt connection, enter command mode and use the
quit
command to terminate the connection.
Commands
vt
recognizes the following commands.
Commands can be abbreviated by typing enough of the command
to uniquely identify it.
- cd remote-directory
Change the working directory on the remote machine to
remote-directory.
This command is applicable for file transfer only.
- escape [escape-char]
Set the
vt
escape character.
If a character is not specified
vt
prompts for one.
To print or display the current
vt
escape character simply press Return in response to this prompt.
- help or ?
Print a
vt
command summary.
- lcd [directory]
Change the local working directory.
If no
directory
is specified, use the user's home directory.
This command is applicable for file transfer and shell escapes only.
- get remote-file local-file
- receive remote-file local-file
Copy
remote-file
to local machine and store as
local-file.
vt
prompts for the file names if they are not specified.
The file transfer can be aborted by typing the interrupt character
or pressing the break key.
- put local-file remote-file
- send local-file remote-file
Copy
local-file
to the remote machine and store as
remote-file.
vt
prompts for the file names if they are not specified.
The file transfer can be aborted by typing the interrupt character
or pressing the break key.
- quit
Terminate the connection and exit
vt.
- useruser-name[:[password]]
Identify yourself to the remote
vt
server.
vt
prompts for a password (after disabling local echo) if a colon
(:)
is appended to
user-name.
This command must be executed before any file transfer command can be used.
- ! [shellcommand]
Shell escape.
The given command is passed to a sub-shell for execution.
If no command is given, a shell is started
and connected to the user's terminal.
Access Control Lists (ACLs)
When sending or receiving files using
vt,
optional
ACL
entries are removed.
New files have a summary of the access modes (as returned in
st_mode
by
stat()
of the file being transferred (see
stat(2)).
DIAGNOSTICS
The diagnostics produced by
vt
are intended to be self-explanatory.
WARNINGS
vt
uses the Hewlett-Packard
LLA
(Link Level Access) direct interface to the
HP
network drivers.
vt
uses the multicast address
0x01AABBCCBBAA.
It should not be used or deleted
by other applications accessing the network.
vt
uses the following
IEEE 802.3
sap
(service access point) values:
0x90,
0x94,
0x98,
0x9C,
0xA0,
0xA4,
0xA8,
0xAC,
0xB0,
0xB4,
0xB8,
0xBC,
0xC0,
0xC4,
0xC8,
0xCC,
0xD0,
and
0xD4.
They should not be used by other applications accessing the network.
When using
vt
on a system with multiple
LAN
cards installed, the optional command-line argument
lan_device
may be required if the remote system is not accessible
through the default
LAN
device.
The appropriate
lan_device
is the one connected (either directly or by way of other gateways)
to the remote system.
Desktop HP-UX
If your system has been installed with the Desktop HP-UX product,
neither
ptydaemon
nor
vtdaemon
will be started by default. To start these daemons, change
PTYDAEMON_START
and
VTDAEMON_START
from a
0
to a
1
in the
/etc/rc.config.d/ptydaemon
and
/etc/rc.config.d/vt
files, respectively. The system must be either rebooted for these changes to
take effect, or you can start both daemons manually by typing the
following commands:
/usr/sbin/ptydaemon
/usr/sbin/vtdaemon /dev/lan0
where
/dev/lan0
is the character special device file corresponding to the
IEEE 802.3 local area network device.
FILES
- /dev/lan0
Default lan device name.
- /etc/rc.config.d/ptydaemon
- /etc/rc.config.d/vt