X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.0 required=5.0 tests=BAYES_00,DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: sourceware.org Message-ID: <22290354.post@talk.nabble.com> Date: Mon, 2 Mar 2009 07:35:08 -0800 (PST) From: eval To: cygwin AT cygwin DOT com Subject: Re: SSH/SCREEN/REATTACH bug In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <20090216095714 DOT 203590 AT gmx DOT net> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hello Andrew I just did a quick test so far but it doesn't seem to work correctly. The behaviour changed to the following: I open a screen session - and disconnect (not detach!) from the ssh session. I come back with screen -DRR and I get my old screen. That's *good* and how I want it. However if I start a program within the screen "i.e. ping something forever" I don't get the session back that way. Instead the old session will look "dead" and a new screen will open :( Thx for trying tho. eval. Andrew Schulman-3 wrote: > >> screen hangs when attempting to reattach to a session that wasn't >> manually detached but instead the ssh connection to the server where >> screen is running was closed. >> >> i can neither >> screen -list >> nor >> screen -D -RR >> >> to get back into the session. for both calls screen will wait forever but >> nothing will happen. >> strace screen -list will stop here: >> 329 136923 [main] screen 137852 fhandler_socket::af_local_send_secret: >> Sending af_local secret succeeded > > eval, I've packaged a new test release of screen for Cygwin 1.7. This > version > uses fifos instead of pipes. It's possible that this change may fix the > problem > you reported. > > If you want to test it, here's what you'll have to do: > > (1) Install the latest Cygwin DLL snapshot into your Cygwin 1.7 > installation. > You can download it from > http://cygwin.com/snapshots/cygwin1-20090226.dll.bz2, > or from the Cygwin snapshot page, http://cygwin.com/snapshots. You need > the > 2009-02-26 snapshot or later. Once you have that, close all of your > Cygwin 1.7 > processes, go to the bin directory of your 1.7 installation, move > cygwin1.dll > out of the way, unpack the archive, and rename e.g. cygwin1-20090226.dll > to > cygwin1.dll. > > (2) Get and unpack the test screen installation: > > wget > http://home.comcast.net/~andrex2/cygwin-1.7/screen/screen-4.0.3-4.tar.bz2 > tar -C/ -jxf screen-4.0.3-4.tar.bz2 > > Now relogin via ssh and see if your problem still occurs. Good luck, and > let us > know how it goes. > > Andrew. > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > > -- View this message in context: http://www.nabble.com/SSH-SCREEN-REATTACH-bug-tp22034385p22290354.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/