Digi Connectware RealPort Setup Manual Download Page 19

RealPort Setup

3-9

Setting TTY Options

The RealPort DG/UX device driver package includes a command, stty-ncxa, which is a superset of 
stty, and may be used to set and display the device options for Digi RealPort devices.

The general command format is:

stty-ncxa [-a] [-n 

ttyname

] [

option(s)

] [

ttyname

]

With no options, stty-ncxa displays all Digi special driver settings, modem signals, and all standard 
parameters displayed by stty(1) for the TTY device referenced by standard input.

Command options are provided to change flow control settings, set transparent print options, force 
modem control lines, and display all TTY settings. Any unrecognized options are passed to stty(1) 
for interpretation.

stty-ncxa commands may be executed from the command line, or placed in a startup script to be run 
whenever the system is booted.

The options are:

The following options specify transient actions to be performed immediately:

The following options specify actions which are not sticky, meaning that the changes are cancelled 
when the device is 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 

ttyname

Set and display options for the given TTY device, instead of standard input. This 
option may be specified multiple times to perform the same operation on 
multiple TTYs.

ttyname

Set and display options for the specified TTY device. Replace 

ttyname

 with the 

TTY pathname (such as /dev/ttya01s, /dev/term/a01 or /dev/dty/a001s, 
depending on your operating system). This option may be used on a modem 
control line when no carrier is present.

break

Send a 250 MS break signal out on the TTY line.

flush

Immediately flush (discard) TTY input and output.

flushin

Flush TTY input only.

flushout

Flush TTY output only.

stopout

Stop output exactly as if an XOFF character were received.

startout

Restart stopped output exactly as if an XON character were received.

stopin

Activate flow control to stop input.

startin

Release flow control to resume stopped input.

[-]dtr

Raise [drop] the DTR modem control line, unless DTR hardware flow control is 
selected.

[-]rts

Raise [drop] the RTS modem control line, unless RTS hardware flow control is 
selected.

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: