home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GRIPS 2: Government Rast…rocessing Software & Data
/
GRIPS_2.cdr
/
dos
/
ncsa_tel
/
contribu
/
byu_tel2.hqx
/
vs
/
wind.h
< prev
next >
Wrap
Text File
|
1990-04-10
|
2KB
|
67 lines
/*
* %W% (NCSA) %G%
*
* MacLook Window Management Data Structure Definition
*
*
*/
#include <Controls.h>
#define MAXFTP 128 /* BYU mod */
#define MAXKB 256 /* BYU mod */
#define TYPE_I_ON_CLOSE 1
#define CAPTURE_DATA 2
struct WindRec {
int vs, /* virtual screen number */
maxscroll, /* Requested amount of scroll back */
ESclear, /* BYU mod - will Clear Screen really clear screen? */
ESscroll, /* will Clear Screen Save Lines? */
active, /* is window active? (ie on screen?) */
corpse, /* is the window a corpse? */
Isga, /* I am supressing go ahead */
Usga, /* You are supressing go ahead */
Ittype, /* I am sending terminal type negotiations.. */
echo, /* NOTE: this is backwards - I am echoing your chars */
wrap, /* whether vtwrap is set or not for this screen */
port, /* TCP/IP port number */
ftpport, /* BYU mod - FTP port number */
ftpstate, /* BYU mod - Telnet session = 0, Ftp session != 0 */
ftpnext, /* BYU mod - Next ftpstate after waiting for response from "PORT" */
bsdel, /* backspace or delete is default */
termstate, /* Emulation State (-1 is none, 0 is VT100) */
telstate, /* Telnet State */
timing, /* True if waiting for timing mark */
substat, /* Telnet Subnegot. State */
xfer, /* File X-fer status */
curgraph, /* Associated Tek drawing */
enabled, /* Are we currently enabled for receive? */
outlen, /* Length of Paste Buffer remaining to be sent */
kblen, /* Pointer to next char in buffer to be used */
tekclear, /* Does tektronix (1) clear screen or (0) add window */
width, /* Width we started with */
halfdup, /* If true then half-duplex mode */
crmap, /* CR's second byte is ... */
capturesize, /* BYU mod - ftp client size of captured data */
clientflags; /* BYU mod - boolean flags for ftp client */
char *name, /* Name of session */
*machine, /* Name of machine */
*outptr, /* Pointer to next char to send */
**outhand; /* Handle to text from the Paste */
char
TELstop, /* Character for scrolling to stop */
TELgo, /* Character for scrolling to go */
TELip, /* Character for interrupt process */
ftpbuf[MAXFTP], /* BYU mod - Outgoing ftp commands buffer */
kbbuf[MAXKB]; /* The keyboard buffer (echo mode ) */
GrafPtr
wind;
};
typedef struct WindRec WindRec;