Skip site navigation (1) Skip section navigation (2)

Re: psql & readline & win32

From: Andreas Seltenreich <andreas+pg(at)gate450(dot)dyndns(dot)org>
To: "Magnus Hagander" <mha(at)sollentuna(dot)net>
Cc: "Andrew Dunstan" <andrew(at)dunslane(dot)net>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql & readline & win32
Date: 2006-01-02 09:33:31
Message-ID: 87oe2vnfdg.fsf@gate450.dyndns.org (view raw or flat)
Thread:
Lists: pgsql-hackers
Magnus Hagander writes:

>> >2) Should we ship a file of standard bindings. We're not 
>> going to get it complete, but we could get some of the most 
>> common ones in europe at least (in sweden, this would for 
>> example include "\(at)£${[]}~|"). Which would help people a lot.
>> >  
>> >
>> 
>> Yes we should, at least for Windows - put it in share along 
>> with other samples, maybe.
>
> That was my second question on that - where to put it, and how to find it.

IMHO an elegant solution would be to expose readline's macro/bind
mechanism with a psql command, e.g. like bash's "bind" does. This way
one could put the macros into the system-wide psqlrc.

regards,
Andreas

In response to

pgsql-hackers by date

Next:From: Doug RoyerDate: 2006-01-02 15:55:47
Subject: Re: EINTR error in SunOS
Previous:From: Magnus HaganderDate: 2006-01-02 09:08:47
Subject: Re: psql & readline & win32

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group