HP3000-L Archives

April 2001, Week 3

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:
Charles Finley <[log in to unmask]>
Reply To:
Date:
Wed, 18 Apr 2001 07:39:13 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (65 lines)
We had the same problem with a program that used a select() on a $stdin  as
well as for a socket.    Lars makes reference to a know MPE problem with
select in his Pretty Good Porting paper http: at
//www.editcorp.com/Personal/Lars_Appel/pgp-ix.html.  Somehow I came to
believe that the problem was, at least in part, related to the multiple use
of select().  I may have read it in some of Mark's notes.  I can't seem to
locate that reference just now.

This is what Lars says: "Unfortunately MPE/iX does have a problem with
select() on terminals (see documentation or Mark Bixby's porting guide or
the Samba/iX notes for limitations in the smbclient program, for example). "

Since we have the source code, our workaround was to change the redirect to
just reading from a file and to remove the select() for that file.

> -----Original Message-----
> From: HP-3000 Systems Discussion [mailto:[log in to unmask]]On
> Behalf Of Leonard S. Berkowitz
> Sent: Wednesday, April 18, 2001 6:49 AM
> To: [log in to unmask]
> Subject: Redirected program input and C
>
>
> I raised this question a couple of weeks ago, but I'd like to see
> whether I can
> get more help in understanding the issue.
>
> We have a third-party product that requires many, many key strokes for
> configuration, yet the configuration program cannot handle the
> input from a
> file. The vendor reports that there an issue relating to how C and MPE/iX
> interact. As this is the first program I have encountered that
> will not accept
> input redirected from a file, this state of affairs is most
> surprising (and
> downright inconvenient, I might add -- and that my cleansed way
> of putting it).
>
> I have to believe that we have other C programs that do not have
> the problem of
> redirected input from a file.
>
> So the question is: Is there a way that a C program was could be
> purposely or
> carelessly written to impede redirected input from a file? Or is
> there something
> that the devloper might change so that the program could accept
> redirected input
> from a file.
>
> Thank you.
> ===================
> Leonard S. Berkowitz
> Perot Health Care Systems
> (Harvard Pilgrim Health Care account)
> voice: 617-509-1212
> fax:   617-509-3737
> pager: 781-226-2431
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2