X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 	tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Andrew Schulman <schulman.andrew@epamail.epa.gov>
Subject:  Re: 'screen' does not completely startup
Date:  Wed, 13 Jan 2010 20:08:23 -0500
Lines: 58
Message-ID:  <68rsk59piaqhpi89fjes15d01r0g0t46pb@4ax.com>
References:  <20100107175617.D338.E57E4DAE@nmia.com> <a5urk5t3dviut4t7r03c0nad5sauomit5u@4ax.com> <20100113173439.3F04.E57E4DAE@nmia.com>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
Content-Transfer-Encoding:  7bit
X-Archive: encrypt
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

> > I just built a new screen package that uses libncurses10 instead of
> > libncurses9.  Please try it out and see if it makes a difference.
> > 
> > (1) In setup, make sure that crypt, libgcc1, and libncurses10 are
> > installed.
> > 
> > (2) Kill any running screen sessions.
> > 
> > (3) Run
> > 
> > wget \
> >  http://home.comcast.net/~andrex2/cygwin/screen/screen-4.0.3-5.tar.bz2
> > tar -C/ -xf screen-4.0.3-5.tar.bz2
> > 
> > Then run screen and let us know what happens.
> 
> Completed these steps.  Even rebooted before running screen.  No changes. 
> I confirmed the requested files were installed.

OK.

> I have attached the output from env from two shortcuts.  The one that
> works running the bash shortcut created with install, and the shortcut
> running rxvt.  Perhaps you can see something which can be tried.

Thanks, that's helpful.

$ diff -U 0 env-*
--- env-bash.txt        2010-01-13 19:58:53.000000000 -0500
+++ env-rxvt.txt        2010-01-13 19:58:53.000000000 -0500
@@ -6 +6 @@
-TERM=cygwin
+TERM=rxvt-cygwin-native
@@ -8,0 +9 @@
+WINDOWID=13125088
@@ -27 +28 @@
-__COMPAT_LAYER=RunAsAdmin
+__COMPAT_LAYER=WinXPSp3 RunAsAdmin
@@ -35 +35,0 @@
-!C:=C:\cygwin\bin
@@ -37,0 +38 @@
+COLORFGBG=0;default;15
@@ -41 +41,0 @@
-PROMPT=$P$G
@@ -49,0 +50 @@
+DISPLAY=:0
@@ -51,0 +53 @@
+COLORTERM=rxvt-xpm

The obvious culprit here would be TERM.  Is TERM=rxvt-cygwin-native standard for
rxvt?

Has anyone else using rxvt observed this problem with screen?

I think it's probably time to use strace.  When my brain is working again
tomorrow I'll suggest how to go about it.

A.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

