| delorie.com/archives/browse.cgi | search |
| 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 |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| X-MimeOLE: | Produced By Microsoft Exchange V6.0.4712.0 |
| content-class: | urn:content-classes:message |
| MIME-Version: | 1.0 |
| Subject: | RE: Rsh with wish application. |
| Date: | Thu, 3 Jan 2002 13:53:06 +0200 |
| 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" <Sami DOT Tikka AT F-Secure DOT com> |
| To: | "cygwin" <cygwin AT cygwin DOT com> |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id g03BrQ226504 |
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.
--
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 AT PDF DOT 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |