Home
last modified time | relevance | path

Searched refs:SH_INTERACTIVE (Results 1 – 25 of 34) sorted by relevance

12

/titanic_51/usr/src/lib/libshell/common/sh/
H A Dmain.c191 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 Dbash.c253 && (is_option(&opt,SH_INTERACTIVE) in b_shopt()
275 if(sh_isoption(SH_INTERACTIVE)) in b_shopt()
H A Dfault.c121 …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 Djobs.c477 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 Dxec.c508 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 Dargs.c71 SH_DICTIONARY, SH_INTERACTIVE, SH_RESTRICTED, SH_CFLAG,
388 if(sh_isoption(SH_INTERACTIVE)) in sh_applyopts()
H A Dio.c1019 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 Dmain.c175 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 Dbash.c253 && (is_option(&opt,SH_INTERACTIVE) in b_shopt()
275 if(sh_isoption(SH_INTERACTIVE)) in b_shopt()
H A Dfault.c129 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 Dargs.c74 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 Djobs.c612 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 Dxec.c617 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 Dshell.h21 #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 Dshell.h21 #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 Dshell.h23 #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 Dshell.h23 #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 Dshell.h23 #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 Dshell.h23 #ifndef SH_INTERACTIVE
72 #define SH_INTERACTIVE 5 /* used also as a state */ macro
/titanic_51/usr/src/lib/libshell/common/data/
H A Doptions.c75 "interactive", SH_INTERACTIVE|SH_COMMANDLINE,
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/data/
H A Doptions.c75 "interactive", SH_INTERACTIVE|SH_COMMANDLINE,
/titanic_51/usr/src/lib/libshell/common/edit/
H A Dhistory.c377 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 Dhistory.c377 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 Dmisc.c418 if(sh_isstate(SH_INTERACTIVE)) in b_bg()
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dmisc.c419 if(sh_isstate(SH_INTERACTIVE)) in b_bg()

12