Searched refs:fscript (Results 1 - 3 of 3) sorted by relevance

/freebsd-9.3-release/usr.bin/tip/tip/
H A Dtipout.c90 if (boolean(value(SCRIPT)) && fscript != NULL)
91 fclose(fscript);
96 if ((fscript = fopen(line, "a")) == NULL)
110 if (boolean(value(SCRIPT)) && fscript != NULL)
111 fclose(fscript);
170 if (boolean(value(SCRIPT)) && fscript != NULL) {
172 fwrite(buf, 1, cnt, fscript);
177 putc(*cp, fscript);
181 fflush(fscript);
H A Dtip.h243 FILE *fscript; /* FILE for scripting */ variable
/freebsd-9.3-release/usr.bin/script/
H A Dscript.c71 static FILE *fscript; variable
154 if ((fscript = fopen(fname, pflg ? "r" : aflg ? "a" : "w")) == NULL)
175 playback(fscript);
190 record(fscript, NULL, 0, 's');
196 (void)fprintf(fscript, "Script started on %s",
199 fprintf(fscript, "command: ");
201 fprintf(fscript, "%s%s", k ? " " : "",
203 fprintf(fscript, "\n");
206 fflush(fscript);
266 record(fscript, ibu
[all...]

Completed in 74 milliseconds