Lines Matching refs:Flag
237 Flag(FNOHUP) = 1; in main_init()
243 Flag(FBRACEEXPAND) = 1; in main_init()
248 Flag(FXTRACEREC) = 1; in main_init()
257 Flag(FAS_BUILTIN) = 1; in main_init()
259 if (!Flag(FAS_BUILTIN)) { in main_init()
343 Flag(FVITABCOMPLETE) = 1; in main_init()
413 Flag(FPRIVILEGED) = (kshuid != ksheuid || kshgid != kshegid) ? 2 : 0; in main_init()
417 Flag(FMONITOR) = 127; in main_init()
422 if (!Flag(FAS_BUILTIN)) { in main_init()
432 if (Flag(FAS_BUILTIN)) { in main_init()
435 } else if (Flag(FCOMMAND)) { in main_init()
449 if (Flag(FSH) && argv[argi] && !strcmp(argv[argi], "--")) in main_init()
454 } else if (argi < argc && !Flag(FSTDIN)) { in main_init()
480 Flag(FSTDIN) = 1; in main_init()
486 Flag(FTALKING) = Flag(FTALKING_I) = 1; in main_init()
496 Flag(FTALKING)) in main_init()
502 if (Flag(FTALKING)) { in main_init()
528 if (Flag(FAS_BUILTIN)) { in main_init()
591 restricted_shell = Flag(FRESTRICTED); in main_init()
592 Flag(FRESTRICTED) = 0; in main_init()
593 errexit = Flag(FERREXIT); in main_init()
594 Flag(FERREXIT) = 0; in main_init()
600 if (!current_wd[0] && Flag(FTALKING)) in main_init()
603 if (Flag(FLOGIN)) in main_init()
605 if (!Flag(FPRIVILEGED)) { in main_init()
606 if (Flag(FLOGIN)) in main_init()
608 if (Flag(FTALKING)) { in main_init()
617 if (Flag(FPRIVILEGED) != 1) in main_init()
624 Flag(FRESTRICTED) = 1; in main_init()
626 Flag(FERREXIT) = errexit; in main_init()
628 if (Flag(FTALKING) && s) in main_init()
632 Flag(FTRACKALL) = 1; in main_init()
651 if (Flag(FAS_BUILTIN)) { in main()
749 volatile bool interactive = Flag(FTALKING) && toplevel; in shell()
771 if (Flag(FIGNOREEOF) && s->type == SEOF && wastty) in shell()
807 if (Flag(FVERBOSE)) in shell()
823 if (wastty && Flag(FIGNOREEOF) && --attempts > 0) { in shell()
843 if (!Flag(FNOEXEC) || (s->flags & SF_TTY)) in shell()
872 if (Flag(FERREXIT) & 0x80) { in unwind()
875 Flag(FERREXIT) &= ~0x80; in unwind()
881 (!Flag(FTALKING) || Flag(FERREXIT)))) { in unwind()
886 } else if (Flag(FERREXIT) == 1 && (i == LERROR || i == LINTR)) { in unwind()
976 if (Flag(FTALKING)) in quitenv()