1filter(3XCURSES) X/Open Curses Library Functions filter(3XCURSES)
2
3
4
6 filter - disable use of certain terminal capabilities
7
9 cc [ flag... ] file... -I /usr/xpg4/include -L /usr/xpg4/lib \
10 -R /usr/xpg4/lib -lcurses [ library... ]
11
12 c89 [ flag... ] file... -lcurses [ library... ]
13
14 #include <curses.h>
15
16 void filter(void);
17
18
20 The filter() function changes how X/Open Curses initializes terminal
21 capabilities that assume the terminal has more than one line. After a
22 call to filter(), the initscr(3XCURSES) or newterm(3XCURSES) functions
23 also:
24
25 o Disable use of clear, cud, cud1, cup, cuu1, and vpa.
26
27 o Set home string to the value of cr.
28
29 o Set lines to 1.
30
32 The filter() function does not return a value.
33
35 None.
36
38 See attributes(5) for descriptions of the following attributes:
39
40
41
42
43 ┌─────────────────────────────┬─────────────────────────────┐
44 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
45 ├─────────────────────────────┼─────────────────────────────┤
46 │Interface Stability │Standard │
47 ├─────────────────────────────┼─────────────────────────────┤
48 │MT-Level │Unsafe │
49 └─────────────────────────────┴─────────────────────────────┘
50
52 initscr(3XCURSES), libcurses(3XCURSES), newterm(3XCURSES),
53 attributes(5), standards(5)
54
55
56
57SunOS 5.11 5 Jun 2002 filter(3XCURSES)