Digi Connectware RealPort Setup Manual Download Page 14

 

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 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: