Re: win32 readline

From: "Mark Cave-Ayland" <m(dot)cave-ayland(at)webbased(dot)co(dot)uk>
To: "'Magnus Hagander'" <mha(at)sollentuna(dot)net>
Cc: <pgsql-patches(at)postgresql(dot)org>
Subject: Re: win32 readline
Date: 2004-07-21 11:56:34
Message-ID: 8F4A22E017460A458DB7BBAB65CA6AE5026618@openmanage
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


> -----Original Message-----
> From: pgsql-patches-owner(at)postgresql(dot)org
> [mailto:pgsql-patches-owner(at)postgresql(dot)org] On Behalf Of
> Magnus Hagander
> Sent: 21 July 2004 11:49
> To: Mark Cave-Ayland
> Cc: pgsql-patches(at)postgresql(dot)org
> Subject: Re: [PATCHES] win32 readline
>
>
> 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

Ah sorry, I misunderstood that you needed the Windows locale. Assuming
that the locale is the one that's set in Control Panel, Regional Options
then on my PC it's set to "English (United Kingdom)". As you suggest, I
don't need to use Alt-Gr for a backslash, but I can happily write all
sorts of strange characters (particularly lots of DOS characters) by
holding down Alt-Gr and tapping other keys on the keyboard. I can even
include these strange characters in SELECT queries, plus they display
correctly when cycling through the history.

Note this is running psql from cmd.exe instead of through the MSYS
terminal - for some reason psql.exe hangs when I try and run it from the
MSYS terminal at the moment....

Kind regards,

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.

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-07-21 14:05:37 Re: Borland c++ compile problems...
Previous Message Magnus Hagander 2004-07-21 10:48:50 Re: win32 readline