From: <no...@cu...> - 2006-09-13 22:12:09
|
Chet Ramey <che...@ca...> writes: >> <Don...@st...> writes: >> >For example, emacs could send the shell something like "shopt >> > -u -o emacs; shopt -u -o vi". Then emacs could leave EMACS alone. >> >> Stuffing input to a subshell like that is in general not something you >> can do reliably. > > Yeah, that's dicy, but you don't have to do it. Just invoke the shell > with the `--noediting' option. CVS emacs already uses --noediting -i for bash (see variable explicit-bash-args). -- Kim F. Storm http://www.cua.dk |