Bug#814743: [regression?] output of info --output without argument

2016-02-21 Thread Norbert Preining
> No, it was a mistake. Should be fixed now (once the commit finishes -

Thanks for the quick fix!

Norbert


PREINING, Norbert   http://www.preining.info
JAIST, Japan TeX Live & Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13




Bug#814743: [regression?] output of info --output without argument

2016-02-21 Thread Gavin Smith
On 21 February 2016 at 14:16, Norbert Preining  wrote:
> Hi Gavin,
>
>> "info --output -" outputs the dir node in the latest revision (svn
>> revision 7022). However, the invocation of info is complex with
>
> Thanks for that. I have tried this out and found only one peculiarity:
>
> info --output ARG
>
> puts all the expected stuff into ARG (possibly stdout), but *also*
> issues a funny hex number to stderr:
>
> info --output - 2>
>
> gives me e.g.:
>
> $ cat 
> 0x257b1b0
>
> These hex numbers change with every invocation.
>
> Is this intended?

No, it was a mistake. Should be fixed now (once the commit finishes -
committing to the repository has been painfully slow in the last week
or so).



Bug#814743: [regression?] output of info --output without argument

2016-02-21 Thread Norbert Preining
Hi Gavin,

> "info --output -" outputs the dir node in the latest revision (svn
> revision 7022). However, the invocation of info is complex with

Thanks for that. I have tried this out and found only one peculiarity:

info --output ARG

puts all the expected stuff into ARG (possibly stdout), but *also*
issues a funny hex number to stderr:

info --output - 2>

gives me e.g.:

$ cat 
0x257b1b0

These hex numbers change with every invocation.

Is this intended?

All the best

Norbert


PREINING, Norbert   http://www.preining.info
JAIST, Japan TeX Live & Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13




Bug#814743: [regression?] output of info --output without argument

2016-02-20 Thread Norbert Preining
On Sat, 20 Feb 2016, Gavin Smith wrote:
> "info --output -" outputs the dir node in the latest revision (svn
> revision 7022). However, the invocation of info is complex with

Thanks Gavin, I will check that commit out for the Debian packages.

Norbert


PREINING, Norbert   http://www.preining.info
JAIST, Japan TeX Live & Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13




Bug#814743: [regression?] output of info --output without argument

2016-02-20 Thread Gavin Smith
On 16 February 2016 at 07:38, Gavin Smith  wrote:
> On 15 February 2016 at 02:52, Vincent Lefevre  wrote:
>>> it seems that info 6.1 lost the ability to dump the start page
>>> into an output file:
>>>
>>>   $ info --output foobar coreutils
>>>
>>> properly dumps the coreutils page into foobar, but
>>>
>>>   $ info --output foobar
>>>
>>> does *not* dump the dir/root node.
>>>
>>> This breaks completion in some shells, as they use
>>>
>>>   info --output -
>>>
>>> to determine the possible nodes.
>
> I'm looking at it, but it will take me a few days to get around to it.

"info --output -" outputs the dir node in the latest revision (svn
revision 7022). However, the invocation of info is complex with
interactions among all the different possible options, and I can't
guarantee that all the combinations of options make sense or do the
right thing.



Bug#814743: [regression?] output of info --output without argument

2016-02-15 Thread Gavin Smith
On 15 February 2016 at 02:52, Vincent Lefevre  wrote:
>> it seems that info 6.1 lost the ability to dump the start page
>> into an output file:
>>
>>   $ info --output foobar coreutils
>>
>> properly dumps the coreutils page into foobar, but
>>
>>   $ info --output foobar
>>
>> does *not* dump the dir/root node.
>>
>> This breaks completion in some shells, as they use
>>
>>   info --output -
>>
>> to determine the possible nodes.

I'm looking at it, but it will take me a few days to get around to it.
"info --output - dir" appears still to work.

There were big changes to the invocation code in the 6.0 release:
among other changes, "info manual -n node" works where before you
would have to type "info -f manual -n node".

I've also notices that "info --where manual" can print "manual"
instead of printing the full path to the manual.

> $ info -o - -
> zsh: segmentation fault (core dumped)  info -o - -
>
> I don't know what this is supposed to do, but it should not crash.
> I've just found that due to a typo on the command line (I had
> written "info -output -").

It doesn't crash for 6.0 and 6.1.



Bug#814743: [regression?] output of info --output without argument

2016-02-14 Thread Vincent Lefevre
On 2016-02-15 11:07:00 +0900, Norbert Preining wrote:
> Dear all,
> 
> (please keep Cc)
> 
> it seems that info 6.1 lost the ability to dump the start page
> into an output file:
> 
>   $ info --output foobar coreutils
> 
> properly dumps the coreutils page into foobar, but
> 
>   $ info --output foobar
> 
> does *not* dump the dir/root node.
> 
> This breaks completion in some shells, as they use
> 
>   info --output - 
> 
> to determine the possible nodes.

Note: I have not tried 6.0, which I never used due to the broken
behavior with subdirs:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=792328

But up to texinfo 5.2 at least, it seems that

  info

and

  info -o 

were consistent.

Note also that the -o option could make info 5.2 crash:

$ info -o - -
zsh: segmentation fault (core dumped)  info -o - -

I don't know what this is supposed to do, but it should not crash.
I've just found that due to a typo on the command line (I had
written "info -output -").

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Bug#814743: [regression?] output of info --output without argument

2016-02-14 Thread Norbert Preining
Dear all,

(please keep Cc)

it seems that info 6.1 lost the ability to dump the start page
into an output file:

$ info --output foobar coreutils

properly dumps the coreutils page into foobar, but

$ info --output foobar

does *not* dump the dir/root node.

This breaks completion in some shells, as they use

info --output - 

to determine the possible nodes.

Thanks

Norbert


PREINING, Norbert   http://www.preining.info
JAIST, Japan TeX Live & Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13