[Top] [All Lists]

Re: Why xfs_<utils> not 'readline' w/line-edit & history enabled?

To: Linda Walsh <xfs@xxxxxxxxx>
Subject: Re: Why xfs_<utils> not 'readline' w/line-edit & history enabled?
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Wed, 3 Oct 2012 06:17:48 +1000
Cc: xfs-oss <xfs@xxxxxxxxxxx>
In-reply-to: <506B1A03.7030600@xxxxxxxxx>
References: <506B1A03.7030600@xxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Tue, Oct 02, 2012 at 09:44:51AM -0700, Linda Walsh wrote:
> Something I've long wished for and wondered why it wasn't
> there -- was the ability to edit or re-edit a typed line,
> or recall a previous line from history.
> I'd really find it useful to even have the ability for it to
> save previous command sessions / tool.
> Given the usefulness of such, I was wondering why it had
> never been done?   Just it never rose to the top of some
> task list?  Or was there some desire to keep the tools
> less friendly and thus make them more difficult to use for
> casual use (i.e. it might have been a conscious design
> decision at some point).  Is that reasoning still a strong
> enough factor to keep things like that out of the mainline
> code?

xfsprogs has had this support via readline since, well, before I
started working on XFS....

$ sudo xfs_db -r /dev/vdb
xfs_db> inode 128
(reverse-i-search)`in': inode 128


Dave Chinner

<Prev in Thread] Current Thread [Next in Thread>