Re: patch to add \watch to psql

From: "Dickson S(dot) Guedes" <listas(at)guedesoft(dot)net>
To: Will Leinweber <will(at)heroku(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Daniel Farina <daniel(at)heroku(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>, Abhijit Menon-Sen <ams(at)2ndquadrant(dot)com>
Subject: Re: patch to add \watch to psql
Date: 2013-04-04 00:27:27
Message-ID: CAHHcreobBmiROVmS3pXM4AQEXdfLnjN09JU-+_RAO4QFOZB+=g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2013/4/3 Will Leinweber <will(at)heroku(dot)com>:
> Here is an updated patch that addresses several of the points brought up so
> far, such as the sleep, internationalization banner, and zero wait check,
> and it removes the premature input check.
>
> Unfortunately rl_clear_screen() is not included at all in libedit, causing
> compilation to fail, and I was completely unable to find a way to
> distinguish libedit from readline on OS X. It tries extraordinarily hard to
> pretend that it's readline. Instead falling back to simple control
> characters to clear the screen worked very well on both linux and OS X.

I don't have access to an OSX box ATM but term_clear_screen(), in
libedit, didn't help?

--
Dickson S. Guedes
mail/xmpp: guedes(at)guedesoft(dot)net - skype: guediz
http://github.com/guedes - http://guedesoft.net
http://www.postgresql.org.br

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2013-04-04 00:28:32 Re: corrupt pages detected by enabling checksums
Previous Message Tom Lane 2013-04-04 00:18:03 Re: spoonbill vs. -HEAD