From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12028 invoked from network); 16 Jan 1997 13:59:58 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by coral.primenet.com.au with SMTP; 16 Jan 1997 13:59:58 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id JAA27420; Thu, 16 Jan 1997 09:05:53 -0500 (EST) Resent-Date: Thu, 16 Jan 1997 09:01:14 -0500 (EST) Date: Thu, 16 Jan 1997 15:02:12 +0100 Message-Id: <199701161402.AA30992@mail2.gmd.de> From: Juergen Christoffel To: borsenkow.msk@sni.de Cc: zsh-users@math.gatech.edu In-Reply-To: (message from Andrej Borsenkow on Thu, 16 Jan 1997 13:59:45 +0300 (MSK)) Subject: Re: How to kill string but leave it in history? Resent-Message-ID: <"FfdvQ.0.Kf6.fIZto"@euclid> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/612 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Date: Thu, 16 Jan 1997 13:59:45 +0300 (MSK) From: Andrej Borsenkow So - is there any way to cancel current command line but leave it in history? Using emacs-mode I simple go to the beginning of the line (c-A), then quote the line (ESC-') and write echo before it and execute it. Thus it isn't executed but in the history and it's easy to retrieve. Nothing fancy but works for me. --jc -- E-Mail: christoffel@gmd.de or one of {ftp,news,web}master@gmd.de GMD - German National Research Center for Information Technology GMD pays for my technical expertise. My opinions probably scare them...