[zoneinfo] Add some missing zoneinfo files
[dragonfly.git] / contrib / top / screen.h
blob640f6f1b449d7c44738390906471890739fb92c3
1 /*
2 * Copyright (c) 1984 through 2008, William LeFebvre
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met:
7 *
8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
11 * * Redistributions in binary form must reproduce the above
12 * copyright notice, this list of conditions and the following disclaimer
13 * in the documentation and/or other materials provided with the
14 * distribution.
16 * * Neither the name of William LeFebvre nor the names of other
17 * contributors may be used to endorse or promote products derived from
18 * this software without specific prior written permission.
20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34 * top - a top users display for Unix 4.2
36 * This file contains all the definitions necessary to use the hand-written
37 * screen package in "screen.c"
40 #ifndef _SCREEN_H_
41 #define _SCREEN_H_
43 extern char ch_erase; /* set to the user's erase character */
44 extern char ch_kill; /* set to the user's kill character */
45 extern char ch_werase; /* set to the user's werase character */
46 extern char smart_terminal; /* set if the terminal has sufficient termcap
47 capabilities for normal operation */
49 /* rows and columns on the screen according to termcap */
50 extern int screen_length;
51 extern int screen_width;
53 void screen_getsize();
54 int screen_readtermcap(int interactive);
55 void screen_init();
56 void screen_end();
57 void screen_reinit();
58 void screen_move(int x, int y);
59 void screen_standout(char *msg);
60 void screen_clear();
61 int screen_cte();
62 void screen_cleareol(int len);
63 void screen_home();
65 #endif /* _SCREEN_H_ */