zsh-workers
 help / color / mirror / code / Atom feed
From: Brian Dockter <brian@nds.com>
To: zsh-workers@math.gatech.edu
Subject: Re: behaviour with rsh
Date: Tue, 17 Oct 1995 15:32:59 -0700	[thread overview]
Message-ID: <95Oct17.153300pdt.176936@rainier.nds.com> (raw)
In-Reply-To: Carlos Carvalho <carlos@snfep1.if.usp.br> "Re: behaviour with rsh" (Oct 17,  2:37pm)

On Oct 17,  2:37pm, Carlos Carvalho wrote:
> Subject: Re: behaviour with rsh
> Zoltan Hidvegi (hzoli@cs.elte.hu) wrote on 17 October 1995 22:14:
> 
>  >> 
>  >> Zoltan wrote:
>  >> >I think this is not zsh specific.
>  >> 
>  >> I think it is.  zsh ought to be able to hide a child in a way which allows
>  >> the rsh to exit.  Maybe other shells are broken too. But so what? Also I
>  >> think, as Carlos says, that it used to work.
>  >> 
>  >> Running  rsh blaa "sh -c whatsit &"  is a horrible hack, and shouldn't be
>  >> necessary.
>  >
>  >I've just made zsh my login shell in the yp database, and tested
>  >this problem.
>  >
>  >rsh foo 'xterm -display bar:0 >&- 2>&- <&-'
>  >
>  >returned the prompt in almost all cases.  The only exception is when I rsh'd
>  >to an Ultrix machine, but only when the originating machine was not Linux.
> 
> I tested from linux to a sun 4.1.2 and it doesn't return. From the sun
> to linux it works fine, both with hzoli10.3.


I too have recently run across this problem. I have run the following
command under csh (SunOS and SCO) and zsh 2.3.1 (SunOS) for quite a
while (years) but it doesn't work under zsh 2.6-beta10 (SunOS):


    rsh -n host "env FOO=$BAR /bin/somecmd </dev/null >& /dev/null &"


Under csh and zsh 2.3.1 it returned immediately. Under zsh 2.6-beta10 it
doesn't return until the program exits (this was from SunOS 4.1.3 to
SunOS 4.1.3).



Brian

-- 
Brian Dockter   (KC7JZL)         | Email: brian@nds.com
Sr. Software Engineer            | Voice: 206-524-0014
Northwest Digital Systems        | FAX: 206-524-3440


       reply	other threads:[~1995-10-17 22:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <carlos@snfep1.if.usp.br>
1995-10-17 22:32 ` Brian Dockter [this message]
1995-10-18 16:12 Duncan Sinclair
     [not found] <n1398738459.61633@smtpgwprod.ny.jpmorgan.com>
     [not found] ` <199510172115.WAA28754@bolyai.cs.elte.hu>
1995-10-17 21:37   ` Carlos Carvalho
1995-10-17 21:33     ` Richard Coleman
1995-10-17 21:38     ` Zoltan Hidvegi
  -- strict thread matches above, loose matches on Subject: below --
1995-10-10 20:00 Heading, Anthony
1995-10-10 20:02 ` Zoltan Hidvegi
1995-10-10 22:11   ` Carlos Carvalho
1995-10-10 16:52 Carlos Carvalho
1995-10-10 18:05 ` Zoltan Hidvegi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=95Oct17.153300pdt.176936@rainier.nds.com \
    --to=brian@nds.com \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).