Lines Matching defs:line

145 static char *line = NULL;
209 cp = line;
223 * For the shell escape, put the rest of the line, less
225 * the loop to prevent the rest of the line being split up
854 { " ", "", 0 }, /* empty line */
1008 { "kill", "character to use to erase a line", 0, termKillCharp },
1012 { "reprint", "character to use for line reprint", 0, termRprntCharp },
1016 { "forw1", "alternate end of line character", 0, termForw1Charp },
1017 { "forw2", "alternate end of line character", 0, termForw2Charp },
1300 { "", "(or disable obsolete line-by-line mode)", 0 },
1302 { "line", "Enable LINEMODE option", dolinemode, 1 },
1304 { "", "(or enable obsolete line-by-line mode)", 0 },
2424 "%s line editing\n", (mode&MODE_EDIT) ?
2993 if (GetAndAppendString(&line, &linesize, "open ",
3388 "try to enter line or character mode ('mode ?' for more)";
3486 if (AllocStringBuffer(&line, &linesize, cnt) == NULL)
3488 cp = line;
3492 if (cp == line || *--cp != '\n' || cp == line)
3496 (void) printf("%s\n", line);
3501 if (GetString(&line, &linesize, stdin) == NULL) {
3509 if (line[0] == 0)
3625 if (GetString(&line, &linesize, rcfile) == NULL) {
3633 if (line[0] == 0)
3635 if (line[0] == '#')
3638 if (!isspace(line[0]))
3642 if (isspace(line[0]))
3644 if (strncasecmp(line, m1, l1) == 0)
3645 (void) strcpy(line, &line[l1]);
3646 else if (strncasecmp(line, m2, l2) == 0)
3647 (void) strcpy(line, &line[l2]);
3648 else if (strncasecmp(line, def, sizeof (def) - 1) == 0)
3649 (void) strcpy(line, &line[sizeof (def) - 1]);
3652 if (line[0] != ' ' && line[0] != '\t' &&
3653 line[0] != '\n')