Re: Using iconv in stand-alone info

2015-12-24 Thread Eli Zaretskii
> Date: Thu, 24 Dec 2015 21:13:53 + > From: Gavin Smith > Cc: Texinfo > > Here's a test file that demonstrates the problem. In the second line, > there is an extra character being viewed as part of the > cross-reference, likely because of this

Re: texinfo-6.0.90 - terminal info problem

2015-12-24 Thread Eli Zaretskii
> Date: Fri, 25 Dec 2015 09:34:20 +0900 > From: Norbert Preining > > ok, I have now 6.0.90 installed and running, and the first things > I realized that info seems to be completely broken. This was already fixed in the repository. If you want to fix that in your sources,

texinfo-6.0.90 - terminal info problem

2015-12-24 Thread Norbert Preining
Hi Gavin, hi all, ok, I have now 6.0.90 installed and running, and the first things I realized that info seems to be completely broken. Starting info gives me the usual head followed by lots of white space: - cut from screen --- File: dir, Node: Top,

Re: texinfo-6.0.90 pretest

2015-12-24 Thread Norbert Preining
Hi Gavin, > informative if the same error occurred with > --with-external-libintl-perl=no. BINGO! That is the culprit. Here on Debian we have version 1.24 which creates the problems, while your bundled version is 1.20. I looked through the changelog (git log) of the 1.24 version but did not find

Re: Using iconv in stand-alone info

2015-12-24 Thread Gavin Smith
> Here's what I came up with, please see if it looks better now. It looks okay as far as I can tell without testing it, except for this addition: >else > { >utf8_char_ptr = utf8_char; >/* i is width of UTF-8 character */ >degrade_utf8

Re: Using iconv in stand-alone info

2015-12-24 Thread Eli Zaretskii
> Date: Thu, 24 Dec 2015 19:45:56 + > From: Gavin Smith > Cc: Texinfo > > > Here's what I came up with, please see if it looks better now. > > It looks okay as far as I can tell without testing it, except for this > addition: > > >

Re: Using iconv in stand-alone info

2015-12-24 Thread Gavin Smith
On 24 December 2015 at 20:23, Eli Zaretskii wrote: > But we do: that's the other hunk in the diffs: > > - if (iconv_ret != (size_t) -1) > + /* Make sure libiconv flushes out the last converted character. > +This is required when the conversion is stateful, in which

Re: Using iconv in stand-alone info

2015-12-24 Thread Eli Zaretskii
> Date: Wed, 23 Dec 2015 19:15:18 + > From: Gavin Smith > Cc: Texinfo > > > /* We want to read exactly one character. Do this by > > restricting size of output buffer. */ > > utf8_char_ptr = utf8_char; > > for (i =