Path: 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: Date: 22 Aug 89 18:39:38 GMT Sender: usenet@bingvaxu.cc.binghamton.edu Organization: Dept of Math Sci, SUNY-Binghamton Lines: 33 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