www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/10/14/02:06:29

X-Authentication-Warning: new-smtp2.ihug.com.au: Host p40-tnt7.syd.ihug.com.au [203.173.144.40] claimed to be acceleron
Message-ID: <002301c15474$c9bcd5e0$0a02a8c0@acceleron>
From: "Andrew Cottrell" <acottrel AT ihug DOT com DOT au>
To: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Cc: <djgpp-workers AT delorie DOT com>
References: <004601c153cd$c03c8f80$0a02a8c0 AT acceleron> <3401-Sat13Oct2001131608+0200-eliz AT is DOT elta DOT co DOT il>
Subject: Re: Info Issue with CVS LIBC
Date: Sun, 14 Oct 2001 15:55:10 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Reply-To: djgpp-workers AT delorie DOT com

> > I tried the info.exe on Win2K and a small amount of testing showed that
when
> > pressing the cursor keys it looks like the ansi info is printed to the
> > display. The cursor appears to almost move correctly, but printing the
> > "^[[?" interferes with the movement.
>
> I already said several times here that it sounds like termios is
> hooking input more aggressively than it should have.  It also breaks
> Less.
>
> > Anyone got any ideas where to start looking?
>
> I'd begin by finding out whether the termios init function gets
> called, and why.  The special termios hook should only be installed if
> the program calls some termios function.  IIRC, Info doesn't.

The plot thickens and I am a stuck at to what to do next. This is what I
did:
1) I traced the problem to the src/libc/dos/io/_read.c file to the read()
function printing the characters.
2) Copied _read.c into the "texinfo4.0\info" directory and renamed it to
read.c
3) Changed the read() function to ac_read() in both read.c and session.c
4) Modified the makefile to include read.c when creating ginfo.exe

If I run ginfo.exe after doing the stuff above it works. If I change the
ac_read() in session.c back to read() the ginfo.exe starts to print the
"^[[?" info.

I diffed read.c against the original _read.c and I only changed the function
name.

Any ideas on what to do next?




- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019