HP 9000 Series 300 Tutorials Manual page 228

Device i/o and user interfacing hp-ux concepts and tutorials
Hide thumbs Also See for HP 9000 Series 300:
Table of Contents

Advertisement

• typeahead (file_descriptor), when set, enables typeahead for the
specified file where file_descriptor is the terminal input file. A file
descriptor value of zero selects stdin; -1 disables typeahead checking.
• scrollok (win, boolean_flag), when set, enables scrolling on the specified
window whenever the cursor position exceeds the lower boundary of
the window (or scrolling region, if set). Boundary crossing results
when a newline occurs on the bottom line or a character is placed in
the last character position of the bottom line. If scrollok is enabled,
the window or scrolling region is scrolled up one line, and a refresh
operation is performed to update the terminal screen. idlok must be
enabled on the terminal to get a physical scrolling effect on the visible
display. If scrollok is disabled, the cursor is left on the bottom line,
and no advances are allowed beyond the last character position.
• setscrreg(top,bottom) and wsetscrreg( win,top,bottom) are used to
set software scrolling regions within a given window. If this option and
scrollok are both active, the scrolling region is scrolled up one line
and refresh is called to update the screen whenever the cursor position
is moved beyond the lower limit of the scrolling region in the window.
To get a scrolling effect on the terminal screen, idlok must also be
enabled.
Terminal Configuration Routines
These routines are used to set or disable various operating modes that are
supported by the terminal being used.
• cbreakO and nocbreakO enable and disable single-character mode.
When cbreak is enabled, characters are received and processed from
the terminal keyboard as they are typed. When nobreak is active,
characters are held by the tty driver until a newline key is received
before making the line available to the program. Interrupt and flow
control characters are not affected by either option. cbreak enabled is
the preferred operating mode for most interactive programs. Default is
nobreak active.
• echo
0
and noecho
0
select direct echoing of characters back to the
terminal display as they are received by the tty driver, or transfer the
characters to the program without returning them to the terminal
1-30
Using Curses and Terminfo

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hp 9000 series 800

Table of Contents