zsh-workers
 help / color / mirror / code / Atom feed
From: Zoltan Hidvegi  <hzoli@cs.elte.hu>
To: carlos@snfep1.if.usp.br (Carlos Carvalho)
Cc: zsh-workers@math.gatech.edu (zsh-workers)
Subject: Re: behaviour with rsh
Date: Tue, 10 Oct 1995 19:05:37 +0100 (MET)	[thread overview]
Message-ID: <199510101805.TAA00727@bolyai.cs.elte.hu> (raw)
In-Reply-To: <199510101652.NAA06725@snfep1.if.usp.br> from "Carlos Carvalho" at Oct 10, 95 01:52:47 pm

Carlos Carvalho wrote:
> 
> Hi folks,
> 
> This is with 2.6-beta10-hzoli10.3 on linux.
> 
> I used this command to open windows on other machines (line break for
> readability):
> 
> rsh -n <target machine> -- exec /usr/local/X11R5/bin/xterm
> -d <my machine>$DISPLAY -ls -T $1 '<&- >&- 2>&-'
> 
> The idea is to close the file descriptors so that rsh exits. In old
> releases this command leaves absolutely no processes in the <my
> machine>, and in the <target machine> the only ones are xterm and zsh.
> 
> With the above release the rsh now remains, and if I kill it the
> window of the <target machine> is closed. How can I get the old
> behaviour back?

It works for me.  I did an rsh from a Solaris-2.4 box to a linux-1.2.13
(Slackware-elf-beta), and the rsh command retured immediately, and there were
no processes left in either side except the xterm.  I did

% rsh -n bolyai 'exec xterm -d :0 <&- >&- 2>&-'

But it worked without the -n as well.

zsh version on the Solaris box is beta11-test7-hzoli11, and on the target (the
Linux machine) it is beta10-hzoli10.3.

I also tried rsh from one Linux to an other and it also worked.

Zoltan


  reply	other threads:[~1995-10-10 18:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-10-10 16:52 Carlos Carvalho
1995-10-10 18:05 ` Zoltan Hidvegi [this message]
1995-10-10 20:00 Heading, Anthony
1995-10-10 20:02 ` Zoltan Hidvegi
1995-10-10 22:11   ` Carlos Carvalho
     [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
     [not found] <carlos@snfep1.if.usp.br>
1995-10-17 22:32 ` Brian Dockter
1995-10-18 16:12 Duncan Sinclair

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=199510101805.TAA00727@bolyai.cs.elte.hu \
    --to=hzoli@cs.elte.hu \
    --cc=carlos@snfep1.if.usp.br \
    --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).