|
|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Vlad Gnatov 2:5020/400 04 Jun 2007 21:53:58 To : Eugene Grosbein Subject : Re: vicq & 6.2 -------------------------------------------------------------------------------- Eugene Grosbein пишет: EG> Hапоролся на проблему, описанную тут: EG> http://groups.google.com/group/fido7.ru.unix.bsd/msg/58ba1cd22cead8c5 EG> URL на решение, который там есть, сейчас битый. Учитезь пользоваться гуглом: Perl 5.8 has this wonderful thing called "safe interrupts", which essentially defers them. So the "alarm" that's supposed to interrupt the readline was deferred until AFTER the readline. Beautiful, no? The fix is to: add use POSIX ':signal_h'; change the two instances of $SIG{ALRM} = \&tick_handler to sigaction SIGALRM, new POSIX::SigAction \&tick_handler; EG> Hа 6.2-STABLE с perl 5.8.8 vicq из портов не выводит ничего после EG> 'Using GNU readline', пока enter не нажмешь (и потом тоже). EG> Как полечить? -- Отправлено через сервер Форумы@mail.ru - http://talk.mail.ru --- ifmail v.2.15dev5.3 * Origin: Talk.ru (2:5020/400) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/6488bc1d37b5.html, оценка из 5, голосов 10
|