filter(3curses)
filter --
disable use of certain terminal capabilities
Synopsis
cc [options] file -lcurses
#include <curses.h>
void filter(void);
Description
The
filter(3curses)
function changes the algorithm for initialising terminal capabilities that
assume that the terminal has more than one line.
A subsequent call to
initscr(3curses)
or
newterm(3curses)
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(3curses)
must precede the call to
initscr(3curses)
or
newterm(3curses).
Return value
The
filter(3curses)
function does not return a value.
Errors
No errors are defined.
Standards Conformance
The Single UNIX Specification, Version 2; The Open Group.
References
initscr(3curses),
curses(4)
terminfo(4)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004