[ Previous | Next | Contents | Home | Search ]
AIX Versions 3.2 and 4 Asynchronous Communications Guide

Moving a TTY to Another Port

This procedure allows you to move a tty device to another port and retain all the characteristics of the device. Use the System Manager Interface Tool (SMIT) to build the chdev command or issue the chdev command directly from the command line.

Prerequisites

  1. A tty device must be defined to the system.
  2. The tty must be disabled. Refer to the pdisable command.

Move a TTY to Another Port Using SMIT

  1. Use the smit movtty fast path to access the TTY screen.
  2. Select the tty device type to be moved.
  3. Select the adapter device to which the tty is or will be attached.
  4. At the PORT number field, use the List option to display a list of available ports. Select the port to which the tty device is to be moved.
  5. Select Do to move the device.

Move a TTY to Another Port from the Command Line

Enter the chdev command at the command line, specifying the following flags:

-l Name Identifies the tty device to be moved.
-p ParentName Identifies the parent device.
-w ConnectionLocation Identifies the port number to which the tty device is to be moved.

The following example moves a defined tty device tty11 to port 0 on serial adapter sa5 :

chdev -l tty11 -p sa5 -w 0

See the chdev command for a detailed description.


[ Previous | Next | Contents | Home | Search ]