public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: Rsh with wish application.
@ 2002-01-03  3:53 Tikka, Sami
  0 siblings, 0 replies; 2+ messages in thread
From: Tikka, Sami @ 2002-01-03  3:53 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Rsh with wish application.
@ 2002-01-02  9:31 Kalpesh Dave
  0 siblings, 0 replies; 2+ messages in thread
From: Kalpesh Dave @ 2002-01-02  9:31 UTC (permalink / raw)
  To: cygwin

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-01-03 11:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-03  3:53 Rsh with wish application Tikka, Sami
  -- strict thread matches above, loose matches on Subject: below --
2002-01-02  9:31 Kalpesh Dave

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).