This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

readline messing with SA_RESTART for SIGWINCH


If you set rl_catch_sigwinch to 0 in scm_init_readline, the problem with the readline library turning off SA_RESTART for SIGWINCH goes away.  But then the readline library doesn't handle a SIGWINCH
either. :(

You can set rl_pre_input_hook to a function that does siginterrupt(SIGWINCH, 0) or uses sigaction to set SA_RESTART.  This provides a fix and lets readline handle SIGWINCH.

Of course, the right thing is to fix readline!

-Dale
-- 
Dale P. Smith
Altus Technologies Corp.
dsmith@altustech.com
400-746-9000 x309

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]