version 1.40, 2005/11/18 20:56:52 |
version 1.41, 2005/11/19 20:16:35 |
|
|
|
|
static char *veread(const char *, char *, size_t, int, va_list); |
static char *veread(const char *, char *, size_t, int, va_list); |
static int complt(int, int, char *, size_t, int, int *); |
static int complt(int, int, char *, size_t, int, int *); |
static int complt_list(int, int, char *, int); |
static int complt_list(int, char *, int); |
static void eformat(const char *, va_list); |
static void eformat(const char *, va_list); |
static void eputi(int, int); |
static void eputi(int, int); |
static void eputl(long, int); |
static void eputl(long, int); |
|
|
c = getkey(FALSE); |
c = getkey(FALSE); |
if ((flag & EFAUTO) != 0 && (c == ' ' || c == CCHR('I'))) { |
if ((flag & EFAUTO) != 0 && (c == ' ' || c == CCHR('I'))) { |
if (cplflag == TRUE) { |
if (cplflag == TRUE) { |
complt_list(flag, c, buf, cpos); |
complt_list(flag, buf, cpos); |
cwin = TRUE; |
cwin = TRUE; |
} else if (complt(flag, c, buf, nbuf, epos, &i) == TRUE) { |
} else if (complt(flag, c, buf, nbuf, epos, &i) == TRUE) { |
cplflag = TRUE; |
cplflag = TRUE; |
|
|
* Do completion on a list of objects, listing instead of completing. |
* Do completion on a list of objects, listing instead of completing. |
*/ |
*/ |
static int |
static int |
complt_list(int flags, int c, char *buf, int cpos) |
complt_list(int flags, char *buf, int cpos) |
{ |
{ |
struct list *lh, *lh2, *lh3; |
struct list *lh, *lh2, *lh3; |
struct list *wholelist = NULL; |
struct list *wholelist = NULL; |