home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
TELECOM
/
tterm_src.lzh
/
sterm.h
< prev
next >
Wrap
Text File
|
1996-03-02
|
2KB
|
80 lines
/*********************************************************************
sterm.h - header file for sterm
*********************************************************************/
#define F1_M " F1 Show This Message "
#define F2_M " F2 Capture On/Off "
#define F3_M " F3 Change Directory "
#define F4_M " F4 Quit "
#define F5_M " F5 Ascii Transmit "
#define F6_M " F6 Transfer A File "
#define F7_M " F7 Set Transfer File "
#define F8_M " F8 Set Transfer List "
#define F9_M " F9 Dial Directory "
#define F0_M " F10 Execute a Shell "
#define FA_M " F11 Echo ON/OFF "
#define FB_M " F12 High Bit Filter On/Off "
#define BLNK " "
#define LASTGLYPH 59
/* various stuff */
#define CIDLE 0
#define CESC 1
#define CDLE 2
/* Various other defines */
#define DEFMODEM "NONE"
#define VBUFFSIZ 1<<10 /* disk capture vbuff */
#define MAXLIN 133 /* Maximum lenght of send buffer */
#define CAP_SIZ 600
/* Variables for general use */
char
filename[64+FILENAME_MAX], /* room for path & null */
/* dialfile[64+FILENAME_MAX], /* dialer file */
/* logfile[64+FILENAME_MAX], /* transfer log file */
sbuf[256], /* read buf for xmit */
*sbp, /* pointer for sbuf */
*mport = 0,
nextphase = FALSE, /* TRUE means cleanup and restore operation */
echoflg = FALSE, /* TRUE is half-duplex operation */
capflg = FALSE; /* TRUE means capture buffer opened */
int cur_baud; /* b300, b1200, or b2400 */
int to_floppy; /* Defaults to floppy disk transfers */
u_int32
keycodes[MAXCODES], /* hashed keycode from termcap */
totalbytes; /* Total bytes transfered */
time_t
startime, /* Time file transfer started */
endtime, /* Time file transfer ended */
g_tickrate;
int
timeouts,
errors;
char
diskbuff[VBUFFSIZ], /* disk capture buffer */
tmp[80]; /* Buffer for writing to the screen */
FILE
*xmf, /* transmit file */
*cp_pn=0; /* capture file */
extern unsigned char
glyph[];
extern char
*GetBaud(),
baud_string[];
extern void
(*TrOn)(),
(*TrOff)(),
transmit(void);