HP3000-L Archives

February 1997, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Bixby <[log in to unmask]>
Reply To:
Date:
Tue, 4 Feb 1997 17:07:07 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (28 lines)
I tried to have Apache/iX execute a Pascal/XL program as a CGI, and the
Pascal program aborts thusly:

SOFTWARE ABORT   (FSERR 32)
FILE OPEN ERROR (PASCERR 692)
FILE IS 'OUTPUT'
ABORT: /APACHE/PUB/public_html/mpe.cgi
NM SYS   a.00ac2288 dbg_abort_trace+$24
NM USER  18d.003caa34 P__PASCFERROR+$3e0
NM PROG  1079.000051d4 PROGRAM+$7c

So if a POSIX program (Apache/iX) is exec()-ing an MPE program, are the
POSIX file descriptors for stdin,stdout,stderr being inherited by the MPE
program as $stdin, $stdlist, and stderr?

Before I got involved with Apache, I seem to remember discussion about this
stuff on HP3000-L, but I forget the details.  Is there anything magic I need
to do on the POSIX side to enable the MPE side to inherit the descriptors, or
do I have to access these descriptors in a special manner from the MPE side?
Or is there just no way an MPE program can use a POSIX ancestor's file
descriptors?
--
Mark Bixby                      E-mail: [log in to unmask]
Coast Community College Dist.   Web: http://www.cccd.edu/~markb/
District Information Services   1370 Adams Ave, Costa Mesa, CA, USA 92626-5429
Technical Support               +1 714 438-4647
"You can tune a file system, but you can't tune a fish." - tunefs(1M)

ATOM RSS1 RSS2