Re: psql & readline & win32

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: psql & readline & win32
Дата
Msg-id 200602131712.k1DHCVH23738@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: psql & readline & win32  ("Magnus Hagander" <mha@sollentuna.net>)
Ответы Re: psql & readline & win32  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Magnus Hagander wrote:
> > Would the easiest solution be to make a patch to readline for 
> > Win32, and only allow Win32 to link to readline if that patch 
> > is in readline, and spit out a compile error if readline 
> > doesn't have that patch.
> 
> What would we patch it with? I don't think anybody has found a problem
> there, this is a separate file that you ship along with it.

Well, the problem is that it handles backslash incorrectly.  We could
patch that in the readline source rather than playing with a
configuaration file.

> > As far as the license, psql spits out a copyright notice as 
> > it starts. 
> > It would be a shame to have to mention GPL in there.
> 
> Even that may not be enough. This is the GPL we're talking about.

At that point, psql becomes GPL, no question.

> > Can we get any companies to fund a port of libedit to Win32?  
> 
> That would be nice. Takers?
> 
> 
> > What does readline have that Win32 native editing does not?
> 
> tab completion, for one. Some editing keys, IIRC. I thought history, but
> it does seem we have history workign on native :)

I think what we don't have is saving history between psql uses.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: FW: PGBuildfarm member snake Branch HEAD Status changed
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Use cases