Xref: utzoo gnu.emacs.help:1300 comp.emacs:10204 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!agate!ucbvax!tut.cis.ohio-state.edu!unreplyable!garbage From: worley@compass.com (Dale Worley) Newsgroups: gnu.emacs.help,comp.emacs Subject: M-p and multiline csh command in cmushell Message-ID: <9102212051.AA19277@sn1987a.compass.com> Date: 21 Feb 91 20:51:06 GMT Sender: daemon@tut.cis.ohio-state.edu Followup-To: gnu.emacs.help Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu Lines: 13 Stephane Payrard writes: > I would like to be able to recall a multiline command with M-p > (comint-previous-input). To do this, separate the lines of the command with C-j (which inserts a newline in the buffer, but does not send), and at the end of the entire command, send it with RET. That way, cmushell sends the whole command as a unit, and M-p recalls it as a unit. Dale Worley Compass, Inc. worley@compass.com -- The only constant through history is the beaurocratic mentality. -- "Star Trek"