zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@ifh.de>
To: zsh-workers@math.gatech.edu (Zsh hackers list),
	sylvain@nasirc.hq.nasa.gov (Greg Sylvain)
Subject: Re: why "stty: TCGETS: Operation not supported on socket" ????
Date: Mon, 25 Nov 1996 18:00:45 +0100	[thread overview]
Message-ID: <199611251700.SAA09214@hydra.ifh.de> (raw)
In-Reply-To: "Greg Sylvain"'s message of "Mon, 25 Nov 1996 10:35:40 MET." <199611251535.KAA26695@nasirc.hq.nasa.gov>

> 	Does anyone know why I would be getting the above error messages 
> from zsh. 

Zsh doesn't care what SHTTY is in the environment of.  How about this?
Unfortunately I have a vague memory there are recalcitrant shtty's
which don't operate on stdin, but this should catch most problems.

*** Src/exec.c~	Mon Nov 25 09:16:25 1996
--- Src/exec.c	Mon Nov 25 17:54:55 1996
***************
*** 255,261 ****
      /* If the parameter STTY is set in the command's environment, *
       * we first run the stty command with the value of this       *
       * parameter as it arguments.                                 */
!     if (!exargs && (s = zgetenv("STTY"))) {
  	char *t;
  
  	exargs = args;	/* this prevents infinite recursion */
--- 255,261 ----
      /* If the parameter STTY is set in the command's environment, *
       * we first run the stty command with the value of this       *
       * parameter as it arguments.                                 */
!     if (!exargs && (s = zgetenv("STTY")) && isatty(0)) {
  	char *t;
  
  	exargs = args;	/* this prevents infinite recursion */

-- 
Peter Stephenson <pws@ifh.de>       Tel: +49 33762 77366
WWW:  http://www.ifh.de/~pws/       Fax: +49 33762 77413
Deutches Electronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, 15735 Zeuthen, Germany.


           reply	other threads:[~1996-11-25 17:12 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <199611251535.KAA26695@nasirc.hq.nasa.gov>]

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=199611251700.SAA09214@hydra.ifh.de \
    --to=pws@ifh.de \
    --cc=sylvain@nasirc.hq.nasa.gov \
    --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).