www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/05/09/07:12:55

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
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)
From: Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp>
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: <s1sem7byl92.fsf@jaist.ac.jp>
Lines: 19
X-Mailer: Gnus v5.3/Emacs 19.34

>>> On Tue, 9 May 2000 10:41:59 +0100 
>>> "Fifer, Eric" <EFifer AT sanwaint DOT 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 AT jaist DOT ac DOT jp>
  | HOKURIKU  School of Information Science
o_/ 1990      Japan Advanced Institute of Science and Technology

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019