From owner-cvs-all Mon Feb 11 9:35:30 2002 Delivered-To: cvs-all@freebsd.org Received: from comp.chem.msu.su (comp-ext.chem.msu.su [158.250.32.157]) by hub.freebsd.org (Postfix) with ESMTP id 5903037B417; Mon, 11 Feb 2002 09:35:24 -0800 (PST) Received: (from yar@localhost) by comp.chem.msu.su (8.11.1/8.11.1) id g1BHZCm64799; Mon, 11 Feb 2002 20:35:12 +0300 (MSK) (envelope-from yar) Date: Mon, 11 Feb 2002 20:35:12 +0300 From: Yar Tikhiy To: Mark Peek Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/ddb db_input.c Message-ID: <20020211203511.A64123@comp.chem.msu.su> References: <200202111414.g1BEEgd74791@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from mark@peek.org on Mon, Feb 11, 2002 at 08:18:45AM -0800 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Feb 11, 2002 at 08:18:45AM -0800, Mark Peek wrote: > At 6:14 AM -0800 2/11/02, Yar Tikhiy wrote: > >yar 2002/02/11 06:14:42 PST > > > > Modified files: > > sys/ddb db_input.c > > Log: > > Teach ddb(4) to delete to the beginning of its command line on ^U. > > > > PR: kern/28976 > > Submitted by: Nickolai Zeldovich > > > > Revision Changes Path > > 1.29 +6 -1 src/sys/ddb/db_input.c > > I don't know that this is the right change. The usual use of ^U is > for 'kill' in terminal input mode (e.g., when typing into a shell) > and 'kill' is defined as deleting all data in the current line. This > change to ddb only kills the data from the beginning of the line to > the cursor but leaves the remainder of the line intact. I was used to the default notion of ^U in GNU bash so much that decided killing to cursor is the right way... But the rest of the world seems to disagree and use ^U for killing the whole line. I think I must rework my change. Does anyone have more comments? -- Yar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message