[Info-vax] Looking into C-include files on VMS

Joerg Schilling js at cs.tu-berlin.de
Thu Nov 5 17:22:15 EST 2009


In article <S$lIyZdtOn+Y at eisner.encompasserve.org>,
Bob Koehler <koehler at eisner.nospam.encompasserve.org> wrote:

>   If I ever get back to playing around with GNV again, I'd like to
>   look into porting pdksh; which is an imperfect implementation of
>   ksh, but should be a good starting port for a POSIX shell.

Why not the original ksh93?
ksh93 recently introduced the possibility to use posix_spawn() so this
should make it simple to support the lack of fork().

Well I mentioned that boostrapping AST tools from David Korn is harder than
bootstrappig my tools but it should be possible.

If VMS is close enough to POSIX, it should also be possible to compile the
original Bourne Shell (which is in the schily source kit at
ftp://ftp.berlios.de/pub/schily/)

>   But does UNIX branding require only a POSIX shell, or does it actually
>   require certain shell utilities, like ls?  Since Linux depends on
>   gnu for these, there should be code in either GNV or gnu repositories
>   on which this could be based.
>

It does require a lot more. A small note: VMS lacks the type intmax_t and
uintmax_t which is required as well as a printf() that supports %j for intmax_t
and it is required to have a scalar int64_t which is not on VMS/VAX.

Even the output format of ls and find is in the standard and if you like to
have a POSIX compliant archiver, you would ned to have "star" ;-)

-- 
EMail:joerg at schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
      js at cs.tu-berlin.de		(uni)  
      joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



More information about the Info-vax mailing list