Lines Matching refs:line

55 static char line[256];
67 cp = line;
70 strlcpy(saveline, line, sizeof(saveline));
673 { " ", "", 0 }, /* empty line */
816 { "kill", "character to use to erase a line", 0, &termKillChar },
819 { "reprint", "character to use for line reprint", 0, &termRprntChar },
823 { "forw1", "alternate end of line character", 0, &termForw1Char },
824 { "forw2", "alternate end of line character", 0, &termForw2Char },
1068 { "", "(or disable obsolete line-by-line mode)", 0 },
1070 { "line", "Enable LINEMODE option", dolinemode, 1 },
1072 { "", "(or enable obsolete line-by-line mode)", 0 },
1941 printf("%s line editing\r\n", (mode&MODE_EDIT) ? "Local" : "No");
2011 if (fgets(line, sizeof(line), rcfile) == NULL)
2013 if (line[0] == 0)
2015 if (line[0] == '#')
2018 if (!isspace((unsigned char)line[0]))
2022 if (isspace((unsigned char)line[0]))
2024 if (strncasecmp(line, m1, l1) == 0)
2025 strncpy(line, &line[l1], sizeof(line) - l1);
2026 else if (strncasecmp(line, m2, l2) == 0)
2027 strncpy(line, &line[l2], sizeof(line) - l2);
2028 else if (strncasecmp(line, "DEFAULT", 7) == 0)
2029 strncpy(line, &line[7], sizeof(line) - 7);
2032 if (line[0] != ' ' && line[0] != '\t' && line[0] != '\n')
2075 strlcpy(line, "open ", sizeof(line));
2077 fgets(&line[strlen(line)], sizeof(line) - strlen(line), stdin);
2298 modestring[] = "try to enter line or character mode ('mode ?' for more)";
2384 cp = line;
2388 if (cp == line || *--cp != '\n' || cp == line)
2392 printf("%s\r\n", line);
2397 if (fgets(line, sizeof(line), stdin) == NULL) {
2405 if (line[0] == 0)