Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 From: "linda w \(cyg\)" To: 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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/