Lines Matching defs:line

121 static char line[256];
162 cp = line;
164 strcpy(saveline, line); /* save for shell command */
739 { " ", "", NULL, NULL, NULL }, /* empty line */
889 { "kill", "character to use to erase a line", NULL, termKillCharp },
892 { "reprint", "character to use for line reprint", NULL, termRprntCharp },
896 { "forw1", "alternate end of line character", NULL, termForw1Charp },
897 { "forw2", "alternate end of line character", NULL, termForw2Charp },
1142 { "", "(or disable obsolete line-by-line mode)", NULL, 0, 0 },
1144 { "line", "Enable LINEMODE option", (int (*)(int))dolinemode, 1, 0 },
1146 { "", "(or enable obsolete line-by-line mode)", NULL, 0, 0 },
2059 printf("%s line editing\n", (mode&MODE_EDIT) ? "Local" : "No");
2194 (void) strcpy(line, "open ");
2196 (void) fgets(&line[strlen(line)], sizeof(line) - strlen(line), stdin);
2539 modestring[] = "try to enter line or character mode ('mode ?' for more)";
2627 cp = line;
2631 if (cp == line || *--cp != '\n' || cp == line)
2635 printf("%s\n", line);
2640 if (fgets(line, sizeof(line), stdin) == NULL) {
2648 if (line[0] == 0)
2746 if (fgets(line, sizeof(line), rcfile) == NULL)
2748 if (line[0] == 0)
2750 if (line[0] == '#')
2753 if (!isspace(line[0]))
2757 if (isspace(line[0]))
2759 if (strncasecmp(line, m1, l1) == 0)
2760 strncpy(line, &line[l1], sizeof(line) - l1);
2761 else if (strncasecmp(line, m2, l2) == 0)
2762 strncpy(line, &line[l2], sizeof(line) - l2);
2763 else if (strncasecmp(line, "DEFAULT", 7) == 0)
2764 strncpy(line, &line[7], sizeof(line) - 7);
2767 if (line[0] != ' ' && line[0] != '\t' && line[0] != '\n')