devport() — Silicon Graphics
NAME
devport - assign a serial port to an external graphics device
SPECIFICATION
C
devport(dev, portno)
Device dev;
long portno;
FORTRAN
subroutine devpor(dev, portno)
integer*4 dev, portno
Pascal
procedure devport(dev, portno: longint);
DESCRIPTION
The serial ports on the back panel of the IRIS are numbered 0 through 3. Port 0 is used to connect the keyboard to the IRIS system. The remaining ports may be used to connect additional terminals to the IRIS, or to connect graphics peripherals such as a dial and button box or a digitizing tablet. The system software initially assumes that a dial box or a tablet will be connected to port number 3. However, if both a dial box and a tablet are to be used with the IRIS, the system must be told the port that is being used for each device. The devport command assigns a serial port to the specified device. This is done by specifiying a device number belonging to the peripheral, and a port number between 1 and 3. For example devport(DIAL0,2) followed by devport(BPAD0,3) indicates that the dial box is connected to the second port and the digitizing pad is connected to the third port.
NOTE
This command should be used on system startup before any of the input peripherals are used.
SEE ALSO
Manual page for the following command is located in the Unix Programmer’s Manual, Volume I: devport(1)
Version 2.4 — May 08, 1986