| 1 | If you read this file _as_is_, just ignore the funny characters you
|
|---|
| 2 | see. It is written in the POD format (see perlpod manpage) which is
|
|---|
| 3 | specially designed to be readable as is.
|
|---|
| 4 |
|
|---|
| 5 | =head1 NAME
|
|---|
| 6 |
|
|---|
| 7 | perlos2 - Perl under OS/2, DOS, Win0.3*, Win0.95 and WinNT.
|
|---|
| 8 |
|
|---|
| 9 | =head1 SYNOPSIS
|
|---|
| 10 |
|
|---|
| 11 | One can read this document in the following formats:
|
|---|
| 12 |
|
|---|
| 13 | man perlos2
|
|---|
| 14 | view perl perlos2
|
|---|
| 15 | explorer perlos2.html
|
|---|
| 16 | info perlos2
|
|---|
| 17 |
|
|---|
| 18 | to list some (not all may be available simultaneously), or it may
|
|---|
| 19 | be read I<as is>: either as F<README.os2>, or F<pod/perlos2.pod>.
|
|---|
| 20 |
|
|---|
| 21 | To read the F<.INF> version of documentation (B<very> recommended)
|
|---|
| 22 | outside of OS/2, one needs an IBM's reader (may be available on IBM
|
|---|
| 23 | ftp sites (?) (URL anyone?)) or shipped with PC DOS 7.0 and IBM's
|
|---|
| 24 | Visual Age C++ 3.5.
|
|---|
| 25 |
|
|---|
| 26 | A copy of a Win* viewer is contained in the "Just add OS/2 Warp" package
|
|---|
| 27 |
|
|---|
| 28 | ftp://ftp.software.ibm.com/ps/products/os2/tools/jaow/jaow.zip
|
|---|
| 29 |
|
|---|
| 30 | in F<?:\JUST_ADD\view.exe>. This gives one an access to EMX's
|
|---|
| 31 | F<.INF> docs as well (text form is available in F</emx/doc> in
|
|---|
| 32 | EMX's distribution). There is also a different viewer named xview.
|
|---|
| 33 |
|
|---|
| 34 | Note that if you have F<lynx.exe> or F<netscape.exe> installed, you can follow WWW links
|
|---|
| 35 | from this document in F<.INF> format. If you have EMX docs installed
|
|---|
| 36 | correctly, you can follow library links (you need to have C<view emxbook>
|
|---|
| 37 | working by setting C<EMXBOOK> environment variable as it is described
|
|---|
| 38 | in EMX docs).
|
|---|
| 39 |
|
|---|
| 40 | =cut
|
|---|
| 41 |
|
|---|
| 42 | Contents (This may be a little bit obsolete)
|
|---|
| 43 |
|
|---|
| 44 | perlos2 - Perl under OS/2, DOS, Win0.3*, Win0.95 and WinNT.
|
|---|
| 45 |
|
|---|
| 46 | NAME
|
|---|
| 47 | SYNOPSIS
|
|---|
| 48 | DESCRIPTION
|
|---|
| 49 | - Target
|
|---|
| 50 | - Other OSes
|
|---|
| 51 | - Prerequisites
|
|---|
| 52 | - Starting Perl programs under OS/2 (and DOS and...)
|
|---|
| 53 | - Starting OS/2 (and DOS) programs under Perl
|
|---|
| 54 | Frequently asked questions
|
|---|
| 55 | - "It does not work"
|
|---|
| 56 | - I cannot run external programs
|
|---|
| 57 | - I cannot embed perl into my program, or use perl.dll from my
|
|---|
| 58 | - `` and pipe-open do not work under DOS.
|
|---|
| 59 | - Cannot start find.exe "pattern" file
|
|---|
| 60 | INSTALLATION
|
|---|
| 61 | - Automatic binary installation
|
|---|
| 62 | - Manual binary installation
|
|---|
| 63 | - Warning
|
|---|
| 64 | Accessing documentation
|
|---|
| 65 | - OS/2 .INF file
|
|---|
| 66 | - Plain text
|
|---|
| 67 | - Manpages
|
|---|
| 68 | - HTML
|
|---|
| 69 | - GNU info files
|
|---|
| 70 | - PDF files
|
|---|
| 71 | - LaTeX docs
|
|---|
| 72 | BUILD
|
|---|
| 73 | - The short story
|
|---|
| 74 | - Prerequisites
|
|---|
| 75 | - Getting perl source
|
|---|
| 76 | - Application of the patches
|
|---|
| 77 | - Hand-editing
|
|---|
| 78 | - Making
|
|---|
| 79 | - Testing
|
|---|
| 80 | - Installing the built perl
|
|---|
| 81 | - a.out-style build
|
|---|
| 82 | Build FAQ
|
|---|
| 83 | - Some / became \ in pdksh.
|
|---|
| 84 | - 'errno' - unresolved external
|
|---|
| 85 | - Problems with tr or sed
|
|---|
| 86 | - Some problem (forget which ;-)
|
|---|
| 87 | - Library ... not found
|
|---|
| 88 | - Segfault in make
|
|---|
| 89 | - op/sprintf test failure
|
|---|
| 90 | Specific (mis)features of OS/2 port
|
|---|
| 91 | - setpriority, getpriority
|
|---|
| 92 | - system()
|
|---|
| 93 | - extproc on the first line
|
|---|
| 94 | - Additional modules:
|
|---|
| 95 | - Prebuilt methods:
|
|---|
| 96 | - Prebuilt variables:
|
|---|
| 97 | - Misfeatures
|
|---|
| 98 | - Modifications
|
|---|
| 99 | - Identifying DLLs
|
|---|
| 100 | - Centralized management of resources
|
|---|
| 101 | Perl flavors
|
|---|
| 102 | - perl.exe
|
|---|
| 103 | - perl_.exe
|
|---|
| 104 | - perl__.exe
|
|---|
| 105 | - perl___.exe
|
|---|
| 106 | - Why strange names?
|
|---|
| 107 | - Why dynamic linking?
|
|---|
| 108 | - Why chimera build?
|
|---|
| 109 | ENVIRONMENT
|
|---|
| 110 | - PERLLIB_PREFIX
|
|---|
| 111 | - PERL_BADLANG
|
|---|
| 112 | - PERL_BADFREE
|
|---|
| 113 | - PERL_SH_DIR
|
|---|
| 114 | - USE_PERL_FLOCK
|
|---|
| 115 | - TMP or TEMP
|
|---|
| 116 | Evolution
|
|---|
| 117 | - Text-mode filehandles
|
|---|
| 118 | - Priorities
|
|---|
| 119 | - DLL name mangling: pre 5.6.2
|
|---|
| 120 | - DLL name mangling: 5.6.2 and beyond
|
|---|
| 121 | - DLL forwarder generation
|
|---|
| 122 | - Threading
|
|---|
| 123 | - Calls to external programs
|
|---|
| 124 | - Memory allocation
|
|---|
| 125 | - Threads
|
|---|
| 126 | BUGS
|
|---|
| 127 | AUTHOR
|
|---|
| 128 | SEE ALSO
|
|---|
| 129 |
|
|---|
|
|---|