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 From: Chris Faylor Date: Tue, 9 May 2000 08:51:05 -0400 To: cygwin-developers AT sourceware DOT cygnus DOT com Subject: Re: ^Z can't suspend less in the tty mode Message-ID: <20000509085105.C5806@cygnus.com> Reply-To: cygwin-developers AT sourceware DOT cygnus DOT com Mail-Followup-To: cgf AT cygnus DOT com, cygwin-developers AT sourceware DOT cygnus DOT com References: <779F20BCCE5AD31186A50008C75D9979171722 AT silldn_mail1 DOT sanwaint DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.1.12i In-Reply-To: ; from fujieda@jaist.ac.jp on Tue, May 09, 2000 at 09:13:29PM +0900 On Tue, May 09, 2000 at 09:13:29PM +0900, Kazuhiro Fujieda wrote: >>>> 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. Yes. At some point we should implement a sigsetjmp and siglongjmp. cgf