HP3000-L Archives

December 1998, 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:
"Newman, Kevin:" <[log in to unmask]>
Reply To:
Newman, Kevin:
Date:
Thu, 17 Dec 1998 12:45:12 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (203 lines)
Here is the text that I got from my friend about SR# 5003430165

------------------------------------------------------------------------
--



SUBMITTER TEXT



On 5.5 in the Posix shell, you cannot have an MPE program that has its

STDIN piped or redirected from an HFS file.




VERIFIER TEXT


Verified on 8/7/98


Originally classified as Serious since this impacts customer's ability

to create web site on HP3000. Piping STDIN is fundamental to using the

POST method for HTML Forms. Customer says this used to work on 5.0.

His system is now on 5.5 and cannot prove that 5.0 worked. I cannot get

it to work on my 5.0 system. Customer has an SLT tape from his 5.0

system that has not been tested with yet since bottom line is that it

needs to work on 5.5 whether it used to work or not.





This SR may be related to SR 4701347195 and patch MPEJXM3. This fixed

the problem with piping of STDLIST but NOT STDIN.



Note: SR 5003416560 'Echo pipe to read failing'  may also be related.





On a 5.5 system with power patch 4.



Created test Pascal program (saw problem with Transact too. Did not try

other languages).





program x(input,output);

  var

    buf: packed array [1..70] of char;

  begin

    prompt('buf> ');

    buf:='proginit';

    readln(buf);

    writeln('buf =',buf,'-');

  end.



PASXLLK SRC,PP



Test 1. pipe STDIN of MPE program



shell/iX> echo abc|PP

FILE OPEN ERROR (PASCERR 692)

FILE IS 'INPUT'



ABORT: PP.A5256163.VISTICA

NM SYS   a.00aaf288 dbg_abort_trace+$24

NM USER  21d.00118a34 P__PASCFERROR+$3e0

NM PROG  6f1.000059e4 PROGRAM+$dc

[1] + Done(134) echo abc|PP

  196737        Abort   SH.HPBIN.SYS







Test 2. pipe STDIN of MPE program using callci



shell/iX> echo abc|callci PP

FILE OPEN ERROR (PASCERR 692)

FILE IS 'INPUT'



ABORT: PP.A5256163.VISTICA

NM SYS   a.00aaf288 dbg_abort_trace+$24

NM USER  21d.00118a34 P__PASCFERROR+$3e0

NM PROG  6f1.000059e4 PROGRAM+$dc

PP

Program terminated in an error state. (CIERR 976)







Test 3. CIOR of STDLIST for MPE program



shell/iX> PP>xxx

abc

shell/iX> cat xxx

buf>

buf =abc







More tests. CIOR of STDIN for MPE program



works: echo 123 > XXX;PP<XXX  MPE namespace file

fails: echo 123 > xxx;PP<xxx  HFS file



works: echo abc > xxx; mv xxx XXX; PP < XXX

fails: echo def > XXX; mv XXX xxx; PP < xxx



OK, STDIN cannot be an HFS file for an MPE program.



works: PP>XXX

works: PP>xxx



OK, STDLIST can be HFS or MPE.


---------------------------------------------

Kevin Newman

ATOM RSS1 RSS2