#1 xterm resize delay fix

v2.9.6
closed
nobody
5
2001-10-24
2001-04-19
No

Hello,

After an xterm resize, joe waits up to one second on
glibc-systems (with BSD signal handling I believe...)
before resizing its contents. The reason for this is
that joe issues an alarm(1) and then enters a pause()
and this pause() call is not interrupted by the WINCH
signal by default. The solution is simply to execute a
siginterrupt(SIGWINCH,1) call right after installing
the winch handler. See the attached patch file, using
this joe will always immediately refresh its contents
after resizing the terminal.

best regards
egmont

Discussion

  • Marek Grac

    Marek Grac - 2001-04-25

    Logged In: YES
    user_id=134000

    OK, I usually don't use X Windows system so I really don't
    know about this :( but I will include your patch in next
    version (2.9.7)

    marx

     
  • Vitezslav Samel

    Vitezslav Samel - 2001-10-24
    • status: open --> closed
     

Log in to post a comment.