Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jun 2010 22:08:42 -0400
From:      jhell <jhell@dataix.net>
To:        Brandon Gooch <jamesbrandongooch@gmail.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>, jilles@stack.nl
Subject:   Re: [MFC REQUEST] Filename completion in sh(1)
Message-ID:  <4C18322A.6050007@dataix.net>
In-Reply-To: <4C18304A.1080601@dataix.net>
References:  <AANLkTilp7vQWC1Ae-ttAUusrT2Pb_-VsM4Ms3YbEo88G@mail.gmail.com> <4C18304A.1080601@dataix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 06/15/2010 22:00, jhell wrote:
> On 06/15/2010 21:14, Brandon Gooch wrote:
>> I discovered a few moments ago that filename completion had been
>> committed to HEAD[1]!!!
> 
>> This is a (seemingly) small, yet VERY useful addition, and, of course
>> I'm so grateful to Guy Yur and Jilles for getting this into the tree
>> :)
> 
>> I would like to make an "official" request that this feature be MFC'd
>> to 8-STABLE as soon as reasonably possible.
> 
>> Again, my thanks to you both for your work!
> 
>> -Brandon
> 
>> [1] http://svn.freebsd.org/viewvc/base?view=revision&revision=209221
> 
> Here is a diff from stable/8/bin/sh r209146 -> head/bin/sh. This is
> quite a large difference among the two with the following diffstats.
> 
>  44 files changed, 1214 insertions(+), 728 deletions(-)
> 
> This is untested, use at your own risk.
> 

Actually, I lied. I have just tested it and it does not compile for the
following errors:

/usr/src/bin/sh/histedit.c: In function 'histedit':
/usr/src/bin/sh/histedit.c:124: error: '_el_fn_sh_complete' undeclared
(first use in this function)
/usr/src/bin/sh/histedit.c:124: error: (Each undeclared identifier is
reported only once
/usr/src/bin/sh/histedit.c:124: error: for each function it appears in.)

But I do not have time to look into this further until tommorow.

Regards,

-- 

 jhell



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