Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > F

filter(3X)

ENHANCED CURSES
HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

filter — disable use of certain terminal capabilities

SYNOPSIS

#include <curses.h>

void filter(void);

DESCRIPTION

The filter() function changes the algorithm for initialising terminal capabilities that assume that the terminal has more than one line. A subsequent call to initscr() or newterm() 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() must precede the call to initscr() or newterm().

RETURN VALUE

The filter() function does not return a value.

ERRORS

No errors are defined.

SEE ALSO

initscr(3X), terminfo(4), see Defined Capabilities, <curses.h>.

CHANGE HISTORY

First released in X/Open Curses, Issue 4.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.