summaryrefslogtreecommitdiff
path: root/pod/perlport.pod
diff options
context:
space:
mode:
authorGreen, Paul <pgreen@seussnt.stratus.com>1998-09-09 20:02:07 -0400
committerGurusamy Sarathy <gsar@cpan.org>1998-09-23 09:21:11 +0000
commit495c5fdc8fec0d7d0f72a84d44bb3e7cfc448d43 (patch)
tree177a1786dbe4f22a002ec51cd7ceb44b1857fc51 /pod/perlport.pod
parentbd3fa61ce4cf706aee95ff3241fb1c7b94ddf61a (diff)
downloadperl-495c5fdc8fec0d7d0f72a84d44bb3e7cfc448d43.tar.gz
RE: [PATCH] 5.005_02 and 5.005_51: Stratus VOS port
Message-ID: <646CD0392810D211B04A00A024BF26FB1022EB@terminator.sw.stratus.com> p4raw-id: //depot/perl@1838
Diffstat (limited to 'pod/perlport.pod')
-rw-r--r--pod/perlport.pod123
1 files changed, 102 insertions, 21 deletions
diff --git a/pod/perlport.pod b/pod/perlport.pod
index 4ff24824c4..5e201764d6 100644
--- a/pod/perlport.pod
+++ b/pod/perlport.pod
@@ -183,17 +183,21 @@ notion of a "path" to uniquely identify a file on the system. Just
how that path is actually written, differs.
While they are similar, file path specifications differ between Unix,
-Windows, S<Mac OS>, OS/2, VMS, S<RISC OS> and probably others. Unix,
-for example, is one of the few OSes that has the idea of a single root
-directory.
+Windows, S<Mac OS>, OS/2, VMS, VOS, S<RISC OS> and probably others.
+Unix, for example, is one of the few OSes that has the idea of a single
+root directory.
VMS, Windows, and OS/2 can work similarly to Unix with C</> as path
separator, or in their own idiosyncratic ways (such as having several
-root directories and various "unrooted" device files such NIL: and
+root directories and various "unrooted" device files such NIL: and
LPT:).
S<Mac OS> uses C<:> as a path separator instead of C</>.
+VOS perl can emulate Unix filenames with C</> as path separator. The
+native pathname characters greater-than, less-than, number-sign, and
+percent-sign are always accepted.
+
C<RISC OS> perl can emulate Unix filenames with C</> as path
separator, or go native and use C<.> for path separator and C<:> to
signal filing systems and disc names.
@@ -727,6 +731,71 @@ Put words C<SUBSCRIBE VMSPERL> in message body.
=back
+=head2 VOS
+
+Perl on VOS is discussed in F<README.vos> in the perl distribution.
+Note that perl on VOS can accept either VOS- or Unix-style file
+specifications as in either of the following:
+
+ $ perl -ne "print if /perl_setup/i" >system>notices
+ $ perl -ne "print if /perl_setup/i" /system/notices
+
+or even a mixture of both as in:
+
+ $ perl -ne "print if /perl_setup/i" >system/notices
+
+Note that even though VOS allows the slash character to appear in object
+names, because the VOS port of Perl interprets it as a pathname
+delimiting character, VOS files, directories, or links whose names
+contain a slash character cannot be processed. Such files must be
+renamed before they can be processed by Perl.
+
+The following C functions are unimplemented on VOS, any any attempt by
+Perl to use them will result in a fatal error message and an immediate
+exit from Perl: dup, do_aspawn, do_spawn, execlp, execl, execvp, fork,
+waitpid. Once these functions become available in the VOS POSIX.1
+implementation, you can either recompile and rebind Perl, or you can
+download a newer port from ftp.stratus.com.
+
+The value of C<$^O> on VOS is "VOS". To determine the architecture that
+you are running on without resorting to loading all of C<%Config> you
+can examine the content of the C<@INC> array like so:
+
+ if (grep(/VOS/, @INC)) {
+ print "I'm on a Stratus box!\n";
+ } else {
+ print "I'm not on a Stratus box!\n";
+ die;
+ }
+
+ if (grep(/860/, @INC)) {
+ print "This box is a Stratus XA/R!\n";
+ } elsif (grep(/7100/, @INC)) {
+ print "This box is a Stratus HP 7100 or 8000!\n";
+ } elsif (grep(/8000/, @INC)) {
+ print "This box is a Stratus HP 8000!\n";
+ } else {
+ print "This box is a Stratus 68K...\n";
+ }
+
+Also see:
+
+=over 4
+
+=item L<README.vos>
+
+=item VOS mailing list
+
+There is no specific mailing list for Perl on VOS. You can post
+comments to the comp.sys.stratus newsgroup, or subscribe to the general
+Stratus mailing list. Send a letter with "Subscribe Info-Stratus" in
+the message body to majordomo@list.stratagy.com.
+
+=item VOS Perl on the web at C<http://ftp.stratus.com/pub/vos/vos.html>
+
+=back
+
+
=head2 EBCDIC Platforms
Recent versions of Perl have been ported to platforms such as OS/400 on
@@ -1013,9 +1082,11 @@ bits are meaningless. (Win32)
Only good for changing "owner" and "other" read-write access. (S<RISC OS>)
+Access permissions are mapped onto VOS access-control list changes. (VOS)
+
=item chown LIST
-Not implemented. (S<Mac OS>, Win32, Plan9, S<RISC OS>)
+Not implemented. (S<Mac OS>, Win32, Plan9, S<RISC OS>, VOS)
Does nothing, but won't fail. (Win32)
@@ -1023,20 +1094,22 @@ Does nothing, but won't fail. (Win32)
=item chroot
-Not implemented. (S<Mac OS>, Win32, VMS, Plan9, S<RISC OS>)
+Not implemented. (S<Mac OS>, Win32, VMS, Plan9, S<RISC OS>, VOS)
=item crypt PLAINTEXT,SALT
May not be available if library or source was not provided when building
perl. (Win32)
+Not implemented. (VOS)
+
=item dbmclose HASH
-Not implemented. (VMS, Plan9)
+Not implemented. (VMS, Plan9, VOS)
=item dbmopen HASH,DBNAME,MODE
-Not implemented. (VMS, Plan9)
+Not implemented. (VMS, Plan9, VOS)
=item dump LABEL
@@ -1056,13 +1129,13 @@ Not implemented. (Win32, VMS)
=item flock FILEHANDLE,OPERATION
-Not implemented (S<Mac OS>, VMS, S<RISC OS>).
+Not implemented (S<Mac OS>, VMS, S<RISC OS>, VOS).
Available only on Windows NT (not on Windows 95). (Win32)
=item fork
-Not implemented. (S<Mac OS>, Win32, AmigaOS, S<RISC OS>)
+Not implemented. (S<Mac OS>, Win32, AmigaOS, S<RISC OS>, VOS)
=item getlogin
@@ -1070,7 +1143,7 @@ Not implemented. (S<Mac OS>, S<RISC OS>)
=item getpgrp PID
-Not implemented. (S<Mac OS>, Win32, VMS, S<RISC OS>)
+Not implemented. (S<Mac OS>, Win32, VMS, S<RISC OS>, VOS)
=item getppid
@@ -1078,7 +1151,7 @@ Not implemented. (S<Mac OS>, Win32, VMS, S<RISC OS>)
=item getpriority WHICH,WHO
-Not implemented. (S<Mac OS>, Win32, VMS, S<RISC OS>)
+Not implemented. (S<Mac OS>, Win32, VMS, S<RISC OS>, VOS)
=item getpwnam NAME
@@ -1247,7 +1320,7 @@ Return values may be bogus. (Win32)
=item msgrcv ID,VAR,SIZE,TYPE,FLAGS
-Not implemented. (S<Mac OS>, Win32, VMS, Plan9, S<RISC OS>)
+Not implemented. (S<Mac OS>, Win32, VMS, Plan9, S<RISC OS>, VOS)
=item open FILEHANDLE,EXPR
@@ -1280,15 +1353,15 @@ Only reliable on sockets. (S<RISC OS>)
=item semop KEY,OPSTRING
-Not implemented. (S<Mac OS>, Win32, VMS, S<RISC OS>)
+Not implemented. (S<Mac OS>, Win32, VMS, S<RISC OS>, VOS)
=item setpgrp PID,PGRP
-Not implemented. (S<Mac OS>, Win32, VMS, S<RISC OS>)
+Not implemented. (S<Mac OS>, Win32, VMS, S<RISC OS>, VOS)
=item setpriority WHICH,WHO,PRIORITY
-Not implemented. (S<Mac OS>, Win32, VMS, S<RISC OS>)
+Not implemented. (S<Mac OS>, Win32, VMS, S<RISC OS>, VOS)
=item setsockopt SOCKET,LEVEL,OPTNAME,OPTVAL
@@ -1302,11 +1375,11 @@ Not implemented. (S<Mac OS>, Plan9)
=item shmwrite ID,STRING,POS,SIZE
-Not implemented. (S<Mac OS>, Win32, VMS, S<RISC OS>)
+Not implemented. (S<Mac OS>, Win32, VMS, S<RISC OS>, VOS)
=item socketpair SOCKET1,SOCKET2,DOMAIN,TYPE,PROTOCOL
-Not implemented. (S<Mac OS>, Win32, VMS, S<RISC OS>)
+Not implemented. (S<Mac OS>, Win32, VMS, S<RISC OS>, VOS)
=item stat FILEHANDLE
@@ -1330,7 +1403,7 @@ Not implemented. (Win32, VMS, S<RISC OS>)
=item syscall LIST
-Not implemented. (S<Mac OS>, Win32, VMS, S<RISC OS>)
+Not implemented. (S<Mac OS>, Win32, VMS, S<RISC OS>, VOS)
=item sysopen FILEHANDLE,FILENAME,MODE,PERMS
@@ -1375,6 +1448,8 @@ Not useful. (S<RISC OS>)
Not implemented. (VMS)
+Truncation to zero-length only. (VOS)
+
=item umask EXPR
=item umask
@@ -1395,7 +1470,7 @@ two seconds. (Win32)
=item waitpid PID,FLAGS
-Not implemented. (S<Mac OS>)
+Not implemented. (S<Mac OS>, VOS)
Can only be applied to process handles returned for processes spawned
using C<system(1, ...)>. (Win32)
@@ -1408,6 +1483,10 @@ Not useful. (S<RISC OS>)
=over 4
+=item 1.35, 9 September 1998
+
+Updated for Stratus VOS.
+
=item 1.33, 06 August 1998
Integrate more minor changes.
@@ -1435,6 +1514,7 @@ Tom Christiansen E<lt>tchrist@perl.comE<gt>,
Nicholas Clark E<lt>Nicholas.Clark@liverpool.ac.ukE<gt>,
Andy Dougherty E<lt>doughera@lafcol.lafayette.eduE<gt>,
Dominic Dunlop E<lt>domo@vo.luE<gt>,
+Paul Green E<lt>Paul_Green@stratus.comE<gt>,
M.J.T. Guy E<lt>mjtg@cus.cam.ac.ukE<gt>,
Luther Huffman E<lt>lutherh@stratcom.comE<gt>,
Nick Ing-Simmons E<lt>nick@ni-s.u-net.comE<gt>,
@@ -1456,6 +1536,7 @@ This document is maintained by Chris Nandor.
=head1 VERSION
-Version 1.34, last modified 07 August 1998.
+Version 1.35, last modified 09 September 1998.
+