1 /* 2 $Header: d:/cvsroot/tads/TADS2/unix/osdbg.h,v 1.2 1999/05/17 02:52:20 MJRoberts Exp $ 3 */ 4 5 /* Copyright (c) 1992, 2002 Michael J. Roberts. All Rights Reserved. */ 6 /* 7 Name 8 osdbg.h - interface definitions for os routines for debugger 9 Function 10 interface definitions for os routines for debugger 11 Notes 12 none 13 Modified 14 04/21/92 MJRoberts - creation 15 */ 16 17 #ifndef OSDBG_INCLUDED 18 #define OSDBG_INCLUDED 19 20 /* window definiton */ 21 struct oswdef 22 { 23 int oswx; /* current x location */ 24 int oswy; /* current y location */ 25 int oswcolor; /* current text color */ 26 int oswx1; /* left edge of window (this column is included in window) */ 27 int oswy1; /* top line of window */ 28 int oswx2; /* right edge of window */ 29 int oswy2; /* bottom line of window */ 30 int oswflg; /* flags for window */ 31 # define OSWFCLIP 0x01 /* don't wrap long lines */ 32 # define OSWFMORE 0x02 /* use [more] mode in this window */ 33 int oswmore; /* number of lines since last [more] */ 34 }; 35 typedef struct oswdef oswdef; 36 37 #endif /* OSDBG_INCLUDED */ 38