Article View: gnu.emacs.help
Article #189376cmushell, M-P and multiline csh command (answer)
From: Stephane Payrard
Date: Fri, 22 Feb 1991 21:52
Date: Fri, 22 Feb 1991 21:52
37 lines
1697 bytes
1697 bytes
-----------------------
From: Lennart Staflin <les@IDA.LiU.SE>
Date: Thu, 14 Feb 91 13:32:03 +0100
>>>>> On 14 Feb 91 07:30:06 GMT, stef@zweig.sun (Stephane Payrard) said:
You> I would like to be able to recall a multiline command with M-p
You> (comint-previous-input). either I or the version of the cmushell I
You> have seems not smart enough to handle correctly that kind of
You> situation.
You could type C-q C-j insted of RETURN when starting a continuation
line. This will make the two (or more lines) into one entry in
comint's history list. They will also be sent as a bunch when you
press return.
Lennart Staflin
-----------------------
my comments:
Note that C-j or LineFeed does not to be prefixed by C-q.
This trick is useful in various emacs-mode wich controls
an interactive shell (cmushell-mode, csh-mode, psh-mode...)
Many thanks to Lennart .
stef
--
Stephane Payrard -- stef@eng.sun.com -- (415) 336 3726
SMI 2550 Garcia Avenue M/S 10-09 Mountain View CA 94043
Technical Details
Message-ID:
<STEF.91Feb22135250@zweig.sun>Path:
arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!samsung!uunet!munnari.oz.au!metro!sunaus.oz!newstop!exodus!stefShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,490b0b76704e8dc8,start X-Google-Attributes: gid103b8b,public X-Google-ArrivalTime: 1991-02-22 21:35:09 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!samsung!uunet!munnari.oz.au!metro!sunaus.oz!newstop!exodus!stef From: stef@zweig.sun (Stephane Payrard) Newsgroups: gnu.emacs.help Subject: cmushell, M-P and multiline csh command (answer) Message-ID: <STEF.91Feb22135250@zweig.sun> Date: 22 Feb 91 21:52:50 GMT Sender: news@exodus.Eng.Sun.COM Distribution: gnu Organization: Sun Microsystems -- Mountain View Lines: 37