From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15652 invoked from network); 22 Nov 1998 03:24:22 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 22 Nov 1998 03:24:22 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id WAA17137; Sat, 21 Nov 1998 22:23:24 -0500 (EST) Resent-Date: Sat, 21 Nov 1998 22:23:24 -0500 (EST) Message-ID: <19981122032724.19517@athenaeum.> Date: Sun, 22 Nov 1998 03:27:24 +0000 From: Phil Pennock To: zsh-workers@math.gatech.edu Subject: Re: Bugs in vi-delete and vi-put-* Mail-Followup-To: zsh-workers@math.gatech.edu References: <981121181516.ZM28961@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1 In-Reply-To: <981121181516.ZM28961@candle.brasslantern.com>; from Bart Schaefer on Sat, Nov 21, 1998 at 06:15:15PM -0800 Organisation: Organisation? Here? No, over there ----> X-Disclaimer-1: Any views expressed in this message, where not explicitly X-Disclaimer-2: attributed otherwise, are mine and mine alone. Such views X-Disclaimer-3: do not necessarily coincide with those of any organisation X-Disclaimer-4: or company with which I am or have been affiliated. X-Phase-of-Moon: The Moon is Waxing Crescent (8% of Full) Resent-Message-ID: <"FspLW1.0.iB4.hEuLs"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/4680 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Sat, Nov 21, 1998 at 06:15:15PM -0800, Bart Schaefer wrote: > cursor after "line", type ESC dd P j. Note that you end up on the line > below the prompt, even though there was no newline in what was deleted. > Now type p. Note that you end up with: This is consistent with vi. dd deletes current line, including newline. If you type dd on a line /with content/ in a multiline command, that line is deleted. Your point about a feep on an empty line is noted. It looks as though you want dd, when there is only one line, to behave like 0d$ -- special case it? HTH -- --> Phil Pennock ; GAT d- s+:+ a22 C++(++++) UL++++/I+++/S+++/H+ P++@ L+++ E-@ W(+) N>++ o !K w--- O>+ M V !PS PE Y+ PGP+ t-- 5++ X+ R !tv b++>+++ DI+ D+ G+ e+ h* r y?