Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com To: cygwin-developers AT sourceware DOT cygnus DOT com Subject: Re: ^Z can't suspend less in the tty mode References: <779F20BCCE5AD31186A50008C75D9979171722 AT silldn_mail1 DOT sanwaint DOT com> Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII From: Kazuhiro Fujieda Date: 09 May 2000 21:13:29 +0900 In-Reply-To: "Fifer, Eric"'s message of Tue, 9 May 2000 10:41:59 +0100 Message-ID: Lines: 19 X-Mailer: Gnus v5.3/Emacs 19.34 >>> On Tue, 9 May 2000 10:41:59 +0100 >>> "Fifer, Eric" 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 | HOKURIKU School of Information Science o_/ 1990 Japan Advanced Institute of Science and Technology