NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/47701: apropos doesn't work



On Thu, Mar 28, 2013 at 10:05 AM, Valery Ushakov <uwe%stderr.spb.ru@localhost> 
wrote:
> The following reply was made to PR bin/47701; it has been noted by GNATS.
>
> From: Valery Ushakov <uwe%stderr.spb.ru@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc:
> Subject: Re: bin/47701: apropos doesn't work
> Date: Thu, 28 Mar 2013 08:31:13 +0400
>
>  On Thu, Mar 28, 2013 at 03:35:01 +0000, root%garbled.net@localhost wrote:
>
>  > If I want to find usbdevs, apparently I have to do -C8 ??
>
>  Apparently apropos now prints (silently) just the first 10 results!
>
>  You need to use -p to tell it to return everything.  Except the way -p
>  invokes pager seems broken since it uses popen.

I looked at how git-log achieves the same. It seems, it forks less as
a child process and creates a pipe between less' s stdin and its own
stdout using pipe and dup2. I will try that as well.

--
Abhinav


Home | Main Index | Thread Index | Old Index