Re: [GENERAL] psql history on OSX terminal

2013-05-09 Thread Brett Haydon
Turns out it was an errant line in a my psqlrc file that customised the prompt.. doh. Thanks anyway. On 10/05/2013, at 1:17 PM, Tom Lane wrote: > Brett Haydon writes: >> On OSX terminal, when I try and access psql history the historical line is >> only partially visible sometimes mixed with

Re: [GENERAL] psql history on OSX terminal

2013-05-09 Thread Tom Lane
Brett Haydon writes: > On OSX terminal, when I try and access psql history the historical line is > only partially visible sometimes mixed with the last line executed, and the > start position of the cursor moves about 15-20 chars in. The line still > executes correctly, but it's driving me nut

Re: [GENERAL] psql history on OSX terminal

2013-05-09 Thread Andrew Satori
While I am not all *that* familiar with the Heroku version, it looks a bit like they are are linking against libreadline instead of libedit in order to maximize platform compatability with older revisions of OS X (10.6.x). Short of rebuilding against libedit on 10.8 I don't know that you have a

Re: [GENERAL] psql history on OSX terminal

2013-05-09 Thread Brett Haydon
Using the Heroku PostresApp (9.2.2) /Applications/Postgres.app/Contents/MacOS/bin/psql OSX 10.8 default bash shell This is kinda what I end up with (one line after the other and the cursor in the middle) though using the down arrow key can add extra lines in completely messing up the line altog

Re: [GENERAL] psql history on OSX terminal

2013-05-09 Thread Andrew Satori
Several, but most depend upon how you installed. In several of the installation methods (binary) the default terminal management routine has some issues (version linked to), but there are several other possible interactions. Which way did you install? which shell are you using in terminal? wh

[GENERAL] psql history on OSX terminal

2013-05-09 Thread Brett Haydon
On OSX terminal, when I try and access psql history the historical line is only partially visible sometimes mixed with the last line executed, and the start position of the cursor moves about 15-20 chars in. The line still executes correctly, but it's driving me nuts. Google was not my friend. A