Re: psql/readline clears screen

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: psql/readline clears screen
Дата
Msg-id 20060809131255.GK22329@svana.org
обсуждение исходный текст
Ответ на psql/readline clears screen  ("Merlin Moncure" <mmoncure@gmail.com>)
Список pgsql-general
On Wed, Aug 09, 2006 at 09:02:55AM -0400, Merlin Moncure wrote:
> is there a way to configure psql/readline so that it doesn't clear the
> screen after browsing a query with 'q'?

You don't say the OS, but you may be seeing the effects of less working
on a terminal with a seperate interactive screen (for example xterm).
What's happening is that when less exits, it switches back to the main
screen, thus hiding what you were just looking at.

From reading the manpage, setting the pager to "less -X" should solve
this problem.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Вложения

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

Предыдущее
От: "Merlin Moncure"
Дата:
Сообщение: psql/readline clears screen
Следующее
От: AgentM
Дата:
Сообщение: Re: psql/readline clears screen