X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/6f1e9ccb0e063f83e1ecbfb9a5a01f6f3c66dce0..0e1658289f9097483ef0df19536b15fbc6a92511:/README.os2 diff --git a/README.os2 b/README.os2 index 778d958..4642383 100644 --- a/README.os2 +++ b/README.os2 @@ -151,7 +151,7 @@ versions of EMX. =item * -You need a separate perl executable F (see L) +You need a separate perl executable F (see L) if you want to use PM code in your application (as Perl/Tk or OpenGL Perl modules do) without having a text-mode window present. @@ -162,7 +162,7 @@ Using F avoids such a degradation. =item * There is no simple way to access WPS objects. The only way I know -is via C and C extensions (see L, L). +is via C and C extensions (see L, L). However, we do not have access to convenience methods of Object-REXX. (Is it possible at all? I know of no Object-REXX API.) The C extension (currently in alpha-text) @@ -196,7 +196,7 @@ Cf. L. EMX runtime is required (may be substituted by RSX). Note that it is possible to make F to run under DOS without any -external support by binding F/F to it, see L. Note +external support by binding F/F to it, see C. Note that under DOS for best results one should use RSX runtime, which has much more functions working (like C, C and so on). In fact RSX is required if there is no VCPI present. Note the @@ -264,7 +264,7 @@ either in the wired-in-during-compile locations (usually F), or in configurable location (see L<"PERL_SH_DIR">). For best results use EMX pdksh. The standard binary (5.2.14 or later) runs -under DOS (with L) as well, see +under DOS (with L) as well, see http://www.ilyaz.org/software/os2/ @@ -315,7 +315,7 @@ or whatever method you prefer. There are also endless possibilities to use I of 4os2, I of WPS and so on... However, if you use *nixish shell (like F supplied in the binary distribution), -you need to follow the syntax specified in L. +you need to follow the syntax specified in L. Note that B<-S> switch supports scripts with additional extensions F<.cmd>, F<.btm>, F<.bat>, F<.pl> as well. @@ -404,11 +404,12 @@ there is an executable file F I on C. In other words, C is essentially searched twice: once by the OS for an executable, then by Perl for scripts. -Note also that executable files on OS/2 can have an arbitrary extension, -but F<.exe> will be automatically appended if no dot is present in the name. -The workaround is as simple as that: since F and F denote the -same file (at list on FAT and HPFS file systems), to start an executable residing in file F (no -extension) give an argument C (dot appended) to system(). +Note also that executable files on OS/2 can have an arbitrary extension, but +F<.exe> will be automatically appended if no dot is present in the name. The +workaround is as simple as that: since F and F denote the same +file (at list on FAT and HPFS file systems), to start an executable residing in +file F (no extension) give an argument C (dot +appended) to system(). Perl will start PM programs from VIO (=text-mode) Perl process in a separate PM session; @@ -435,7 +436,7 @@ managed to goof. C<;-)> =item * Did you run your programs with C<-w> switch? See -L. +L2 (and DOS) programs under Perl>. =item * @@ -557,7 +558,7 @@ of this file. B. Because of a typo the binary installer of 5.00305 would install a variable C into F. Please -remove this variable and put C> instead. +remove this variable and put C> instead. =head2 Manual binary installation @@ -618,7 +619,7 @@ C in F, see L<"PERLLIB_PREFIX">. =item Additional Perl modules - unzip perl_ste.zip -d f:/perllib/lib/site_perl/5.15.0/ + unzip perl_ste.zip -d f:/perllib/lib/site_perl/5.21.9/ Same remark as above applies. Additionally, if this directory is not one of directories on @INC (and @INC is influenced by C), you @@ -1015,12 +1016,12 @@ The reasons for most important skipped tests are: =over 4 -=item 18 +=item Z<>18 Checks C and C of C - unfortunately, HPFS provides only 2sec time granularity (for compatibility with FAT?). -=item 25 +=item Z<>25 Checks C on a filehandle just opened for write - I do not know why this should or should not work. @@ -1061,7 +1062,7 @@ Run to convert perl utilities to F<.cmd> files and put them on PATH. You need to put F<.EXE>-utilities on path manually. They are installed in C<$prefix/bin>, here C<$prefix> is what you gave to -F, see L. +F, see L. If you use C, either move the installed F<*/man/> directories to your C, or modify C to match the location. (One @@ -1111,7 +1112,7 @@ named accordingly. Fully build and test the Perl distribution. Make sure that no tests are failing with C and C targets; fix the bugs in Perl and the Perl test suite detected by these tests. Make sure that C -make target runs as clean as possible. Check that C +make target runs as clean as possible. Check that F runs fine. =item 2. @@ -1264,7 +1265,7 @@ redirect the new version of Perl to a new location, and copy the installed files to this new location. Redo the tests to make sure that the versions of modules inherited from older versions of Perl are not needed. -Actually, the log output of L during the step 6 gives a very detailed +Actually, the log output of L during the step 6 gives a very detailed info about which modules are loaded from which place; so you may use it as an additional verification tool. @@ -1409,7 +1410,8 @@ For best results compile the C file below with the same options as the Perl DLL. However, a lot of functionality will work even if the executable is not an EMX applications, e.g., if compiled with - gcc -Wall -DDOSISH -DOS2=1 -O2 -s -Zomf -Zsys perl-starter.c -DPERL_DLL_BASENAME=\"perl312F\" -Zstack 8192 -Zlinker /PM:VIO + gcc -Wall -DDOSISH -DOS2=1 -O2 -s -Zomf -Zsys perl-starter.c \ + -DPERL_DLL_BASENAME=\"perl312F\" -Zstack 8192 -Zlinker /PM:VIO Here is the sample C file: @@ -1461,7 +1463,7 @@ Here is the sample C file: if (_execname(buf, sizeof(buf) - 13) != 0) die_with("Can't find full path: ", strerror(errno), "", ""); - /* XXXX Fill `me' with new value */ + /* XXXX Fill 'me' with new value */ l = strlen(buf); while (l && buf[l-1] != '/' && buf[l-1] != '\\') l--; @@ -2217,8 +2219,7 @@ It is a VIO application. =head2 Why strange names? Since Perl processes the C<#!>-line (cf. -L, L, -L, +L, L, L), it should know when a program I. There is some naming convention which allows Perl to distinguish correct lines from wrong ones. The above names are @@ -2638,7 +2639,7 @@ I will include it into distribution. I have no need for such a module, so cannot test it. For the details of the current situation with calling external programs, -see L. Set us mention a couple +see L2 (and DOS) programs under Perl>. Set us mention a couple of features: =over 4 @@ -2700,7 +2701,7 @@ have a low probability of affecting small programs. =head1 BUGS This description is not updated often (since 5.6.1?), see F<./os2/Changes> -(L) for more info. +for more info. =cut