Searched refs:SH_INTERACTIVE (Results 1 – 15 of 15) sorted by relevance
| /illumos-gate/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_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 | 129 …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 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 | args.c | 74 SH_DICTIONARY, SH_INTERACTIVE, SH_RESTRICTED, SH_CFLAG, 397 if(sh_isoption(SH_INTERACTIVE)) in sh_applyopts()
|
| 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()
|
| H A D | io.c | 1220 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 D | macro.c | 2042 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 D | parse.c | 350 if(sh_isoption(SH_INTERACTIVE)) in sh_parse() 351 sh_onstate(SH_INTERACTIVE); in sh_parse()
|
| H A D | lex.c | 2178 if(!sh_isstate(SH_INTERACTIVE) && !sh_isstate(SH_PROFILE)) in sh_syntax()
|
| /illumos-gate/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
|
| /illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/data/ |
| H A D | options.c | 75 "interactive", SH_INTERACTIVE|SH_COMMANDLINE,
|
| /illumos-gate/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(buf… in sh_histinit()
|
| H A D | edit.c | 833 if(ep->sh->winch && sh_isstate(SH_INTERACTIVE) && (sh_isoption(SH_VI) || sh_isoption(SH_EMACS))) in ed_read()
|
| /illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
| H A D | misc.c | 419 if(sh_isstate(SH_INTERACTIVE)) in b_bg()
|