Re: psql history on OSX terminal

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: psql history on OSX terminal
Дата
Msg-id 21430.1368155833@sss.pgh.pa.us
обсуждение исходный текст
Ответ на psql history on OSX terminal  (Brett Haydon <brett@haydon.id.au>)
Ответы Re: psql history on OSX terminal  (Brett Haydon <brett@haydon.id.au>)
Список pgsql-general
Brett Haydon <brett@haydon.id.au> writes:
> On OSX terminal, when I try and access psql history the historical line is only partially visible sometimes mixed
withthe 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. Any ideas? 

What that sounds like is that you're running psql with the wrong value
of the TERM environment variable, so that it's guessing wrong about what
control characters to send for terminal cursor positioning.  Try
"echo $TERM" and see what you get.  On my Mac laptop, it seems to
default to "xterm" and I get good results from that.

            regards, tom lane


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

Предыдущее
От: Andrew Satori
Дата:
Сообщение: Re: psql history on OSX terminal
Следующее
От: Brett Haydon
Дата:
Сообщение: Re: psql history on OSX terminal