version 1.4, 1997/02/25 00:04:54 |
version 1.5, 2001/11/19 19:02:18 |
|
|
wwgets(buf, n, w) |
wwgets(buf, n, w) |
char *buf; |
char *buf; |
int n; |
int n; |
register struct ww *w; |
struct ww *w; |
{ |
{ |
register char *p = buf; |
char *p = buf; |
register int c; |
int c; |
int uc = ISSET(w->ww_wflags, WWW_UNCTRL); |
int uc = ISSET(w->ww_wflags, WWW_UNCTRL); |
static void rub(); |
static void rub(); |
|
|
|
|
rub(c, w) |
rub(c, w) |
struct ww *w; |
struct ww *w; |
{ |
{ |
register i; |
int i; |
|
|
for (i = strlen(unctrl(c)); --i >= 0;) |
for (i = strlen(unctrl(c)); --i >= 0;) |
(void) wwwrite(w, "\b \b", 3); |
(void) wwwrite(w, "\b \b", 3); |