Subject: ncurses-1.9.9e, NT, B17.1
From: [email-masked] (Ernie Rael)

8 Jan 1997 16:21:08 -0800
Sender: [email-masked]
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Original-To: [email-masked]
X-Mailer: Forte Agent .99g/32.339
Original-Sender: [email-masked]

At the end of this message are the changes i made to
get ncurses working. A previous message outlined the
problems. With term set to pcansi it works fairly well.
(I was expecting to need to build a terminfo entry with
some ugly hacks, but was pleasantly suprised to find
that pcansi worked). I checked the cygwin dll's code and sure
enough the console handler has the translations. There
are some problems with restoring the complete state of
the terminal, and input seems flakey. Might get some time
to play with this later this week.

Note:	_FO_BINARY is defined to be "b"
	(see following message "binary mode handling")

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: RCS/lib_screen.c,v
retrieving revision 1.1
diff -r1.1 lib_screen.c
110c110
<       if ((fp =3D fopen(file, "r")) =3D=3D (FILE *)NULL)
---
>       if ((fp =3D fopen(file, "r" _FO_BINARY)) =3D=3D (FILE *)NULL)
125c125
<       if ((fp =3D fopen(file, "w")) =3D=3D (FILE *)NULL)
---
>       if ((fp =3D fopen(file, "w" _FO_BINARY)) =3D=3D (FILE *)NULL)
146c146
<       if ((fp =3D fopen(file, "r")) =3D=3D (FILE *)NULL)
---
>       if ((fp =3D fopen(file, "r" _FO_BINARY)) =3D=3D (FILE *)NULL)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: RCS/read_entry.c,v
retrieving revision 1.1
diff -r1.1 read_entry.c
72c72
<     if ((fd =3D open(filename, 0)) < 0)
---
>     if ((fd =3D open(filename, O_RDONLY|O_BINARY)) < 0)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: RCS/write_entry.c,v
retrieving revision 1.1
diff -r1.1 write_entry.c
203c203
<       fp =3D fopen(filename, "w");
---
>       fp =3D fopen(filename, "w" _FO_BINARY);
-
For help on using this list, send a message to
"[email-masked]" with one line of text: "help".