Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Feb 2002 20:35:12 +0300
From:      Yar Tikhiy <yar@FreeBSD.org>
To:        Mark Peek <mark@peek.org>
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>
In-Reply-To: <p05101409b88d9c825e35@[10.1.10.118]>; from mark@peek.org on Mon, Feb 11, 2002 at 08:18:45AM -0800
References:  <200202111414.g1BEEgd74791@freefall.freebsd.org> <p05101409b88d9c825e35@[10.1.10.118]>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <kolya@orbit.zepa.net>
> >
> >   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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020211203511.A64123>