Home
last modified time | relevance | path

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

/titanic_54/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_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.c129 …if((flag&SH_SIGINTERACTIVE) && sh_isstate(SH_INTERACTIVE) && !sh_isstate(SH_FORKED) && ! shp->subs… 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,
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()
H A Dio.c1220 fname=sh_mactrim(shp,fname,(!sh_isoption(SH_NOGLOB)&&sh_isoption(SH_INTERACTIVE))?2:0); in sh_redirect()
1949 if(!sh_isstate(SH_INTERACTIVE)) in time_grace()
1976 …if(sh_isstate(SH_INTERACTIVE) && sffileno(iop)==0 && io_prompt(shp,iop,shp->nextprompt)<0 && errno… in piperead()
2159 if(flag<3 && !sh_isstate(SH_INTERACTIVE)) in io_prompt()
H A Dmacro.c2042 int was_interactive = sh_isstate(SH_INTERACTIVE); in comsubst()
2171 sh_offstate(SH_INTERACTIVE); in comsubst()
2242 sh_onstate(SH_INTERACTIVE); in comsubst()
H A Dparse.c343 if(sh_isoption(SH_INTERACTIVE)) in sh_parse()
344 sh_onstate(SH_INTERACTIVE); in sh_parse()
H A Dlex.c2151 if(!sh_isstate(SH_INTERACTIVE) && !sh_isstate(SH_PROFILE)) in sh_syntax()
/titanic_54/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
/titanic_54/usr/src/contrib/ast/src/cmd/ksh93/data/
H A Doptions.c75 "interactive", SH_INTERACTIVE|SH_COMMANDLINE,
/titanic_54/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(buf… in sh_histinit()
H A Dedit.c833 if(ep->sh->winch && sh_isstate(SH_INTERACTIVE) && (sh_isoption(SH_VI) || sh_isoption(SH_EMACS))) in ed_read()
/titanic_54/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dmisc.c419 if(sh_isstate(SH_INTERACTIVE)) in b_bg()