Lines Matching +defs:ind +defs:to
9 * This code is derived from software contributed to Berkeley by
21 * may be used to endorse or promote products derived from this software
74 #define TR_STD_WIDTH 60 /* tend to fold lines wider than this */
79 int nxtiov; /* the buffer we should be writing to */
81 uint8_t supr; /* char classes to suppress after \n */
94 #ifdef DEBUG /* from here to end of file ... */
157 error("Attempt to use fd %d as tracefile thwarted\n", fd);
162 * This stuff is just so histedit has a FILE * to use
309 shtree(union node *n, int ind, int ilvl, int nl, TFILE *fp)
320 indent(ind, fp);
336 indent(ind < 0 ? 2 : ind + 1, fp);
359 indent((ind < 0 ? ilvl : ind) + 1, fp);
380 indent(ind, fp);
381 shtree(n->narg.next, (ind < 0 ? ilvl : ind) + 1, ilvl+1, 1, fp);
382 indent(ind, fp);
523 indent(ind, fp);
641 abort(); /* no need to free s, better not to */
985 * Used only from trargs(), which itself is used only to print
987 * the arg list about to be given to some other command (incl
989 * chars seem to appear, they really should be just treated as data,
1034 * deal with the user "accidentally" picking our fd to use.
1037 trace_fd_swap(int from, int to)
1039 if (tracetfile == NULL || from == to)
1042 tracetfile->tfd = to;
1045 * This is just so histedit has a stdio FILE* to use.
1049 tracefile = fdopen(to, "a");
1075 { 'w', DBG_WAIT }, /* waits for processes to finish */