Re: Tab completion regression test failed on illumos

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: Tab completion regression test failed on illumos
Дата
Msg-id CA+hUKGKA8ZTZzudCwjRGWXrtMmTfoBDSxO-OwG2_62n+JvT4-Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Tab completion regression test failed on illumos  (Thomas Munro <thomas.munro@gmail.com>)
Ответы Re: Tab completion regression test failed on illumos  (Japin Li <japinli@hotmail.com>)
Список pgsql-hackers
On Fri, Nov 3, 2023 at 2:22 PM Thomas Munro <thomas.munro@gmail.com> wrote:
> On Fri, Nov 3, 2023 at 3:42 AM Japin Li <japinli@hotmail.com> wrote:
> > I think this might be a bug comes from Illumos pseudo-tty. I can reproduce
> > this by using pseudo-tty on Illumos.
>
> I don't know but my guess is that this has to do with termios defaults
> being different.  From a quick look at 'man termios', perhaps TABDLY
> is set to expand tabs to spaces?  Can you fix it by tweaking the flags
> in src/common/sprompt.c?

Argh, sorry that's completely the wrong end.  I suppose that sort of
thing would have to happen in IPC::Run.  I wonder what would happen if
IPC::Run called  ->set_raw() on the IO::Pty object it constructs, or
failing that, if IO::Stty can be used to mess with the relevant
settings.



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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: Possible typo in nodeAgg.c
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: A recent message added to pg_upgade