scsh-users
[Top] [All Lists]

Re: Documentation bugs: exit value, ports

To: scsh@martigny.ai.mit.edu
Subject: Re: Documentation bugs: exit value, ports
From: shivers@ai.mit.edu (Olin Shivers)
Date: 24 Feb 1997 15:57:05 -0500
Organization: Artificial Intelligence Lab, MIT
Reply-to: shivers@ai.mit.edu
   From: euler@lavielle.COM (Lutz Euler)
   Date: 24 Feb 1997 11:47:15 -0500

   Some mistakes in "doc/scsh-manual.ps":
   Version: scsh 0.4.4

   1.) Section 9.1.7 "Process exit values":
   The example at the end of the section is:
     (exit (run ...))
   This does not work (the exit status is zero) if "run" returns nonzero,
   because someone (scsh or the OS) takes the exit value modulo 256.
   (I am using Solaris 2.4) I think the example should read:
     (exit (status:exit-val (run ...)))

Yep.

   2.) Section 3.2.2 "Port manipulation and standard ports", page 25:
   In the description of "stdio->stdports" the last two of the three
   "fdes->inport" should be "fdes->outport" I think.

Not just a mistake in the doc. Also in the code.

I have fixed these. Thanks for the report.
        -Olin

<Prev in Thread] Current Thread [Next in Thread>