delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/07/15:24:26

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 7 Jan 2002 21:23:53 +0100
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: Who is supposed to set SIGURG for OOB in rlogin/tcp/rcmd??
Message-ID: <20020107212353.J1242@cygbert.vinschen.de>
Mail-Followup-To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
References: <20020105222903 DOT T27340 AT cygbert DOT vinschen DOT de> <200201071733 DOT g07HXZd19334 AT mail DOT redhat DOT com>
Mime-Version: 1.0
In-Reply-To: <200201071733.g07HXZd19334@mail.redhat.com>
User-Agent: Mutt/1.3.22.1i

On Mon, Jan 07, 2002 at 10:32:41AM -0700, Mark Paulus wrote:
> Would you like some help, or what kind of patch are you
> looking for? 

A patch to Cygwin to allow OOB signal handling and async-IO handling
even on blocking sockets.  Winsock only supports async-IO on non-
blocking sockets.

Corinna

> 
> On Sat, 5 Jan 2002 22:29:03 +0100, Corinna Vinschen wrote:
> 
> >On Thu, Jan 03, 2002 at 02:47:17PM -0700, Mark Paulus wrote:
> >> Hi,
> >> 
> >> I am using rlogin to talk to a sun box, and have noticed that my rows &
> >> columns are not being set, so I'm not getting good terminal 
> >> characteristics.  After digging down into the rlogin code (and cross
> >> comparing with some debian/linux code), it seems as though someone
> >> is not passing the SIGURG (Urgent Out Of Band data) signal back
> >> to rlogin, and so rlogin does not know that it needs to send the 
> >> terminal characteristics back to the remote session.
> >> 
> >> My question is, who is supposed to be passing on the SIGUSR
> >> signal?  rlogin is setting the appropriate handler, but it is never
> >> being called.
> >
> >SIGURG is sort of a problem for Cygwin due to the way Winsock
> >handles messages.  In contrast to SIGURG on U*X systems, which
> >is sent always when OOB messages arrive, the corresponding Winsock
> >FD_OOB message is only generated when async IO is used (as is on
> >U*X sytems with SIGIO).  Unfortunately, using async IO on sockets
> >has some unwanted side-effects.  I began to implement something
> >appropriate but my current solution breaks ssh so that's not going
> >to help very much.
> >
> >The current Cygwin doesn't handle SIGURG at all and unless I can
> >find a practical workaround for my async IO problem or unless
> >somebody else contributes a patch this stae will not change that
> >quickly.
> >
> >Corinna
> >
> >-- 
> >Corinna Vinschen                  Please, send mails regarding Cygwin to
> >Cygwin Developer                                mailto:cygwin AT cygwin DOT com
> >Red Hat, Inc.
> >
> >--
> >Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> >Bug reporting:         http://cygwin.com/bugs.html
> >Documentation:         http://cygwin.com/docs.html
> >FAQ:                   http://cygwin.com/faq/
> 
> 
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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