This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: PATCH: Readline for MinGW
On Sun, 2005-06-12 at 03:31, Mark Kettenis wrote:
> Date: Wed, 8 Jun 2005 10:42:06 -0700
> From: Mark Mitchell <mark@codesourcery.com>
>
> The problems solved by this patch are:
>
> 1. Windows does not have termcap/curses/etc. So, we provide a stub
> files that contains basic implementations of the relevant
> functions. That permits the remainder of the code to continue
> using the POSIX interfaces unchanged.
>
> 2. The arrow keys use different extended key sequences on Windows than
> on POSIX systems; we introduce readline macros to transform the
> Windows sequences into their POSIX equivalents. This approach
> again confines the Windows-isms to a single point.
FWIW, Mark's patch built fine for me.
--
James Lemke jim@wasabisystems.com Orillia, Ontario
http://www.wasabisystems.com