home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
unix
/
volume16
/
pcomm2
/
part02
/
status.h
< prev
next >
Wrap
C/C++ Source or Header
|
1988-09-14
|
767b
|
29 lines
/*
* The status flags, and other various changeable things. Obviously
* the "config.h" file must appear before this file.
*/
#define MAX_ROW 64
#define MAX_COL 128
#define PATH 128
struct STATUS {
int fd; /* file descriptor for TTY */
int add_lf; /* add <CR> to <LF>? */
int log; /* status of log option */
int print; /* status of print option */
char log_path[PATH]; /* data logging file */
#ifdef SHAREDMEM
int clr; /* flag to clear the screen */
int row; /* cursor row position */
int col; /* cursor column position */
char vs[MAX_ROW][MAX_COL+1]; /* the virtual screen */
#else /* SHAREDMEM */
char vs_path[PATH]; /* virtual screen file */
#endif /* SHAREDMEM */
};
#ifndef MAIN
extern struct STATUS *status;
#endif /* MAIN */