This is the mail archive of the
cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: ^Z can't suspend less in the tty mode
>>> On Tue, 9 May 2000 10:41:59 +0100
>>> "Fifer, Eric" <EFifer@sanwaint.com> said:
> What is happening is that when SIGTSTP is caught the signal
> handler does a longjmp(). And, when the thread restarts at the
> setjmp() the signal mask is not restored.
I can understand what is the problem. less wants setjmp() and
longjmp() to do more than what they can do in Cygwin.
> This is a patch against
> less-354 (from http://home.flash.net/~marknu/less/ ) which fixes
> the problem:
Your patch is also applicable to many older versions.
____
| AIST Kazuhiro Fujieda <fujieda@jaist.ac.jp>
| HOKURIKU School of Information Science
o_/ 1990 Japan Advanced Institute of Science and Technology