Re: psql & readline & win32

Поиск
Список
Период
Сортировка
От Andreas Seltenreich
Тема Re: psql & readline & win32
Дата
Msg-id 87oe2vnfdg.fsf@gate450.dyndns.org
обсуждение исходный текст
Ответ на Re: psql & readline & win32  ("Magnus Hagander" <mha@sollentuna.net>)
Список 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 "\@£${[]}~|"). 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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Re: psql & readline & win32
Следующее
От: Doug Royer
Дата:
Сообщение: Re: EINTR error in SunOS