Port, Performing the send data to port test – Perle Systems RIO 5500036-17 User Manual

Page 266

Advertising
background image

RIO Remote I/O System User Guide
rio.cf file

Page 266

Chapter 5 RIO command line utilities

PORT

Function

Defines the settings for a particular port

Example

PORT:<offset>:<tty dev>:<xp dev>:<xcps>:<xpon>:<xpoff>:ixany,ixon,lock,store,drain:

Field descriptions

Field

Operating
systems

Description

<offset>

Available under

Solaris

and

Linux

.

Defines the system port offset with respect to the owning RTA. (user
read/write,

must

be set).

<tty dev>

String defining the system name for the device (user read/write,
default based on DEFPORT settings) used by

riomkdev

when

creating device names for ports.

<xp dev>

Solaris

only

.

Not available under
Linux

.

String defining the system name for a transparent print device (user
read/write, default based on DEFPORT settings)

riomkdev

when

creating device names for transparent printing ports.

<xcps>

Decimal number defining the number of characters (user read/write,
default = 100) per second rate for transparent print data through a
terminal.Valid values are in the range 10 to 1000.

<xpon>

String defining the "transparent print on" escape sequence sent (user
read/write, default = "XPON") to re-direct transparent print data
through a terminal. (A "^" character is used to generate control
characters, for example, "^[" = 0x1B).

<xpoff>

String defining the "transparent print off" escape sequence sent (user
read/write, default = "XPOFF") to stop re-direction of transparent print
data through a terminal. (A "^" character is used to generate control
characters, for example, "^[" = 0x1B).

ixany

Available under

Solaris

and

Linux.

Always open port with

termio

flag,

ixany

set.

ixon

Always open port with

termio

flag,

ixon

set.

lock

Locks port settings, and disallows further configuration attempts
using

termio

.

store

Store port settings across closes.

drain

Solaris

only

.

Not available under
Linux.

When set, this flag causes the port to wait until data transmission and
reception has finished before closing the port. If not set the port will
wait for up to 15 seconds for the data to drain and then close.

Advertising