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
....
Cheers,
Dave.
--
Dave Chinner
david@xxxxxxxxxxxxx
|