filter(CURSES)
filter --
disable use of certain terminal capabilities
Synopsis
cc [options] file -lcurses
#include <curses.h>
void filter(void);
Description
The
filter(CURSES)
function changes the algorithm for initialising terminal capabilities that
assume that the terminal has more than one line.
A subsequent call to
initscr(CURSES)
or
newterm(CURSES)
performs the following additional actions:
-
Disable use of
clear,
cud,
cud1,
cup,
cuu1
and
vpa.
-
Set the value of the
home
string to the value of the
cr.
string
-
Set
lines
equal to 1.
Any call to
filter(CURSES)
must precede the call to
initscr(CURSES)
or
newterm(CURSES).
Return value
The
filter(CURSES)
function does not return a value.
Errors
No errors are defined.
Standards Conformance
The Single UNIX Specification, Version 2; The Open Group.
References
initscr(CURSES),
curses(F)
terminfo(F)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005