zsh-workers
 help / color / mirror / code / Atom feed
From: marcok@tchibm3.chemie.uni-karlsruhe.de (Marco Kattannek)
To: hzoli@VNET.IBM.COM (Zoltan T. Hidvegi)
Cc: zsh-workers@math.gatech.edu (zsh)
Subject: Re: zsh does not execute skripts on AIX?
Date: Tue, 10 Jun 1997 13:24:46 +0200 (CES)	[thread overview]
Message-ID: <9706101118.AA31816@tchibm3.chemie.uni-karlsruhe.de> (raw)
In-Reply-To: <9706091732.AA18536@belgium.fishkill.ibm.com> from "Zoltan T. Hidvegi" at "Jun 9, 97 01:32:30 pm"

According to Zoltan T. Hidvegi:
> > I have encountered a strange behavour of the zsh on AIX 3.2 .
> > The zsh (2.5 and 3.1) does not execute scripts that are passed to the
> > /bin/sh . The sh drops the error message:
> > : 0402-026 The specified data is not a valid identifier.
> 
> Looks like there is some junk in the environment which confuses /bin/sh.
> I've never had such problems on AIX.  Probably the program which calls zsh
> put something into the environment which sh cannot handle.  Zsh just passes
> this down to sh while ksh probably filters this out.
> 
> Zoltan
First of all, thank you for your advise. In the meantime I have found out,
that the PROBLEM is more complex. We use the "ssh" for remote login.
This only happens, when you use a terminal emulation (hpterm or xterm)
started with the secure shell (ssh, f.e. ssh badibm13 ;). When I explicitly
use the program "rlogin" (f.e. rlogin fineibm12 :) everything works fine????
But as I explained, when I use ssh and the zsh and I process the cycle
"exec ksh" -> "exec zsh" , then I CAN USE skripts with the zsh in a
remote terminal controled by the ssh?????????? And this is very strange,
don't you think.
Strange too is this behaviour, while invoking a shellskript with
"uglyskript13" does not work (without the ksh-zsh cycle trick), the command
". niceskript10" executes the skript??????  Does the zsh treat the skript
executing mechanisms with and without DOT different? (the skripts are of couse
executable)
I do find this behaviour very odd, but with the workaround mentioned
above I can go on using the zsh. Maybe this should be send to the secure
shell people too. Someone should find out, if this only happens with AIX 3.2.

In short: Remote terminal emulation started with the ssh and the zsh, can
          not execute a executable skript on AIX 3.2 by typing the name
          of the skript. Executing with ". skript" (DOT skript) works.
          Rlogin and zsh, or ssh and ksh works too. Executing the ksh
          (exec ksh) and then the zsh again (exec zsh), fixes the problem.
         
                                          Greetings              Marco

e-mail: marcok@tchibm3.chemie.uni-karlsruhe.de


  reply	other threads:[~1997-06-10 11:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-06-09 11:41 Marco Kattannek
1997-06-09 17:32 ` Zoltan T. Hidvegi
1997-06-10 11:24   ` Marco Kattannek [this message]
1997-06-13 15:54     ` Bill Pemberton
1997-06-13 16:55       ` Marco Kattannek
1997-06-16  4:29     ` 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=9706101118.AA31816@tchibm3.chemie.uni-karlsruhe.de \
    --to=marcok@tchibm3.chemie.uni-karlsruhe.de \
    --cc=hzoli@VNET.IBM.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).