home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
066.lha
/
Zterm
/
term.common
< prev
next >
Wrap
Text File
|
1986-11-20
|
1KB
|
46 lines
/* Zterm common data segment. */
/* Huge structure for all common data */
/* June 27'th, 1987 - Nik Conwell */
struct Z_Term
{
USHORT class;
USHORT code;
USHORT qualifier;
USHORT mode;
APTR address;
struct IOExtSer *read_request;
char rs_in;
struct IOExtSer *write_request;
char rs_out;
struct IOStdReq *consolewritemsg;
struct MsgPort *consolewriteport;
struct IOStdReq *consolereadmsg;
struct MsgPort *consolereadport;
struct IOStdReq *timermsg;
struct MsgPort *timerport;
long int errorlvl;
int st; /* status code */
int rf; /* receive file switch. 0 == ignore, 1 == receive */
int f1; /* file for receive stuff */
FILE *f2; /* file for send stuff (buffered)*/
int error;
char iletter; /* letter in from console */
char oletter; /* letter out to ser */
struct Window *w1; /* pointer to main window */
struct IntuiMessage *message;
int consolereadbit,w1_intuitionmsgbit,serialipbit,timerbit;
int wakeupmask;
USHORT menunum,menuitem;
int prev_baud, prev_alg, prev_blocksize;
char filename[80];
int baud;
int timeout_time;
int xfer_error_detect_alg, xfer_blocksize;
};
/* End of term.common */