version 1.5, 1997/07/13 21:21:10 |
version 1.6, 1997/07/14 00:24:26 |
|
|
#define LINESIZE BUFSIZ /* max readable line width */ |
#define LINESIZE BUFSIZ /* max readable line width */ |
#define STRINGSIZE ((unsigned) 128)/* Dynamic allocation units */ |
#define STRINGSIZE ((unsigned) 128)/* Dynamic allocation units */ |
#define MAXARGC 1024 /* Maximum list of raw strings */ |
#define MAXARGC 1024 /* Maximum list of raw strings */ |
#define NOSTR ((char *) 0) /* Null string pointer */ |
|
#define MAXEXP 25 /* Maximum expansion of aliases */ |
#define MAXEXP 25 /* Maximum expansion of aliases */ |
|
|
#define equal(a, b) (strcmp(a,b)==0)/* A nice function to string compare */ |
#define equal(a, b) (strcmp(a,b)==0)/* A nice function to string compare */ |
|
|
#define CSEND 2 /* Execute in send mode only */ |
#define CSEND 2 /* Execute in send mode only */ |
|
|
/* |
/* |
* Kludges to handle the change from setexit / reset to setjmp / longjmp |
* Kludges to handle the change from setexit / reset to sigsetjmp / siglongjmp |
*/ |
*/ |
|
|
#define setexit() setjmp(srbuf) |
#define setexit() sigsetjmp(srbuf, 1) |
#define reset(x) longjmp(srbuf, x) |
#define reset(x) siglongjmp(srbuf, x) |
|
|
/* |
/* |
* Truncate a file to the last character written. This is |
* Truncate a file to the last character written. This is |