      Software Product  Description   C ___________________________________________________________________   C PRODUCT NAME:   POSIX for OpenVMS                      SPD 34.82.04                  Version 2.0    DESCRIPTION   D POSIX for OpenVMS Version 2.0 brings support for the POSIX (PortableE Operating System Interface for Computing Environments) Industry Stan- C dards and for the X/Open[TM] BASE Profile specifications as defined F in the X/Open Portability Guide Issue 4, to OpenVMS on the VAX[TM] and AXP platforms.  D POSIX and XPG4 define a set of interface standards for various partsF of an operating system. Both provide a comprehensive set of standards,E draft standards, and specifications that support interoperability and D portability of applications at the source code level. Because of theF consistency they afford to applications at the operating system level,C the POSIX standards and XPG4 specifications are essential underpin- L nings of open computing environments. In fact, POSIX for OpenVMS Version 2.0G provides the capability on OpenVMS to develop and run applications con- , forming to the POSIX and the XPG4 standards.  D The POSIX[R] standards development effort is sponsored by the Insti-G tute of Electrical and Electronic Engineers (IEEE). As individual POSIX C standards are approved, organizations such as the International Or- F ganization for Standardization (ISO) are also embracing them. XPG4 has   ____________________  A  X/Open  is a registered trademark of the X/Open Company Limited. H  The  DIGITAL Logo, Digital, DEC, VAX, AXP, OpenVMS, Bookreader, DECwin-I   dows, MicroVAX, TK, VAX C, VAX cluster, VAXft, VAXserver, VAXset, VAXs-   9   tation are trademarks of Digital Equipment Corporation. G  POSIX  is a registered certification mark and IEEE a registered trade-   @   mark of the Institute of Electrical and Electronics Engineers.  C                               DIGITAL                     June 1994   C                                                         AE-Q9H2A-TE        D been developed by X/Open, which is an independent consortium of com-D puter systems manufacturers; XPG4 specifies a comprehensive applica-E tions interface that includes POSIX 1003.1-1988 (as upgraded by POSIX E 1003.1-1990) and POSIX 1003.2-1992 as well as an additional set of de  facto and formal standards.   D POSIX for OpenVMS Version 2.0 includes support for the standards andC draft standards for the POSIX system application programming inter- D face (POSIX 1003.1, 1988 and 1990), POSIX shell and utilities (POSIXE 1003.2, which includes the User Portability Extension, formerly POSIX G P1003.2a), and real time programming (1003.1b, formerly POSIX P1003.4). G POSIX for OpenVMS Version 2.0 also supports the XPG4 BASE Profile spec- F ifications, internationalized system calls and functions, commands andD utilities, with the C language. (For a listing of the specific stan-E dards supported by POSIX for OpenVMS Version 2.0, refer to Section 6.    User Environments   " o  Program Development Environment  E The program development environment for POSIX for OpenVMS Version 2.0 E allows the use of tools from both the OpenVMS development environment C and the POSIX for OpenVMS Version 2.0 environment. Program develop- C ers who choose to work at DCL level can use the OpenVMS program de- E velopment environment tools, including the supported C compilers, the C OpenVMS Linker, and OpenVMS Debugger, as well as application build- C ing tools included in VAXset. Program developers who choose to work F at the POSIX for OpenVMS Version 2.0 shell level can use the POSIX en-D vironment defined in POSIX 1003.2, including the vi text editor, c89G (for linking and compiling programs), make (for building applications), D ar (for archiving object modules). Also supplied are the lex lexical( analyzer and the yacc compiler compiler.   o  Interactive User Environment             "                                  2       G The interactive user environment for POSIX for OpenVMS Version 2.0 pro- F vides the user with a set of UNIX[TM]-like commands and utilities thatC include functions similar to DCL, in addition to functions unavail- J able in the DCL environment. For example the POSIX for OpenVMS Version 2.0C shell supports "pipes" which allow the output of one command to be- ' come the input of a subsequent command.   C Assistance on how to use the POSIX for OpenVMS Version 2.0 features J are available both via standard OpenVMS Online Help and a POSIX-conformantE man command. The man command supplies reference information on all of F the supported utilities, callable functions, datatypes and data struc-> tures using the typical user interface familiar to UNIX users.  9 o  End User Environment (Running POSIX and XPG4 Programs)   D POSIX for OpenVMS Version 2.0 programs are run from either the Open-F VMS DCL level or the POSIX for OpenVMS Version 2.0 shell level. A cap-G tive account can also be created, in which a user who accesses the sys- A tem is limited to running one or more POSIX or XPG4 applications.    POSIX Standards   C This section gives more detail on the POSIX standards implementated ! by POSIX for OpenVMS Version 2.0.    o  POSIX 1003.1   F POSIX 1003.1 is an approved standard, adopted by the IEEE and endorsedC by X/Open, ANSI, and ISO. It was first approved in 1988 as IEEE Std E 1003.1-1988. In 1990 the standard was revised to IEEE Std 1003.1-1990 : and also became the international standard ISO/IEC 9945-1.  C POSIX 1003.1 is the standard most commonly supported by open system E vendors today. It defines a standard for the basic system services to E be provided by an operating system. These are the services which will C allow an application to perform operations such as process creation = and execution, file system access, and I/O device management.    ____________________E  UNIX  is a registered trademark of UNIX System Laboratories, Inc., a   )   wholly-owned subsisiary of Novell, Inc.   "                                  3        o  POSIX P1003.1a   E The draft standard IEEE P1003.1a covers extensions to IEEE 1003.1 and F has not yet been incorporated into the final standard. POSIX for Open-- VMS Version 2.0 currently implements draft 4.    o  POSIX 1003.1b  C POSIX 1003.1b is an approved standard, adopted by the IEEE in 1993. G It was formerly the POSIX P1003.4 draft standard. It addresses require- D ments for real-time computing and support for such functions as mem-G ory management, semaphores, message queues, scheduling, real-time files 4 and signals, asynchronous I/O operations and timers.   o  POSIX 1003.2   F POSIX 1003.2 is an approved standard, adopted by the IEEE in 1992, andC endorsed by X/Open, ANSI, and ISO. It includes the User Portability D Extension (UPE) functionality formerly defined in the POSIX P1003.2aG draft standard. It provides an interactive interface to shell and util- D ity services, and a series callable functions for regular expression	 handling.   G The 1003.2-based interactive interface to POSIX for OpenVMS Version 2.0 C is a set of UNIX-like commands and utilities. The POSIX for OpenVMS F Version 2.0 command language interpreter (shell) has many of the func-G tions and features of the Korn Shell. The POSIX for OpenVMS Version 2.0 F interactive interface also includes a group of complex utilities (suchC as awk, lex, make and yacc), a series of C-language programming de- + velopment utilities, and a text editor, vi.     XPG4 BASE Profile Specifications  C This section gives more detail on Issue 4 of the X/Open Portability D Guide specifications implementated by POSIX for OpenVMS Version 2.0.  % o  XPG4 System Interfaces and Headers       "                                  4       E The XPG4 specifications include all the POSIX 1003.1 system calls and E functions together with extensions. POSIX for OpenVMS Version 2.0 im- E plements all the mandatory functions defined in this specification as > well as the functionality indicated as "extension" and "FIPS".   o  XPG4 Commands and Utilities  D With the XPG4 specifications, a number of new commands and utilitiesF are required in addition to those defined with POSIX 1003.2. POSIX forF OpenVMS Version 2.0 implements the mandatory comands and utilities de-E fined in this specification as well as the functionality indicated as  "extension" and "FIPS".   % o  XPG4 Internationalisation Features   D The internationalisation features provided within XPG4 allow for theE run-time environment of a program to be set up to provide the correct D processing/presentation of local language text and cultural data; noD recompiling or relinking is required. Program messages may be storedE separate from the logic of a program and translated into several lan- C guages using the Message Catalogue system. The cultural environment E of a program is obtained by associating it with a specific set of lo- F calisation data, called a "locale". POSIX for OpenVMS Version 2.0 con-D tains the locale for American English; users can build their own lo-B cales for other languages. Examples of other locales are provided.  F The specification provides support for the ISO 8859-1:1987 8 bit char-4 acter set which covers the major European languages.  E XPG4 multibyte character internationalisation for the shell and util-  ities is supported.    C Language Extensions   D Conformance to the POSIX standards and XPG4 specifications has meantD changes and additional functionality for the C run-time library pro- vided with the C compiler.      "                                  5       M Two sets of shareable images are supplied with POSIX for OpenVMS Version 2.0; G one to support the current range of functionality, and a second to pre- D serve backward compatibility with programs compiled and linked under( a previous version of POSIX for OpenVMS.  J The stdio library funtions support the behaviour required by POSIX 1003.1.D The C run-time library supports the ISO C features required by POSIX 1003.1.   D POSIX for OpenVMS Version 2.0 includes support for internationalizedD regular expression match and compile functions, native language mes-G sage handling functions, and native language versions of the error han-  dling functions.  F POSIX for OpenVMS Version 2.0 also adds table creation/search/deletionE functions for linear tables, hash tables, and tree structured tables, E as well as mathematical functions. Further additions and changes have C been necessary to incorporate the TCP/IP Sockets calls and interop-  erability with DECthreads.  F POSIX for OpenVMS Version 2.0 supports all the floating point features" introduced by OpenVMS Version 6.1.  C All the above enhancements are part of the POSIX C RTL which is in- C voked by the c89 preprocessor provided as part of POSIX for OpenVMS  Version 2.0.  . Supported Standards and Components - a Summary  F The following list summarizes the formal and draft POSIX standards andF components of the XPG4 BASE Profile specification implemented by POSIX for OpenVMS Version 2.0:   o  POSIX IEEE Std. 1003.1-1988  2 o  POSIX IEEE Std. 1003.1-1990 ISO/IEC 9945-1:1990  ( o  a part of POSIX IEEE 1003.1a, draft 4   o  POSIX IEEE Std. 1003.1b-1993    o  POSIX IEEE Std. 1003.2-1992  "                                  6       E o  All system interfaces not defined as "optional" that are contained (    in the first two volumes of the XPG4.  E o  The curses Interface Library defined in Volume 3 of Issue 3 of the     X/Open Portability Guide.  , POSIX and XPG4 Conformance and Certification   o  POSIX Conformace   E The POSIX standards require that suppliers who claim conformance pro- F vide a conformance document that describes how the supplier implementsC the standard. This is the only proof of conformance required by the  IEEE.   C In the United States, the National Institute of Standards and Tech- E nology (NIST) has developed the POSIX Conformance Test Suite or PCTS. E The PCTS tests for conformance to NIST's Federal Information Process- C ing Standard (FIPS 151-2), which is based on POSIX 1003.1-1990. All C versions of OpenVMS from V5.5 onwards are FIPS 151 certifiable; the F V6.1 release of the OpenVMS operating system on both VAX and AXP plat-, forms will achieve FIPS 151-2 certification.   o  XPG4 Base Profile Branding   D Software vendors whose products implement XPG4 BASE Profile specifi-D cations can apply to X/Open for the right to display the X/Open BASEC Profile brand. The X/Open BASE Profile brand identifies that a sys- C tem fulfills the comprehensive and stringent set of X/Open require- 	 ments by:   C    -  Implementing the minimum set of components required to create E       the XPG4 Common Applications Environment. This set of XPG4 BASE G       Profile components consists of the internationalized system calls F       and functions, commands and utilities, and the C language as im-0       plemented on a specific hardware platform.        "                                  7       G    -  Passing those portions of the Verification Suite for X/Open (VSX) D       that test the implementation of these XPG4 BASE Profile compo-C       nents. Components must pass a series of more than 10000 tests 3       in VSX to earn the X/Open BASE Profile Brand.   F OpenVMS VAX V5.5 and V6.0 are XPG3 BASE branded (as of June 1992). TheF V6.1 release of the OpenVMS operating system on both VAX and AXP plat-. forms will achieve XPG4 BASE Profile Branding.  : Interoperability with OpenVMS Components and other Layered Products  E POSIX for OpenVMS Version 2.0 contains a number of enhancements which D provide for interoperability with components of OpenVMS and with Key Layered products.    o  DECWindows Motif   D POSIX for OpenVMS Version 2.0 applications can take advantage of the> DECwindows/Motif functions. DECwindows/Motif V1.2 is required.  " o  DEC TCP/IP Services for OpenVMS  D The network APIs provided by DEC TCP/IP Services for OpenVMS are ac-D cessible by POSIX for OpenVMS Version 2.0 applications via a socketsE interface. These interfaces provide support for sockets in the Inter- C net domain and are based on the BSD Sockets definition. The Sockets ; Library is included as part of the POSIX for OpenVMS C RTL.   
 o  DECthreads   F DECthreads as defined by IEEE P1003.4a draft 4 are provided with Open-G VMS. Use of OpenVMS DECthreads by POSIX for OpenVMS Version 2.0 is sup- C ported together with some additional Threads features as defined by * the more up-to-date IEEE P1003.4a draft 6.          "                                  8       
 Documentation   G The 11 volume POSIX for OpenVMS Version 2.0 documentation set describes F all the callable functions and utilities provided together with guidesC to programming. Also included are a number of conformance documents C for the POSIX standards. Note that the POSIX standards and the XPG4 E specifications are widely available. The full documentation set is as  follows:  = o  POSIX for OpenVMS Installation and System Management Guide   " o  POSIX for OpenVMS Release Notes  9 o  POSIX for OpenVMS Reference Manual: Callable Interface   : o  POSIX for OpenVMS Reference Manual: Shell and Utilities  ) o  POSIX for OpenVMS Guide to Programming   - o  POSIX for OpenVMS Guide to Using the Shell   5 o  POSIX 1003.1-1990 Conformance Document for OpenVMS   6 o  POSIX 1003.1b-1993 Conformance Document for OpenVMS  5 o  POSIX 1003.2-1992 Conformance Document for OpenVMS   D o  X/Open Conformance Statement: XPG4 Internationalised System Calls    and Libraries  < o  X/Open Conformance Statement: XPG4 Commands and Utilities  E The reference material provided by the above manuals is also supplied E in the form of OpenVMS Online Help and a POSIX.2-conformant man pages  system.           "                                  9        Ordering Information  F The right to use license is included a part of OpenVMS. Hard copy doc-1 umentation and binaries are orderable as follows:   ( Product Doc. + Binaries      QA-GXXAB-H5 on TK50   ( Product Doc. + Binaries      QA-GXXAB-HM on MT09   ( Product Doc. only            QA-GXXAB-GZ  .                     Software Product Services:  ( Media and Documentation      QT-GXXAB-E5 updates (MT)  ( Media and Documentation      QT-GXXAB-EM updates (TK50)  ( Product Documentation        QT-GXXAB-KZ Update  ( Installation                 QT-GXXA9-I9  J POSIX for OpenVMS Version 2.0 is also available on CDROM (see Section 18).   Software Licensing  F No specific license is required for POSIX for OpenVMS Version 2.0. TheH OpenVMS license includes the right to use POSIX for OpenVMS Version 2.0.  D This software is furnished under the licensing provisions of DigitalC Equipment Corporation's Standard Terms and Conditions. For more in-tD formation about Digital's licensing terms and policies, contact your local Digital office.n   Software Warrantyf  G Warranty for this software product is provided by Digital with the pur-eE chase of a license for the OpenVMS operating system as defined in the . Software Warranty Addendum of the OpenVMS SPD.  "                                 10    a   Supported Processors  E POSIX for OpenVMS Version 2.0 is available on all thr processors sup-n> ported by OpenVMS AXP Version 6.1 and OpenVMS VAX Version 6.1.   Cluster Environmentm  G POSIX for OpenVMS Version 2.0 may be installed in a mixed VAX/AXP clus-e0 ter so long as the following conditions are met:  2 o  the version of OpenVMS VAX is 5.5-2, 6.0 or 6.1  $ o  the version of OpenVMS AXP is 6.1   Space Requirements  F The following disk space requirements exists (block cluster size = 1):  C ___________________________________________________________________a	 Operatinga6 System         VMSINSTALL KIT                 PCSI KIT  (               Blocks    Blocks    Blocks(               During    After     During%               In-       In-       In- B               stal-     stal-     stal-     Blocks After Installa-C ______________lation____lation____lation____tion___________________a  - OpenVMS       86000     43000     -         -s
 VAX V5.5-2  - OpenVMS       86000     43000     -         -  VAX V6.0  1 OpenVMS       86000     43000     40000     40000e VAX V6.1  1 OpenVMS       110000    55000     50000     50000 C AXP_V6.1___________________________________________________________   "                                 11 b  /  E These counts refer to the disk space required on the system disk. TherD sizes are approximate; actual sizes may vary depending on the user's8 system environment, configuration, and software options.  F A minimum of 6 Mbytes of memory is required to support POSIX for Open-8 VMS Version 2.0 along with the OpenVMS operating system.   Growth Considerationss  C Note that the minimum hardware/software requirements for any futurerF version of this product may be different from the requirements for the current version.   Software Requirementst  D POSIX for OpenVMS Version 2.0 can be installed on any of the follow- ing versions of OpenVMS:   o  OpenVMS VAX Version 5.5-2   o  OpenVMS VAX Version 6.0   o  OpenVMS VAX Version 6.1   o  OpenVMS AXP Version 6.1   Distribution Media  - 9-track 1600 BPI Magtape, TK50 Streaming Tapes  H This product is also available as part of the OpenVMS Consolidated Soft-D ware Distribution on CDROM. The OpenVMS Online Documentation LibraryF compact disk contains the POSIX for OpenVMS Version 2.0 documentation,# which can be read using Bookreader.l            "                                 12 n  h   Statement of Validityo  F The above information is valid at time of release. Please contact your9 local Digital office for the most up-to-date information.l                                                                        "                                 13