Re: win32 readline - Mailing list pgsql-patches

From Magnus Hagander
Subject Re: win32 readline
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE34BECB@algol.sollentuna.se
Whole thread Raw
In response to win32 readline  ("Magnus Hagander" <mha@sollentuna.net>)
List pgsql-patches
The locale that's interesting is the Windows locale, not the pg one.
And I assume you are on english locale? Then you don't need Alt-Gr for
backslash at least, but you're saying  other Alt-Gr-key based
combinations did work?

(I've also had reports of history problems, which in at least one case
has been fixed by the disabling of readline)

//Magnus

> -----Original Message-----
> From: Mark Cave-Ayland [mailto:m.cave-ayland@webbased.co.uk]
> Sent: Wednesday, July 21, 2004 12:38 PM
> To: Magnus Hagander; 'Mark Kirkwood'; 'Peter Eisentraut'
> Cc: pgsql-patches@postgresql.org
> Subject: RE: [PATCHES] win32 readline
>
> 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: "Mark Cave-Ayland"
Date:
Subject: Re: win32 readline
Next
From: "Mark Cave-Ayland"
Date:
Subject: Re: win32 readline