Re: win32 readline - Mailing list pgsql-patches

From Mark Cave-Ayland
Subject Re: win32 readline
Date
Msg-id 8F4A22E017460A458DB7BBAB65CA6AE5026617@openmanage
Whole thread Raw
In response to win32 readline  ("Magnus Hagander" <mha@sollentuna.net>)
List pgsql-patches
FYI:

I've been using a CVS pull from the middle of May with readline under
Win32 without any problems. Firing up the database and doing a 'show
all' shows all lc_* vars set to English_United Kingdom.1252. This was
compiled using MingW-3.1.0-1 and MSYS-1.0.10, running under Windows XP
Pro. The only issues I have found with testing are that the history is
not maintained between psql sessions, and completion doesn't work with
\i when using a backslash (\) as a separator or when including a drive
specifier.


Hope this helps,

Mark.

---

Mark Cave-Ayland
Webbased Ltd.
Tamar Science Park
Derriford
Plymouth
PL6 8BX
England

Tel: +44 (0)1752 764445
Fax: +44 (0)1752 764446


This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender. You
should not copy it or use it for any purpose nor disclose or distribute
its contents to any other person.

> -----Original Message-----
> From: pgsql-patches-owner@postgresql.org
> [mailto:pgsql-patches-owner@postgresql.org] On Behalf Of
> Magnus Hagander
> Sent: 21 July 2004 09:13
> To: Mark Kirkwood; Peter Eisentraut
> Cc: pgsql-patches@postgresql.org
> Subject: Re: [PATCHES] win32 readline
>
>
> Hmm. And this is a cvs pull that was before Bruce actually
> disabled readline? What locale are you in?
>
> Peter - what OS are you on, and what mingw version? And what locale?
>
> I've done my tests on Win XP, and it elcearly does not work
> (locale = Swedish). I've also talked to Merlin, and he had
> the same problems (backslash worked bceauase his locale
> didn't require Alt-Gr for it, but other Alt keysequences didn't)
>
> //Magnus
>
>
> > -----Original Message-----
> > From: Mark Kirkwood [mailto:markir@coretech.co.nz]
> >
> > To add to the confusion it works for me as well -  Windows
> > 2003 with Mingw 3.1.0
> >
> > Peter Eisentraut wrote:
> >
> > >Magnus Hagander wrote:
> > >
> > >
> > >>Readline is pretty badly broken under mingw. Basically,
> it disables
> > >>the alt-gr key, which renders psql almost useless on most
> > locales (no
> > >>way to type backslash, and a whole lot of other characters, for
> > >>example).
> > >>
> > >>
> > >
> > >I can't reproduce that.  It works perfectly fine here.
> > >
> > >
> > >
> >
> >
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to
> majordomo@postgresql.org)
>



pgsql-patches by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: logfile subprocess and Fancy File Functions
Next
From: "Magnus Hagander"
Date:
Subject: Re: win32 readline