Re: patch to add \watch to psql
Dickson S. Guedes <listas@guedesoft.net>
From: "Dickson S. Guedes" <listas@guedesoft.net>
To: Will Leinweber <will@heroku.com>
Cc: Peter Eisentraut <peter_e@gmx.net>, Tom Lane <tgl@sss.pgh.pa.us>, Daniel Farina <daniel@heroku.com>, Pg Hackers <pgsql-hackers@postgresql.org>, Abhijit Menon-Sen <ams@2ndquadrant.com>
Date: 2013-04-04T00:27:27Z
Lists: pgsql-hackers
2013/4/3 Will Leinweber <will@heroku.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@guedesoft.net - skype: guediz http://github.com/guedes - http://guedesoft.net http://www.postgresql.org.br