Defport – Perle Systems RIO 5500036-17 User Manual

Page 264

Advertising
background image

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

Page 264

Chapter 5 RIO command line utilities

DEFPORT

Function

Defines the default settings for ports

Example

Field descriptions

DEFPORT:<offset>:<dev prfx>:<xp dev prfx>:<tty modem>:<xcps>:<xpon>:<xpoff>:ixany,

ixon

,lock,store

Field

Operating
systems

Description

<offset>

Available under

Solaris

and

Linux

.

Defines an offset added to each system port when defining the
default name for a device using the

riomkdev

utility.

Solaris

:

Default = 1

Linux

:

Default = 0

<dev prfx>

ANSI C "printf" style string defining the default name for a device.
Used by

riomkdev

when creating device names for ports.

Solaris:

The default of "/dev/term/r03%d" will give the name /dev/

term/r006 to system port 5 (0 based).

Linux:

The default of “/dev/ttySR%d” will give you the name

/dev/ttySR5 to system port 5.

<xp dev prfx>

Solaris

only

.

Not available under
Linux.

ANSI C "printf" style string defining the default name for a (user read/
write, default = "/dev/xprt/r03%d") transparent print device used by

riomkdev

when creating device names for transparent printing ports.

For example, if default prefix = "/dev/xprt/r03%d", then system port 6
will have the name "/dev/xprt/r006".

<tty/modem>

Defines device type and contains string "tty" or "modem" defining the
type of default device (user read/write, default = "tty") to be created.

<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).

Advertising