160 |
#include <curses.h> |
#include <curses.h> |
161 |
#include <term.h> |
#include <term.h> |
162 |
#endif /* defined(USE_TERMCAP) */ |
#endif /* defined(USE_TERMCAP) */ |
163 |
|
|
164 |
/* |
/* |
165 |
** TTY input/output functions. |
** TTY input/output functions. |
166 |
*/ |
*/ |
301 |
TTYrows = SCREEN_ROWS; |
TTYrows = SCREEN_ROWS; |
302 |
} |
} |
303 |
} |
} |
304 |
|
|
305 |
|
|
306 |
STATIC void |
STATIC void |
307 |
reposition() |
reposition() |
515 |
rl_meta_chars = ! rl_meta_chars; |
rl_meta_chars = ! rl_meta_chars; |
516 |
return redisplay(); |
return redisplay(); |
517 |
} |
} |
518 |
|
|
519 |
|
|
520 |
STATIC CHAR * |
STATIC CHAR * |
521 |
next_hist() |
next_hist() |
966 |
case CSstay: |
case CSstay: |
967 |
break; |
break; |
968 |
} |
} |
969 |
|
if (strlen(Line)) |
970 |
|
return Line; |
971 |
|
free(Line); |
972 |
return NULL; |
return NULL; |
973 |
} |
} |
974 |
|
|
1055 |
#endif /* defined(UNIQUE_HISTORY) */ |
#endif /* defined(UNIQUE_HISTORY) */ |
1056 |
hist_add((CHAR *)p); |
hist_add((CHAR *)p); |
1057 |
} |
} |
1058 |
|
|
1059 |
|
|
1060 |
STATIC STATUS |
STATIC STATUS |
1061 |
beg_line() |
beg_line() |