From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7286 invoked by alias); 3 Jan 2002 11:53:14 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Received: (qmail 7259 invoked from network); 3 Jan 2002 11:53:13 -0000 Received: from unknown (HELO dfmail.f-secure.com) (194.252.6.39) by sources.redhat.com with SMTP; 3 Jan 2002 11:53:13 -0000 Received: (qmail 7166 invoked by uid 0); 3 Jan 2002 11:53:11 -0000 Received: from unknown (HELO fsav4im2) (10.128.128.74) by dfmail.f-secure.com with SMTP; 3 Jan 2002 11:53:11 -0000 Received: from [10.128.128.81]:49928 (HELO dfintra.f-secure.com) by fsav4im2 ([10.128.128.74]:25) (F-Secure Anti-Virus for Internet Mail 6.0.34 Release) with SMTP; Thu, 3 Jan 2002 11:56:15 -0000 Received: (qmail 29617 invoked from network); 3 Jan 2002 11:53:06 -0000 Received: from unknown (HELO fsfimail1.fi.f-secure.com) (10.128.128.19) by dfintra.f-secure.com with SMTP; 3 Jan 2002 11:53:06 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Rsh with wish application. Date: Thu, 03 Jan 2002 03:53:00 -0000 Message-ID: <30B026EA81B98D4082E2FD73B14CB8122008B9@fsfimail1.FI.F-Secure.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Rsh with wish application. Thread-Index: AcGTs6X/5fisGs7BRfOxa0mKLHK+UQAmO3eQ From: "Tikka, Sami" To: "cygwin" X-SW-Source: 2002-01/txt/msg00076.txt.bz2 This is just a guess, but on real Unix systems an error like yours usually occurs because in the first case the remote system is running a login shell for you and in the second case the shell is not a login shell. Perhaps the proper execution of tclsh or your script depends on some initialization that is only done if the shell is a login shell. Perhaps some environment variable gets set in /etc/profile and bash only runs that for login shells. Check 'man bash' for startup differences for login and non-login shells. --=20 Sami Tikka tel: +358 9 2520 5115 Senior Software Engineer fax: +358 9 2520 5015 F-Secure Corporation http://www.F-Secure.com/ F-Secure: Securing the Mobile Enterprise -----Original Message----- From: Kalpesh Dave [mailto:kalpeshd@PDF.COM] Sent: Wednesday, January 02, 2002 7:31 PM To: cygwin Subject: Rsh with wish application. I am trying to run wish application ( e.g. tclsh82.exe trial.tcl ) with rsh command from remote computer to computer xyz. It works okay, if I do the following sequence. 1) rsh xyz , 2) give the password 3) tclsh82.exe trial.tcl It hangs up if I try the following command. rsh xyz tclsh82.exe trial.tcl Also to make a point, both the above commands work if there are tcl commands ( except for calling wish application ). So, It must have to do something related to RSH with wish application. Let me know if anyone can help me, Thanks, Kalpesh -- 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/