Disconnect hostapd from building in base
[dragonfly.git] / contrib / top / layout.h
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.
10  * 
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.
15  * 
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.
19  * 
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.
31  */
32
33 /*
34  *  Top - a top users display for Unix
35  *
36  *  This file defines the default locations on the screen for various parts
37  *  of the display.  These definitions are used by the routines in "display.c"
38  *  for cursor addressing.
39  */
40
41 #define  X_LASTPID      10
42 #define  Y_LASTPID      0
43 #define  X_LASTPIDWIDTH 13
44 #define  X_LOADAVE      27
45 #define  Y_LOADAVE      0
46 #define  X_LOADAVEWIDTH 7
47 #define  X_MINIBAR      50
48 #define  Y_MINIBAR      0
49 #define  X_UPTIME       48
50 #define  Y_UPTIME       0
51 #define  X_PROCSTATE    15
52 #define  Y_PROCSTATE    1
53 #define  X_BRKDN        15
54 #define  Y_BRKDN        1
55 #define  X_CPUSTATES    0
56 #define  Y_CPUSTATES    2
57 #define  X_KERNEL       8
58 #define  Y_KERNEL       3
59 #define  X_MEM          8
60 #define  Y_MEM          3
61 #define  X_SWAP         6
62 #define  Y_SWAP         4
63 #define  Y_MESSAGE      4
64 #define  X_HEADER       0
65 #define  Y_HEADER       5
66 #define  X_IDLECURSOR   0
67 #define  Y_IDLECURSOR   4
68 #define  Y_PROCS        6
69