[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MinGW "info" program broken?
From: |
Eli Zaretskii |
Subject: |
Re: MinGW "info" program broken? |
Date: |
Sun, 15 Oct 2023 18:44:07 +0300 |
> From: Bruno Haible <bruno@clisp.org>
> Cc: bug-texinfo@gnu.org
> Date: Sun, 15 Oct 2023 16:07:28 +0200
>
> Eli Zaretskii wrote:
> > The stand-alone Info reader built with MinGW works
> > flawlessly for me.
> >
> > > I had understood that "info" was running well on MinGW so it would be
> > > worth
> > > understanding any differences between yours and Bruno's setup.
> >
> > I'm indeed curious why this happens with the MSVC build.
>
> It happens also with the mingw-w64 version 5.0.3 build. Let me investigate...
I guess you somehow trip on this code fragment from pcterm.c:
/* Print STRING to the terminal at the current position. */
static void
pc_put_text (string)
char *string;
{
if (speech_friendly)
fputs (string, stdout);
#ifdef __MINGW32__
else if (hscreen == INVALID_HANDLE_VALUE)
fputs (string, stdout); <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
else if (output_cp == CP_UTF8 || output_cp == CP_UTF7)
write_utf (output_cp, string, -1);
#endif
else
cputs (string);
}
Which probably means the screen handle is somehow invalid?
- Re: Texinfo 7.0.94 on native Windows, (continued)
- Re: Texinfo 7.0.94 on native Windows, Gavin Smith, 2023/10/15
- MinGW "info" program broken?, Gavin Smith, 2023/10/15
- Re: MinGW "info" program broken?, Bruno Haible, 2023/10/15
- Re: MinGW "info" program broken?, Eli Zaretskii, 2023/10/15
- Re: MinGW "info" program broken?, Eli Zaretskii, 2023/10/15
- Re: MinGW "info" program broken?, Bruno Haible, 2023/10/15
- Re: MinGW "info" program broken?, Eli Zaretskii, 2023/10/15
- Re: MinGW "info" program broken?, Bruno Haible, 2023/10/15
- Re: MinGW "info" program broken?,
Eli Zaretskii <=