HP 9000 Series 300 Tutorials Manual page 256

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

Advertisement

Description of Curses Routines (Continued)
refreshO
wrefresh ( win)
resettermO
savetermO
fixtermO
resettyO
savettyO
savetermO
savettyO
scanw(fmt,args)
wscanw (win,/mt, args)
mvscanw(y,x,/mt,args)
mvwscanw( win,y,x,
fmt,args)
2-20
Curses Routines
These functions output window data to the terminal (other
routines only manipulate data structures). wrefresh copies
the named window to the physical screen on the terminal
by using wnoutrefresh (win) followed by doupdate 0,
taking into account what is already on the screen in order
to optimize the transfer. refreshO is similar, except
it uses stdscr as the default screen. Unless leaveok is
enabled, the cursor is placed at the location of the window
cursor when the operation is complete.
resetterm restores the current terminal to the operating
condition it was in when curses was started. The "current
curses state" is saved by savetermO for possible future
use by fixtermO. resetterm and fixterm should be used
in all shell escapes. Equivalent routines are also available
at the t erminf
0
level.
Restores (resets) the tty modes to those stored in the
buffer by the last previous savettyO command. This
means that only one set of states can be stored at any
given time. See savetty 0 .
Preserves the current terminal curses state for possible
future use by fixterm. See resettermO and fixtermO.
Saves the current state of the tty modes in a buffer for
possible later use by resetty O. See resetty 0 .
Corresponds to scanf (see scanf(3S) entry in the HP-UX
Reference). Calls wgetstr which inputs characters from
the terminal and places them in a buffer until new line is
received. When newline is received, the string in the buffer
serves as input for the scan which processes the buffered
string and places the result in the appropriate args. Uses
getch for character input and echo handling.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hp 9000 series 800

Table of Contents