Digi Connectware RealPort Setup Manual Download Page 13

RealPort Setup

3-3

RealPort Devices

The RealPort installation creates two different Unix devices in /dev for each port: a standard device 
and a transparent print device. DG/UX uses long names and short names for each device. The short 
names for RealPort devices have a DG/UX standard form and an optional alternate form.

Device Name Format

DG/UX standard serial port devices have short names in the form

tty

NN

where 

NN

 is a number. The built-in serial ports are normally tty00 and tty01; then the RealPort serial 

ports begin with tty02 and continue counting up. However, the exact numbering depends on what 
other standard serial ports devices are configured in the kernel. Transparent print devices do not 
have short names in this form. DG/UX system administration utilities, like sysadm, require names in 
this form.

In addition, if you specified server_port_names on in the /etc/realport.conf file, RealPort standard 
serial ports have short names in the form

tty-

SERVER

-PORT

and transparent print devices have short names in the form

tty-

SERVER

-PORTp

where 

SERVER

 is the number identifying the server (from the /etc/realport.conf file) and PORT is 

the port number on the PortServer, counting from 0. These names cannot be used in sysadm when 
setting up terminals, modems, or UUCP devices; however they can be used in sysadm when setting 
up a printer and in most other contexts outside sysadm where a Unix character device name is 
expected.

For example, assuming your DG/UX system has only the two standard built in serial ports in 
addition to RealPort devices, the first port on the first PortServer would be named /dev/tty02 or 
/dev/tty-0-0, and the corresponding transparent print device would be /dev/tty-0-0p. If you had two 
PortServers, the first with one expansion module for a total of 32 ports, the first port on the second 
PortServer would be named /dev/tty34 or /dev/tty-1-0.

Each device also has a long name, which is rarely used directly. See the release notes for a 
description of these names.

Standard Device

Examples:

 /dev/tty02 or /dev/tty-0-0

The default handshake method is XON/XOFF. Data Carrier Detect must be present to open the 
device. To allow the device to be used without the Data Carrier Detect signal, use

stty-ncxa forcedcd /dev/ttyNN

To configure a RealPort to be used as a login port, use sysadm and choose Device, Port, Terminal, 
and then Add. To ensure that a login session will be terminated when carrier is dropped, select a 
modem TTY definition label for the newly added login port, like M9600; if a direct connection TTY 
definition label like 9600 is used, the login session will not be terminated when carrier drops. 
Complete details on setting up login ports can be found in Setting Up and Managing Terminals on 
the DG/UX System on the DG/UX user documentation CD that came with your system. See also 
Configuring a Device for a Terminal, on page 3-4.

When used with a terminal or other device, it is usually wise to use a modem TTY definition label 
and to wire the Digi DCD signal to the terminal's DTR (Data Terminal Ready) line. When the 
terminal is turned off, any associated jobs are killed, and the user is logged out.

Transparent Print Devices

Example:

 /dev/tty-0-0p

The "Transparent Print Devices" (DigiPRINT) can be used with auxiliary printer ports on terminals. 
Output directed to a transparent print device goes out the auxiliary port of a terminal while the user 
continues to use the terminal normally.

Summary of Contents for Connectware RealPort

Page 1: ...92000314A RealPort on DG UX Setup Guide...

Page 2: ...rovides this document as is without warranty of any kind either expressed or implied including but not limited to the implied warranties of fitness or merchantability for a particular purpose Digi may...

Page 3: ...ing a PortServer or PortServer II for RealPort 2 2 Related Documentation 2 3 Chapter 3 RealPort Setup Master Setup Process 3 2 Uninstalling RealPort 3 2 RealPort Devices 3 3 Setting Device Options wit...

Page 4: ...2...

Page 5: ...About This Guide 1 1 chapter 1 About This Guide In This Chapter Purpose 1 2 Audience 1 2 Conventions 1 2...

Page 6: ...nventions used in this document Special Fonts A special font is used for any input you need to enter For example set config Square Brackets Optional parameters are displayed within square brackets For...

Page 7: ...1 chapter 2 Planning and Requirements In This Chapter Requirements and Considerations 2 2 Information to Gather 2 2 Configuring a PortServer or PortServer II for RealPort 2 2 Related Documentation 2...

Page 8: ...Determine the link speed between the host machine and the Digi device if a slow WAN link for example a 56K leased line connects them Configuring a PortServer or PortServer II for RealPort Use this pr...

Page 9: ...tion and Reference Guide Digi One PortServer Cable Guide PortServer II Documentation PortServer II Hardware Installation Guide PortServer II Command Reference PortServer II Configuration and Administr...

Page 10: ...2 4 Related Documentation...

Page 11: ...aster Setup Process 3 2 Uninstalling RealPort 3 2 Setting Device Options with stty ncxa 3 4 Configuring a Device for a Terminal 3 4 Configuring a Device for a Printer 3 5 Configuring a Device for a Mo...

Page 12: ...llowing procedure Uninstalling RealPort Use this procedure to remove the Digi device driver software from the kernel by using the program usr sbin realport_uninstall Procedure 1 Log onto the console a...

Page 13: ...ev tty02 or dev tty 0 0 and the corresponding transparent print device would be dev tty 0 0p If you had two PortServers the first with one expansion module for a total of 32 ports the first port on th...

Page 14: ...ompt set dev port prn ra 12 This example sets dev prn for port 12 of a PortServer 3 If you are using 8 pin RJ 45 cabling from the PortServer to the terminal set the port to altpin on by entering this...

Page 15: ...completed the Add process the printer should be ready for use To print a file use the command lp d printer_name file_to_print 6 If neither your cable nor printer set carrier you will need to configure...

Page 16: ...The following procedure is an example a Enable forcedcd on the device stty ncxa forcedcd dev tty17 b Connect to the modem with the cu command cu l tty17 If you do not get the Connected message check...

Page 17: ...minal device enter the full path of the device dev tty17 For TTY Definition Label enter a modem definition label such as M9600 For Bidirectional enter yes if you want to use the modem for dial out or...

Page 18: ...se maxchar n Limits the number of characters queued to the printer ahead of terminal output Lower numbers increase system overhead higher numbers result in keystroke echo delays A value of 50 is gener...

Page 19: ...s closed and that the device will use the default values the next time it is opened a Display all of the unique Digi option settings as well as all of the standard TTY settings reported by stty a n tt...

Page 20: ...number see startc above for format of octal and hexadecimal numbers astartc c Sets auxiliary XON flow control character The character may be given as a decimal octal or hexadecimal number see startc a...

Page 21: ...s that command the terminal to enter transparent printing mode An arbitrary octal character xxx may be given as xxx For example the sequence Esc 5i would be entered as 033 5i term t Sets the transpare...

Page 22: ...3 12 Setting TTY Options...

Reviews: