![Digi Connectware RealPort Setup Manual Download Page 14](http://html1.mh-extra.com/html/digi/connectware-realport/connectware-realport_setup-manual_2496328014.webp)
3-4
Setting Device Options with stty-ncxa
Setting Device Options with stty-ncxa
With the stty-ncxa command, options such as flow control settings, speed, and transparent print
settings can be configured for your RealPort tty devices. For detailed information on the stty-ncxa
command, refer to Setting TTY Options, on page 3-9, and the DG/UX man pages (stty-ncxa is
inserted into the man pages when the driver is installed).
Note:
stty-ncxa is also called ditty for compatibility with other Digi International software. ditty is
the same as stty-ncxa and can be substituted for stty-ncxa in commands described in this
documentation.
Configuring a Device for a Terminal
Use the following procedure to configure a RealPort device for a terminal. For more information on
configuring a serial device for a terminal see Setting Up and Managing Terminals on the DG/UX
System on the user documentation CD that came with your system.
The PortServer and RealPort should be properly installed, configured and functioning before
connecting a terminal.
Procedure
1.
Connect a proper cable between the port and terminal.
2.
Set the port to dev=prn on the PortServer by entering this command at a PortServer root prompt:
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 command at a PortServer root prompt:
set port altpin=on ra=12
This example sets altpin=on for port 12 of a PortServer.
4.
If you want a loss of carrier to terminate the login session, you should use a modem TTY defini-
tion entry in the /etc/ttydefs file. These entries begin with the letter "M" followed by the baud
rate. For best results with RealPort devices this file should be modified from the standard
DG/UX distribution.
As root edit /etc/ttydefs and change lines that begin with an "M" by adding clocal just before the
second ":" in the line and adding -clocal just before the third ":". These should be separated by
spaces like the other options. For example, here is the "M9600" line after editing.
M9600: 9600 echo echoe echok kill erase intr hupcl cs8 opost onlcr icrnl cread clocal : 9600
echo echoe echok iexten kill erase intr hupcl icanon cs8 opost icrnl onlcr cread ixon ixoff isig
tab3 -clocal ::M9600
5.
To enable the terminal port in DG/UX, as root run sysadm and select Device, Port, Terminal, and
then Add. Enter the requested information. Select a modem TTY definition label such as M9600
if you want a loss of carrier to terminate the login session.
You should now be able to login over the terminal.
Summary of Contents for Connectware RealPort
Page 1: ...92000314A RealPort on DG UX Setup Guide...
Page 4: ...2...
Page 10: ...2 4 Related Documentation...
Page 22: ...3 12 Setting TTY Options...