|
Last change
on this file since 91 was
81,
checked in by rosiere, 18 years ago
|
- Finish Environment (and test)
- Continue predictor_unit
- Add external tools
- svn keyword "Id" set
|
-
Property svn:keywords set to
Id
|
|
File size:
1.5 KB
|
| Line | |
|---|
| 1 | /* |
|---|
| 2 | * $Log: xtty.h,v $ |
|---|
| 3 | * Revision 1.1.1.1 2005/01/27 13:42:45 wahid |
|---|
| 4 | * First project import |
|---|
| 5 | * Wahid |
|---|
| 6 | * |
|---|
| 7 | * Revision 1.1 2002/03/19 15:03:22 boris |
|---|
| 8 | * Vcitty model addition |
|---|
| 9 | * |
|---|
| 10 | * Revision 1.1.1.1 2002/02/28 12:58:33 disydent |
|---|
| 11 | * Creation of Disydent CVS Tree |
|---|
| 12 | * |
|---|
| 13 | * Revision 1.1.1.1 2001/11/19 16:55:32 pwet |
|---|
| 14 | * Changing the CVS tree structure of disydent |
|---|
| 15 | * |
|---|
| 16 | * Revision 1.1.1.1 2001/07/24 13:31:45 pwet |
|---|
| 17 | * cvs tree of part of disydent |
|---|
| 18 | * |
|---|
| 19 | * Revision 1.1.1.1 2001/07/19 14:32:25 pwet |
|---|
| 20 | * New cvs tree |
|---|
| 21 | * |
|---|
| 22 | * Revision 1.2 1998/09/16 16:11:32 pwet |
|---|
| 23 | * passage a cvs |
|---|
| 24 | * |
|---|
| 25 | * Revision 1.1 1998/09/01 09:49:14 pwet |
|---|
| 26 | * Initial revision |
|---|
| 27 | * |
|---|
| 28 | * Revision 1.1 1998/07/16 18:04:12 pwet |
|---|
| 29 | * Initial revision |
|---|
| 30 | * |
|---|
| 31 | * Authors: Frédéric Pétrot and Denis Hommais |
|---|
| 32 | */ |
|---|
| 33 | #include <X11/Xlib.h> |
|---|
| 34 | #include <X11/Xutil.h> |
|---|
| 35 | #include <X11/keysym.h> |
|---|
| 36 | |
|---|
| 37 | #if 0 |
|---|
| 38 | #define FONT "-misc-fixed-bold-r-normal--15-140-75-75-c-90-iso8859-1" |
|---|
| 39 | #define TTYWIDTH 80 |
|---|
| 40 | #define TTYHEIGHT 40 |
|---|
| 41 | #define MAXCHAR 16 |
|---|
| 42 | #else |
|---|
| 43 | #define FONT "fixed" |
|---|
| 44 | #define TTYWIDTH 80 |
|---|
| 45 | #define TTYHEIGHT 24 |
|---|
| 46 | #define MAXCHAR 16 |
|---|
| 47 | #endif |
|---|
| 48 | |
|---|
| 49 | typedef struct { |
|---|
| 50 | Display *display; |
|---|
| 51 | Window window; |
|---|
| 52 | GC gc; |
|---|
| 53 | int font_height; |
|---|
| 54 | int font_width; |
|---|
| 55 | short xcurse; |
|---|
| 56 | short ycurse; |
|---|
| 57 | char video[TTYHEIGHT][TTYWIDTH]; /* video character memory */ |
|---|
| 58 | short rptr; |
|---|
| 59 | short wptr; |
|---|
| 60 | FILE *file; /* redirection file if required */ |
|---|
| 61 | short keybuf[MAXCHAR]; |
|---|
| 62 | } xtty; |
|---|
| 63 | |
|---|
| 64 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.