From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12013 invoked from network); 16 Jan 1997 13:51:49 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by coral.primenet.com.au with SMTP; 16 Jan 1997 13:51:49 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id IAA27093; Thu, 16 Jan 1997 08:57:50 -0500 (EST) Resent-Date: Thu, 16 Jan 1997 08:53:02 -0500 (EST) Message-Id: <199701161354.OAA12628@sgi.ifh.de> To: Zsh users mailing list Subject: Re: How to kill string but leave it in history? In-reply-to: "Andrej Borsenkow"'s message of "Thu, 16 Jan 1997 16:36:19 MET." Date: Thu, 16 Jan 1997 14:54:23 +0100 From: Peter Stephenson Resent-Message-ID: <"M830s3.0.Vb6.-AZto"@euclid> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/611 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Andrej Borsenkow wrote: > 1. It doesn't work with multiline command (sorry, I had to be more precise > on this). E.g. This gets tricky, because there's currently no reliable way of going to the beginning/end of the buffer or even of the line: if you're there already, the corresponding commands take you somewhere else. So I've just set it to go to 100 end/beginning of lines to get to the end/beginning of the buffer. That's not very nice. Perhaps Zefram has some plans for this. bindkey -s '\C-X\C-H' '\M-1\M-0\M-0\C-e\C-@\M-1\M-0\M-0\C-a print -s \M-"\C-M' > 2. It echows the whole command (well, rather cosmetic). There's no builtin command you can use, so you have to trick it somehow. I can't see any way of avoiding this. -- Peter Stephenson Tel: +49 33762 77366 WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77413 Deutsches Elektronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen DESY-IfH, 15735 Zeuthen, Germany.