version 1.5, 1999/06/06 15:42:24 |
version 1.6, 2001/11/19 19:02:16 |
|
|
|
|
static void |
static void |
lputs(s) |
lputs(s) |
register char *s; |
char *s; |
{ |
{ |
register int count; |
int count; |
register char *escapes, *p; |
char *escapes, *p; |
struct winsize win; |
struct winsize win; |
static int termwidth = -1; |
static int termwidth = -1; |
|
|
|
|
SPACE *sp; |
SPACE *sp; |
char *string, *src; |
char *string, *src; |
{ |
{ |
register int len, no; |
int len, no; |
register char c, *dst; |
char c, *dst; |
|
|
#define NEEDSP(reqlen) \ |
#define NEEDSP(reqlen) \ |
if (sp->len >= sp->blen - (reqlen) - 1) { \ |
if (sp->len >= sp->blen - (reqlen) - 1) { \ |
|
|
*/ |
*/ |
void |
void |
cfclose(cp, end) |
cfclose(cp, end) |
register struct s_command *cp, *end; |
struct s_command *cp, *end; |
{ |
{ |
|
|
for (; cp != end; cp = cp->next) |
for (; cp != end; cp = cp->next) |