Lines Matching refs:editing
91 * Set history and editing status. Called whenever the status may
99 #define editing (Eflag || Vflag)
118 if (editing && !el && isatty(0)) { /* && isatty(2) ??? */
120 * turn editing on
174 out2str("sh: can't initialize editing\n");
177 } else if (!editing && el) {
181 VTRACE(DBG_HISTORY, ("line editing disabled\n"));
198 if (el) { /* no editing if not interactive */
207 VTRACE(DBG_HISTORY, ("line editing & history disabled\n"));
216 if (!(iflag && editing && el))
238 if (iflag && editing && el)
292 out2str("sh: inputrc ignored, not editing\n");
470 * If editing, grab a temp file.
539 VTRACE(DBG_HISTORY, ("histcmd editing: \"%s\"\n", editcmd));