Download OS-9 Porting Guide

Transcript
9
Creating an SCF Device Driver
Table 9-7 SCF Path Descriptor Options (continued)
Name
Description
pd_tabch
Tab Character
This is the tabulate character. In I_WRITLN calls,
SCF expands this character to spaces to make
tab stops at column intervals specified by the
pd_tabsiz field.
NOTE: SCF does not know the effect of control
characters on particular terminals. Therefore, it
may expand tabs incorrectly if they are used.
pd_bellch
Bell Character
This is the bell sound character. In I_READLN
calls, SCF echoes this character to the terminal
once for every character input after the input
buffer has filled. It is only useful for terminals with
sound capability. It can be disabled by setting this
value to 0.
pd_bspch
Backspace Character
This is the backspace output echo character. This
is the backspace character SCF echoes when it is
performing an editing function requiring a
backspace, such as move cursor left.
pd_case
Case Mode
This field indicates the casing mode SCF should
use for input and output characters. When this
field is non-zero, SCF converts all characters in
the range a..z to A..Z.
OS-9 Porting Guide
177