zsh-workers
 help / color / mirror / code / Atom feed
From: Duncan Sinclair <sinclair@dis.strath.ac.uk>
To: zsh-workers@math.gatech.edu
Cc: Carlos Carvalho <carlos@snfep1.if.usp.br>
Subject: Re: behaviour with rsh
Date: Wed, 18 Oct 1995 17:12:30 +0100	[thread overview]
Message-ID: <16729.814032750@dis.strath.ac.uk> (raw)
In-Reply-To: Your message of "Tue, 17 Oct 1995 19:37:31 -0200."


Carlos Carvalho writes:
>
>Before zsh used to close file descriptors until 10. It was a hidden
>compile option. Why was it removed? I remember Duncan changed it a
>long time ago, but didn't suppress it, I think.
>

I can't remember my exact involvement in this, but the behaviour
of rsh and various shells is one area where I have too much
knowledge, and probably too strong opinions.

<PLUG>
Of course, the *complete* solution to this problem is to use
my "rxx" program, available from 
   ftp://ftp.dis.strath.ac.uk/pub/sinclair/rxx-4.2.2.tar.gz
</PLUG>

Now, my particular feeling was that although the "close fds 3-10"
solution fixes the problem, it is not an ideal solution in the
case when you happen to want to pass a file descriptor to zsh.
(This must have been my ammendment - the if test to see if it
is a "zsh -c" command.)

Ideally, what we want is a test to see if we are running under
rsh, and then do the close-fds.  I remember promising such a
while ago, but never got round to it.  I'll think more about it
this week.

More vague recollections on demand,


Duncan.


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

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-10-18 16:12 Duncan Sinclair [this message]
     [not found] <carlos@snfep1.if.usp.br>
1995-10-17 22:32 ` Brian Dockter
     [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=16729.814032750@dis.strath.ac.uk \
    --to=sinclair@dis.strath.ac.uk \
    --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).