Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!cs.utexas.edu!uunet!mcsun!tuvie!edvvie!eliza!johnny From: johnny@edvvie.at (Johann Schweigl) Newsgroups: comp.unix.aix Subject: Re: pg problem under ksh Message-ID: <185@eliza.edvvie.at> Date: 19 Oct 89 21:59:23 GMT References: <1156@msa3b.UUCP> Organization: Edv GesmbH, Austria/Europa Lines: 18 From article <1156@msa3b.UUCP>, by kevin@msa3b.UUCP (Kevin P. Kleinfelter): > ksh and get a prompt. Then I type > pg foo > and I get > pg: cannot reopen stdout > Hi Kevin! I've experienced the same problem. Its not related to pg in any way. I suspect ksh closes the wrong files under certain circumstances before forking and execing a child proc for piping. Maybe ksh is playing around with the CLOSE_ON_EXEC flag in a way AIX doesn't like. I'll check out that. Under AIX PS/2 ksh is running fine, just compile with all the BSD defines. -- This does not reflect the | Johann Schweigl | DOS? opinions of my employer. | johnny@edvvie.at | Kind of complicated I am busy enough by talking | | bootstrap loader ... about my own ... | EDVG Vienna |