Re: Question about Ctrl-C and less

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Question about Ctrl-C and less
Дата
Msg-id 9558.1129488281@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Question about Ctrl-C and less  (Martijn van Oosterhout <kleptog@svana.org>)
Ответы Re: Question about Ctrl-C and less  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-hackers
Martijn van Oosterhout <kleptog@svana.org> writes:
> This problem has been around for ever yet obviously not everybody runs
> into it all the time like I do. Would patch to fix this be accepted or
> is there a reason why not?

I guess everybody else uses "q" not control-C to get out of less ;-)

I'm not sure I agree with the concept of blocking SIGINT in this context
--- you would not, I trust, propose blocking SIGQUIT or SIGHUP, but then
why is it ok to block SIGINT?

AFAICT it wouldn't fix the problem anyway, as there's still a bug in
less: it doesn't restore the terminal settings on exit.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: slow IN() clause for many cases
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Question about Ctrl-C and less