🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #3302

gulam bug

#3302
From: dennis pixton
Date: Tue, 22 Aug 1989 18:39
33 lines
1664 bytes
I've noticed several problems with redirection in gulam (1.03.04.05) -- most
recently with shar and ssed.  I finally narrowed it down to the following
situation.

I wrote a trivial program, args.prg (compiled with mwc) to dump out its
args, the environment, and whether the file handles are ttys.  When I run 

	args a b > junk

I get the output in junk: arg[0] through arg[2] are "args", "a", and "b"; and
handle 1 is not a tty.  I then simply *rename* args.prg to shar.prg and run

	shar a b > junk

This time the output is to the screen: arg[0] to arg[4] are "shar", "a",
"b", ">", and "junk"; and handle 1 is a tty.  I checked that there is not
another "shar" in my path, and that env_type is set to "mw". 

The same thing happens if I rename args.prg to ssed.prg, but if I rename it
to (for example) sed.prg then the redirection is correct.  The problem
doesn't happen if I use msh instead of gulam.

Does anyone know what is happening??  And is there any possibility of an
upgrade to gulam??




--
Dennis Pixton
Department of Mathematical Sciences     (607) 777-4239
SUNY-Binghamton                         dennis@math.binghamton.edu
Binghamton, NY  13901                   dpixton@bingvaxa.bitnet
Technical Details
Message-ID: <DENNIS.89Aug22143938@marge.math.binghamton.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!leah!bingvaxu!marge.math.binghamton.edu!dennis

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!leah!bingvaxu!marge.math.binghamton.edu!dennis
From: dennis@marge.math.binghamton.edu (dennis pixton)
Newsgroups: comp.sys.atari.st
Subject: gulam bug
Message-ID: <DENNIS.89Aug22143938@marge.math.binghamton.edu>
Date: 22 Aug 89 18:39:38 GMT
Sender: usenet@bingvaxu.cc.binghamton.edu
Organization: Dept of Math Sci, SUNY-Binghamton
Lines: 33