delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/18/21:04:20

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
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "linda w \(cyg\)" <cygwin AT tlinx DOT org>
To: <cygwin AT cygwin DOT com>
Subject: x-display setting -> ssh problem
Date: Wed, 18 Dec 2002 18:01:31 -0800
Message-ID: <000301c2a702$8cb15400$1403a8c0@sc.tlinx.org>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Importance: Normal

I seem to have run into a problem.

I have been trying to chase down a case where when I use
'ssh' from bash from cygwin (98 or XP), when I was pressing
control-c, I lost the ssh session and ended back up at the local
cygwin prompt.  It's as if though the ssh session didn't trap the
control-c.

Now this didn't always happen -- so I backtracked.  It seems to
boil down to whether or not I set 'DISPLAY' in my user ".profile"
file.

I have various initializations that I want done for all users in
/etc/local/...scripts...

so my .profile only has:
# bash script
umask 007
export DISPLAY=localhost:0
---
	narrowed it down to manually setting DISPLAY, ssh, control-c -> kills
ssh session, but if display isn't set, it works fine.  

Any ideas why DISPLAY would cause ssh to not correctly process control-c's?

Thanks,
-linda



--
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