NetBSD-Bugs archive

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

Re: bin/54343: "man -k config | less" broken



On Fri, Jul 5, 2019 at 12:55 AM Thomas Klausner <wiz%netbsd.org@localhost> wrote:
>
> >Number:         54343
> >Category:       bin
> >Synopsis:       "man -k config | less" broken
> >Confidential:   no
> >Severity:       serious
> >Priority:       medium
> >Responsible:    bin-bug-people
> >State:          open
> >Class:          sw-bug
> >Submitter-Id:   net
> >Arrival-Date:   Thu Jul 04 19:25:01 +0000 2019
> >Originator:     Thomas Klausner
> >Release:        NetBSD 8.99.47
> >Organization:
> Curiosity is the very basis of education and if you tell me that
> curiosity killed the cat, I say only that the cat died nobly.
> - Arnold Edinborough
> >Environment:
> Architecture: x86_64
> Machine: amd64
> >Description:
> man -k config
>
> spams the screen.
> So I tried redirecting it through less, but then I get nothing.
>
> I also tried
> man -k config 2>&1 | less
> because I thought it might be written to stderr, but that didn't work either.
> >How-To-Repeat:
> see above
> >Fix:
> I suggest so, yes.

I tried to reproduce this on fresh VM (NetBSD 9.99.8 amd64) but it
works there. There were a couple of bugs (specifically when
redirecting the output to less) which I fixed a while back (in
revision 1.42 of apropos-utils.c). I think this should not be
happening anymore, could you confirm if it is still an issue and any
specific setup or steps to reproduce?

Regards
Abhinav


Home | Main Index | Thread Index | Old Index