/titanic_51/usr/src/lib/libshell/common/sh/ |
H A D | main.c | 191 if(!sh_isoption(SH_INTERACTIVE) && !sh_isoption(SH_TFLAG) && !sh_isoption(SH_CFLAG) && in sh_main() 193 sh_onoption(SH_INTERACTIVE); in sh_main() 194 if(sh_isoption(SH_INTERACTIVE)) in sh_main() 207 if(sh_isoption(SH_INTERACTIVE)) in sh_main() 258 else if(sh_isoption(SH_INTERACTIVE) && sh_isoption(SH_PRIVILEGED)) in sh_main() 369 if(sh_isoption(SH_INTERACTIVE)) in sh_main() 370 sh_onstate(SH_INTERACTIVE); in sh_main() 414 if(sh_isstate(SH_INTERACTIVE)) in exfile() 430 sh_offstate(SH_INTERACTIVE); in exfile() 450 …if(!sh_isoption(SH_INTERACTIVE) || sh_isstate(SH_FORKED) || (jmpval > SH_JMPERREXIT && job_close(s… in exfile() [all …]
|
H A D | bash.c | 253 && (is_option(&opt,SH_INTERACTIVE) in b_shopt() 275 if(sh_isoption(SH_INTERACTIVE)) in b_shopt()
|
H A D | fault.c | 121 …if((flag&SH_SIGINTERACTIVE) && sh_isstate(SH_INTERACTIVE) && !sh_isstate(SH_FORKED) && ! shp->subs… in sh_fault() 621 …if((sh_isoption(SH_INTERACTIVE) && shp->login_sh) || (!sh_isoption(SH_INTERACTIVE) && (sig==SIGHUP… in sh_done()
|
H A D | jobs.c | 477 if(!sh_isoption(SH_INTERACTIVE)) in job_init() 1283 if(sh_isstate(SH_INTERACTIVE)) in job_prmsg() 1364 else if(!sh_isoption(SH_INTERACTIVE) && (px->p_flag&P_SIGNALLED)) in job_wait() 1378 if(sh_isoption(SH_INTERACTIVE) && !sh_isstate(SH_FORKED)) in job_wait()
|
H A D | xec.c | 508 mode = sh_state(SH_INTERACTIVE); in sh_eval() 665 int mainloop = (type&sh_state(SH_INTERACTIVE)); in sh_exec() 680 if(flags&sh_state(SH_INTERACTIVE)) in sh_exec() 686 flags &= ~sh_state(SH_INTERACTIVE); in sh_exec() 1278 if(sh_isstate(SH_PROFILE) || sh_isstate(SH_INTERACTIVE)) in sh_exec() 1392 was_interactive = sh_isstate(SH_INTERACTIVE); in sh_exec() 1393 sh_offstate(SH_INTERACTIVE); in sh_exec() 2239 sh_onstate(SH_INTERACTIVE); in sh_exec()
|
H A D | args.c | 71 SH_DICTIONARY, SH_INTERACTIVE, SH_RESTRICTED, SH_CFLAG, 388 if(sh_isoption(SH_INTERACTIVE)) in sh_applyopts()
|
H A D | io.c | 1019 fname=sh_mactrim(shp,fname,(!sh_isoption(SH_NOGLOB)&&sh_isoption(SH_INTERACTIVE))?2:0); in sh_redirect() 1671 if(!sh_isstate(SH_INTERACTIVE)) in time_grace() 1698 if(sh_isstate(SH_INTERACTIVE) && io_prompt(iop,sh.nextprompt)<0 && errno==EIO) in piperead() 1867 if(flag<3 && !sh_isstate(SH_INTERACTIVE)) in io_prompt()
|
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | main.c | 175 if(!sh_isoption(SH_INTERACTIVE) && !sh_isoption(SH_TFLAG) && !sh_isoption(SH_CFLAG) && in sh_main() 177 sh_onoption(SH_INTERACTIVE); in sh_main() 178 if(sh_isoption(SH_INTERACTIVE)) in sh_main() 191 if(sh_isoption(SH_INTERACTIVE)) in sh_main() 242 else if(sh_isoption(SH_INTERACTIVE) && sh_isoption(SH_PRIVILEGED)) in sh_main() 355 if(sh_isoption(SH_INTERACTIVE)) in sh_main() 356 sh_onstate(SH_INTERACTIVE); in sh_main() 402 if(sh_isstate(SH_INTERACTIVE)) in exfile() 418 sh_offstate(SH_INTERACTIVE); in exfile() 438 if(!sh_isoption(SH_INTERACTIVE) || sh_isstat in exfile() [all...] |
H A D | bash.c | 253 && (is_option(&opt,SH_INTERACTIVE) in b_shopt() 275 if(sh_isoption(SH_INTERACTIVE)) in b_shopt()
|
H A D | fault.c | 129 if((flag&SH_SIGINTERACTIVE) && sh_isstate(SH_INTERACTIVE) && !sh_isstate(SH_FORKED) && ! shp->subshell) in sh_fault() 637 if((sh_isoption(SH_INTERACTIVE) && shp->login_sh) || (!sh_isoption(SH_INTERACTIVE) && (sig==SIGHUP))) in sh_done()
|
H A D | args.c | 74 SH_DICTIONARY, SH_INTERACTIVE, SH_RESTRICTED, SH_CFLAG, 364 /* handling SH_INTERACTIVE and SH_PRIVILEGED has been moved to in sh_argopts() 397 if(sh_isoption(SH_INTERACTIVE)) in sh_applyopts()
|
H A D | jobs.c | 612 if(!sh_isoption(SH_INTERACTIVE)) in job_init() 1525 if(sh_isstate(SH_INTERACTIVE)) in job_prmsg() 1617 else if(!sh_isoption(SH_INTERACTIVE) && (px->p_flag&P_SIGNALLED)) in job_wait() 1631 if(sh_isoption(SH_INTERACTIVE) && !sh_isstate(SH_FORKED)) in job_wait()
|
H A D | xec.c | 617 mode = sh_state(SH_INTERACTIVE); in sh_eval() 986 int mainloop = (type&sh_state(SH_INTERACTIVE)); in sh_exec() 1001 if(flags&sh_state(SH_INTERACTIVE)) in sh_exec() 1009 flags &= ~sh_state(SH_INTERACTIVE); in sh_exec() 1758 if(sh_isstate(SH_PROFILE) || sh_isstate(SH_INTERACTIVE)) in sh_exec() 1919 was_interactive = sh_isstate(SH_INTERACTIVE); in sh_exec() 1920 sh_offstate(SH_INTERACTIVE); in sh_exec() 2965 sh_onstate(SH_INTERACTIVE); in sh_exec()
|
/titanic_51/usr/src/lib/libshell/common/include/ |
H A D | shell.h | 21 #ifndef SH_INTERACTIVE 63 #define SH_INTERACTIVE 5 /* used also as a state */ macro
|
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/include/ |
H A D | shell.h | 21 #ifndef SH_INTERACTIVE 68 #define SH_INTERACTIVE 5 /* used also as a state */ macro 259 #endif /* SH_INTERACTIVE */
|
/titanic_51/usr/src/lib/libshell/amd64/include/ast/ |
H A D | shell.h | 23 #ifndef SH_INTERACTIVE 72 #define SH_INTERACTIVE 5 /* used also as a state */ macro
|
/titanic_51/usr/src/lib/libshell/i386/include/ast/ |
H A D | shell.h | 23 #ifndef SH_INTERACTIVE 72 #define SH_INTERACTIVE 5 /* used also as a state */ macro
|
/titanic_51/usr/src/lib/libshell/sparc/include/ast/ |
H A D | shell.h | 23 #ifndef SH_INTERACTIVE 72 #define SH_INTERACTIVE 5 /* used also as a state */ macro
|
/titanic_51/usr/src/lib/libshell/sparcv9/include/ast/ |
H A D | shell.h | 23 #ifndef SH_INTERACTIVE 72 #define SH_INTERACTIVE 5 /* used also as a state */ macro
|
/titanic_51/usr/src/lib/libshell/common/data/ |
H A D | options.c | 75 "interactive", SH_INTERACTIVE|SH_COMMANDLINE,
|
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/data/ |
H A D | options.c | 75 "interactive", SH_INTERACTIVE|SH_COMMANDLINE,
|
/titanic_51/usr/src/lib/libshell/common/edit/ |
H A D | history.c | 377 if(sh_isstate(SH_INTERACTIVE)) in sh_histinit() 384 …if(sh_isstate(SH_INTERACTIVE) && (hp->auditmask=sh_checkaudit(hp,SHOPT_AUDITFILE, buff, sizeof(buf… in sh_histinit()
|
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/edit/ |
H A D | history.c | 377 if(sh_isstate(SH_INTERACTIVE)) in sh_histinit() 384 if(sh_isstate(SH_INTERACTIVE) && (hp->auditmask=sh_checkaudit(hp,SHOPT_AUDITFILE, buff, sizeof(buff)))) in sh_histinit()
|
/titanic_51/usr/src/lib/libshell/common/bltins/ |
H A D | misc.c | 418 if(sh_isstate(SH_INTERACTIVE)) in b_bg()
|
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | misc.c | 419 if(sh_isstate(SH_INTERACTIVE)) in b_bg()
|