From: Chet R. <che...@ca...> - 2006-09-13 17:14:21
|
> <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. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Live Strong. Chet Ramey, ITS, CWRU ch...@ca... http://tiswww.tis.case.edu/~chet/ |