%META:TOPICINFO{author="ChrisBartram" date="1170383903" format="1.1" version="1.2"}% %META:TOPICPARENT{name="Hp3000PosixShell"}% ---+ [[Hp3000PosixMigrationIssues][HP3000 POSIX migration issues]] I don't known if this qualifies but I've spent the last couple of months porting a server generated by snacc on a unix box to IX/posix and ran up against the following on the posix side:
c89:
doesn't seem to read CCOPTS
resolved by using make -f Makefile.prod and -f Makefile.debug
it either truncates the info (or at least the -D)
resolved by include "ccopts.h" as first line of each .c
make:
executes each statement seperately, i.e.:
-cd ber_lib;make
causes it to go into an infinite loop
resolved by creating command files
vi:
Files uploaded as ascii by reflections can not be extended. If
shorted and downloaded, the file is padded out to it's original
size with nulls. Use :!rm [file] before :w
Pet peeve, doesn't understand TERM=hp curser keys.
diff:
hangs on even small files. Note the files are extracted from tar.Z
but compiled fine.
lp, lpr:
don't exist. /dev/lp can't be seen. Add a fileq before
entering posix and callci print $file > *lp
^D:
Isn't available. Use :eod.
ABORT, ABORTJOB:
Will not abort the program if open TCP session (but will abort
the listening socket). Or maybe I just didn't wait long enought.
intrinsics:
open - can not open an MPE file. Replaced with FOPEN, FREAD, FWRITE.
fork - can not have database open. Close it and reopen in both
parent and child.
offsetof - wouldn't compile, gave up and used
(char*)&struct->mbr - (char*)struct
setsockopt - all the normal defines, but some not implemented and
return error. Ifdef it out.
good news:
Copylefted software that built okay: gzip, patch, flex, bison, p2c,
shar, snacc.
SETDUMP before entering posix will still produce trace.
Putting the executable into an MPE visible directory with an MPE
name and it can be run from MPE with :DEBUG but never tried with
the forking version.
Peeves:
LaserRom for MPE is way behind the LaserRom for UX, which was way
behind InfoExplorer on AIX. These beg for hyperlinks. As error
and ommisions are constantly being corrected, putting
documentation on line should be considered. And if have
authentication, indexed error reports, and error report submission.
--[[DeanAndrews]]
-- Main.ChrisBartram - 09 Jun 2006