[net.unix-wizards] emacs questions

aron (10/22/82)

Two emacs questions:

(1) How can I get start-process to start a csh?  I've tried:
 (a) start-process /bin/csh which does /bin/csh -c /bin/csh
This works fine outside of emacs, but gives me nothing inside
emacs.  When I do list-process it says the process is stopped.
Continue process doesn't seem to get it to start again.
 (b) running shell and then invoking /bin/csh.  Again, this works
outside of emacs but I get the same problem as in a.  I can of
course use pause-emacs, but I like to have more than one cshell
around.

(2) Does anyone have an mlisp incremental search that works fully - i.e.
when you delete characters it moves backwards?  I have one called
incs2.ml but when I use it I get an error: String to integer conversion
error.

Thanks

					aron shtull-trauring
					harpo!presby!aron

thomas (10/22/82)

I've got an incremental search (and regular expression incremental search)
which is fully compatible with the Twenex Emacs.  It returns to the
correct position when rubbing out, ^G will just kill the failing
portion of the search string, etc.  If there is interest, I can post it
to net.sources, or just send it to people who want it.
=Spencer

puder (10/22/82)

It is difficult (perhaps impossible) in the current (Gosling) emacs to
put csh in a window.  Emacs uses MXIO (multiplexed i/o) to handle
sub-processes.  Csh keeps changing its process group when doing job
control stuff.  These two things are incompatible.  MXIO isn't fancy
enough (it is, after all, "experimental") to keep track of where a
process is if that process insists on moving around all the time.
		Sorry to be the purveyor of bad news,
			Karl Puder
				...!lime!burdvax!puder

P.S.  Except for the fact that it's different, why do you need csh if
your shell is inside emacs?  Since you have an editor, you don't need
the history sustitution, and as for job control, just start up a shell
window for every process you want to control.  I prefer csh as a login
shell, mainly because of the job control and history, but inside emacs
I don't miss it.

thomas (10/22/82)

Why use csh inside your emacs?  Well, we have a system here which is built
extensively on the use of csh aliases.  We would find it pretty useless
to run a shell in emacs if we couldn't run our commands.

=Spencer