Searched refs:SH_VI (Results 1 – 15 of 15) sorted by relevance
277 if(is_option(&opt,SH_VI)||is_option(&opt,SH_EMACS)||is_option(&opt,SH_GMACS)) in b_shopt()279 off_option(&newflags,SH_VI); in b_shopt()
211 off_option(&newflags,SH_VI); in sh_argopts()294 if(o==SH_VI || o==SH_EMACS || o==SH_GMACS) in sh_argopts()296 off_option(&newflags,SH_VI); in sh_argopts()
216 newopt=SH_VI; in put_ed()223 sh_offoption(SH_VI); in put_ed()1387 if(sh_isoption(SH_VI)) in sh_reinit()1388 on_option(&opt,SH_VI); in sh_reinit()
617 if(sh_isoption(SH_EMACS)||sh_isoption(SH_VI)||sh_isoption(SH_GMACS)) in sh_done()
1727 if(sh_isoption(SH_VI) || ((SHOPT_RAWONLY-0) && mbwide())) in slowread()1729 if(sh_isoption(SH_VI)) in slowread()1882 if(!sh_isoption(SH_VI) && !sh_isoption(SH_EMACS) && !sh_isoption(SH_GMACS)) in io_prompt()
932 was_vi = sh_isoption(SH_VI); in sh_exec()935 sh_offoption(SH_VI); in sh_exec()1065 sh_onoption(SH_VI); in sh_exec()
115 "vi", SH_VI,
75 #define SH_VI 17 macro
236 out = outbuff + *cur + (sh_isoption(SH_VI)!=0); in ed_expand()554 ep->e_eol = ((unsigned char*)cp - (unsigned char*)ep->e_inbuf)-(sh_isoption(SH_VI)!=0); in ed_fulledit()
629 if(!sh_isoption(SH_VI) && !sh_isoption(SH_EMACS) && !sh_isoption(SH_GMACS)) in ed_setup()821 if(ep->sh->winch && sh_isstate(SH_INTERACTIVE) && (sh_isoption(SH_VI) || sh_isoption(SH_EMACS))) in ed_read()860 if(sh_isoption(SH_EMACS) || sh_isoption(SH_VI)) in ed_read()1325 if(sh_isoption(SH_VI))1338 if(curp == sp && sh_isoption(SH_VI))
1354 if(!sh_isoption(SH_VI)) in getline()
84 #define SH_VI 17 macro