|
curs_scroll(3x) -- scroll a curses window
|
With the scroll routine, the window is scrolled up one line. This involves moving the lines in the window data structure. As an optimization, if the scrolling region of the window is the entire screen, the physical screen is scrolled at the same time. With the scrl and wscrl routines, for positive n scroll the window up n lines (line i+n becomes i); otherwise scroll the window down n lines. This involves moving the lines in the window character image ... |
curs_scr_dmp(3x) -- read (write) a curses screen from (to) a file
|
With the scr_dump routine, the current contents of the virtual screen are written to the file filename. With the scr_restore routine, the virtual screen is set to the contents of filename, which must have been written using scr_dump. The next call to doupdate restores the screen to the way it looked in the dump file. With the scr_init routine, the contents of filename are read in ... |
|
curs_slk(3x) -- curses soft label routines
|
curses manipulates the set of soft function-key labels that exist on many terminals. For those terminals that do not have soft labels, curses takes over the bottom line of stdscr, reducing the size of stdscr and the variable LINES. curses standardizes on eight labels of up to eight characters each. To use soft labels, the slk_init routine must be called before in... |
curs_termatt(3x) -- curses environment query routines
|
The baudrate routine returns the output speed of the terminal. The number returned is in bits per second, for example 9600, and is an integer. With the erasechar routine, the user's current erase character is returned. The has_ic routine is true if the terminal has insert- and deletecharacter capabilities. The has_il routine is true if the terminal has insert- and delete-line capabilities, or can simula... |
curs_termcap(3x) -- curses interfaces (emulated) to the termcap library
|
These routines are included as a conversion aid for programs that use the termcap library. Their parameters are the same and the routines are emulated using the terminfo database. These routines are supported at Level 2 and should not be used in new applications. The tgetent routine looks up the termcap entry for name. The emulation ignores the buffer pointer bp. The tgetflag routine gets the boolean entry for id. The tgetnum rout... |
curs_termin(3x) -- curses interfaces to terminfo database
|
These low-level routines must be called by programs that have to deal directly with the terminfo database to handle certain terminal capabilities, such as programming function keys. For all other functionality, curses routines are more suitable and their use is recommended. Initially, setupterm should be called. Note that setupterm is automatically called by initscr and ne |
curs_touch(3x) -- curses refresh control routines
|
The touchwin and touchline routines throw away all optimization information about which parts of the window have been touched, by pretending that the entire window has been drawn on. This is sometimes necessary when using overlapping windows, since a change to one window affects the other window, but the records of which lines have been changed in the other window do not reflect the change. The routine touchline only p... |
curs_util(3x) -- miscellaneous curses utility routines
|
The unctrl macro expands to a character string which is a printable representation of the character c. Control characters are displayed in the ^X notation. Printing characters are displayed as is. With the keyname routine, a character string corresponding to the key c is returned. The filter routine, if used, is called before initscr or newterm are called. It makes curses think... |
curs_window(3x) -- create curses windows
|
The newwin routine creates and returns a pointer to a new window with the given number of lines, nlines, and columns, ncols. The upper left-hand corner of the window is at line begin_y, column begin_x. If either nlines or ncols is zero, they default to LINES - begin_y and COLS - begin_x. A new full-screen window is created by calling newwin(0,0,0,0). The delwin routine deletes the na... |
standard/curvebasis(3) -- selects a basis matrix used to draw curves
|
basid expects the basis identifier of the basis matrix you want to use when drawing a curve. (You must have previously called defbasis to assign a basis identifier to a basis matrix.) |
standard/curveit(3) -- draws a curve segment
|
iterationcount expects the number of times you want to iterate |
standard/curveprecision(3) -- sets number of line segments used to draw a curve segment
|
nsegments expects the number of line segments to use when drawing a curve segment. |
cuserid(3s) -- get character login name of the user
|
cuserid generates a character-string representation of the login name that the owner of the current process is logged in under. If s is a NULL pointer, this representation is generated in an internal static area, the address of which is returned. Otherwise, s is assumed to point to an array of at least L_cuserid characters; the representation is left in this array. The constant L_cuserid is defined in the st |
f90/cvmg(3) -- Conditional vector merge functions
|
UNICOS, UNICOS/mk, and IRIX systems |
perl5/Cwd(3) -- get pathname of current working directory
|
The getcwd() function re-implements the getcw ) functions in Perl. The fastcwd() function looks the same as getcwd(), but runs faster. It's also more dangerous because it might conceivably chdir() you out of a directory that it can't chdir() you back into. If fastcwd encounters a problem it will return undef but will probably leave you in a different directory. For a measure of extra security, if everything appears to have worked, the fastcwd() function will check that it leaves you in the sam... |