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
|
| Список | 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 по дате отправления: