AT&T UNIX™PC Unix System V Users Manual - tenox
AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox
CURSES ( 3 ) CURSES ( 3 ) NAME curses - screen functions with "optimal " cursor motion SYNOPSIS cc [ flags I files -lcurses -ltermcap [ libraries I DESCRIPTION These routines give the user a method of updating screens with reasonable optimization. They keep an image of the current screen, and the user sets up an image of a new one. Then the refresh(} tells the routines to make the current screen look like the new one. In order to initialize the routines, the routine initscr() must be called before any of the other routines that deal with windows and screens are used. The routine endwin(} should be called before exiting. SEE ALSO Screen Updating and Cursor Movement Optimization: A Library Package, Ken Arnold, termio(7) termcap(5) FUNCTIONS addch(ch) addstr(str) box( win, vert,hor) crmode() clear() clearok(scr, boolf) clrtobot() clrtoeol() delch() deleteln() delwin(win) echo() endwin() erase() getch() getcap(name) getstr(str) gettmode() getyx(win,y,x) inch() initscr() insch(c) insertln() leaveok(win,boolf) longname(termb uf,name) move(y,x) mvcur(lasty ,lastx,newy ,newx) newwin(lines,cols,begin_y ,begin_x) nl() nocrmode() noecho() nonl() - 1 - add a character to stdscr add a string to stdscr draw a box around a window set cbreak mode clear stdscr set clear flag for scr clear to bottom on stdscr clear to end of line on stdscr delete a character delete a line delete win set echo mode end window modes erase stdscr get a char through stdscr get terminal capability name get a string through stdscr get tty modes get (y ,x) co-ordinates get char at current (y ,x) coordinates initialize screens insert a char insert a line set leave flag for win get long name from termbuf move to (y,x) on stdscr actually move cursor create a new window set newline mapping unset cbreak mode unset echo mode unset newline mapping
- Page 763 and 764: SYSLOCAL ( 2) SYSLOCAL ( 2) NAME Sy
- Page 765: TIME ( 2) TIME(2) NAME time - get t
- Page 768 and 769: .�.· '··.· ·•. J '·· -,
- Page 771 and 772: UMASK( 2 ) UMASK ( 2 ) NAME umask -
- Page 773 and 774: UMOUNT (2) UMOUNT (2) NAME umount -
- Page 775: UNAME ( 2 ) UNAME (2) NAME uname -
- Page 779: USTAT (2) USTAT (2) NAME ustat - ge
- Page 783 and 784: WAIT ( 2 ) WAIT ( 2 ) NAME wait - w
- Page 785 and 786: WRITE(2) WRITE (2) NAME write - wri
- Page 787 and 788: INTR0 ( 3 ) INTR0 ( 3 ) NAME intro
- Page 789: A64L ( 3C ) A64L ( 3C ) NAME a641,
- Page 793: ABS (3C) ABS (3C) NAME abs - return
- Page 797: ATOF ( 3C ) ATOF ( 3C ) NAME atof -
- Page 800 and 801: ·�
- Page 803: CLOCK( 3C ) CLOCK( 3C ) NAME clock
- Page 806 and 807: J ··- � . ..._ __ .·
- Page 809: CTERMID ( 3S ) CTERMID ( 3S ) NAME
- Page 812 and 813: CTIME (3C) CTIME(3C) The external l
- Page 816 and 817: CURSES (3) no raw() overlay(winl,wi
- Page 818 and 819: I�
- Page 820 and 821: DIAL ( 3C ) DIAL ( 3C ) required. T
- Page 822 and 823: DRAND48 ( 3C ) DRAND48 ( 3C ) a = 5
- Page 824 and 825: � --- ·
- Page 827: END ( 3C ) END ( 3C ) NAME end, ete
- Page 830 and 831: � .._.·· ��. .... ._ _ _ /
- Page 832 and 833: · '-... _ _ / . f) · (� "-- ·
- Page 835: FCLOSE ( 3S ) FCLOSE ( 3S ) NAME fc
- Page 839: FLOOR ( 3M ) FLOOR ( 3M) NAME floor
- Page 842 and 843: FOPEN (3S) FOPEN (3S) may be used t
- Page 844 and 845: FORM(3T) (AT&T UNIX PC only ) FORM
- Page 846 and 847: FORM{3T) { }; (AT&T UNIX PC only )
- Page 848 and 849: FORM(3T) (AT&T UNIX PC only ) FORM(
- Page 851: FREXP ( 3C ) FREXP ( 3C ) NAME frex
- Page 855: FTW(3C) FTW(3C) NAME ftw - walk a f
- Page 858 and 859: �·. (
- Page 860 and 861: I� i -� ·-
- Page 863: GETENV (3C) NAME getenv - return va
CURSES ( 3 ) CURSES ( 3 )<br />
NAME<br />
curses - screen functions with "optimal " cursor motion<br />
SYNOPSIS<br />
cc [ flags I files -lcurses -ltermcap [ libraries I<br />
DESCRIPTION<br />
These routines give the user a method of updating screens with<br />
reasonable optimization. They keep an image of the current<br />
screen, and the user sets up an image of a new one. Then the<br />
refresh(} tells the routines to make the current screen look like the<br />
new one. In order to initialize the routines, the routine initscr()<br />
must be called before any of the other routines that deal with windows<br />
and screens are used. The routine endwin(} should be called<br />
before exiting.<br />
SEE ALSO<br />
Screen Updating and Cursor Movement Optimization: A Library<br />
Package, Ken Arnold,<br />
termio(7) termcap(5)<br />
FUNCTIONS<br />
addch(ch)<br />
addstr(str)<br />
box( win, vert,hor)<br />
crmode()<br />
clear()<br />
clearok(scr, boolf)<br />
clrtobot()<br />
clrtoeol()<br />
delch()<br />
deleteln()<br />
delwin(win)<br />
echo()<br />
endwin()<br />
erase()<br />
getch()<br />
getcap(name)<br />
getstr(str)<br />
gettmode()<br />
getyx(win,y,x)<br />
inch()<br />
initscr()<br />
insch(c)<br />
insertln()<br />
leaveok(win,boolf)<br />
longname(termb uf,name)<br />
move(y,x)<br />
mvcur(lasty ,lastx,newy ,newx)<br />
newwin(lines,cols,begin_y ,begin_x)<br />
nl()<br />
nocrmode()<br />
noecho()<br />
nonl()<br />
- 1 -<br />
add a character to stdscr<br />
add a string to stdscr<br />
draw a box around a window<br />
set cbreak mode<br />
clear stdscr<br />
set clear flag for scr<br />
clear to bottom on stdscr<br />
clear to end of line on stdscr<br />
delete a character<br />
delete a line<br />
delete win<br />
set echo mode<br />
end window modes<br />
erase stdscr<br />
get a char through stdscr<br />
get terminal capability name<br />
get a string through stdscr<br />
get tty modes<br />
get (y ,x) co-ordinates<br />
get char at current (y ,x)<br />
coordinates<br />
initialize screens<br />
insert a char<br />
insert a line<br />
set leave flag for win<br />
get long name from termbuf<br />
move to (y,x) on stdscr<br />
actually move cursor<br />
create a new window<br />
set newline mapping<br />
unset cbreak mode<br />
unset echo mode<br />
unset newline mapping