Re: Proposed patch - psql wraps at window width

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Proposed patch - psql wraps at window width
Дата
Msg-id 9886.1209076691@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Proposed patch - psql wraps at window width  (Gregory Stark <stark@enterprisedb.com>)
Ответы Re: Proposed patch - psql wraps at window width  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-hackers
Gregory Stark <stark@enterprisedb.com> writes:
> "Alvaro Herrera" <alvherre@commandprompt.com> writes:
>> On what platforms does ioctl() fail?

> On ssh for example.

That'd certainly be a showstopper if true, but it seems to be okay for
me.  ssh'ing from an xterm window, and running psql on the remote side,
I can see with gdb that ioctl(TIOCGWINSZ) succeeds and gives a result
that correctly tracks window resizes --- indeed there are several bits
of psql that I'd never have committed if they didn't work in this
environment, because it's been my everyday work environment for years.

Maybe you are used to an ancient ssh version?
        regards, tom lane


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

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: Proposed patch - psql wraps at window width
Следующее
От: Robert Treat
Дата:
Сообщение: Re: MERGE Specification