diff options
Diffstat (limited to 'README_d')
-rw-r--r-- | README_d/README.linux | 13 | ||||
-rw-r--r-- | README_d/README.pc | 147 | ||||
-rw-r--r-- | README_d/README.sgi | 32 | ||||
-rw-r--r-- | README_d/README.solaris | 37 | ||||
-rw-r--r-- | README_d/README.sony | 11 |
5 files changed, 190 insertions, 50 deletions
diff --git a/README_d/README.linux b/README_d/README.linux new file mode 100644 index 00000000..85973a2f --- /dev/null +++ b/README_d/README.linux @@ -0,0 +1,13 @@ +Thu Apr 17 14:41:17 EDT 1997 + +Some Linux systems, notably RedHat systems through RedHat 4.1, have the +symbolic links for /dev/stdin and /dev/stdout messed up. Specifically, +/dev/stdin is linked to ../proc/self/fd/1 and /dev/stdout to +../proc/self/fd/0. This is backwards. This causes strange behavior +when using those files from within gawk. + +Removing and redoing the symlinks fixes the problem. It is fixed in +post-4.1 RedHat Linux. + +Arnold Robbins +arnold@gnu.ai.mit.edu diff --git a/README_d/README.pc b/README_d/README.pc index 07ea334f..ddf2eb4b 100644 --- a/README_d/README.pc +++ b/README_d/README.pc @@ -1,8 +1,10 @@ This is the README for GNU awk 3.0 under OS/2 and DOS. - Gawk has been compiled and tested under OS/2 and DOS using the GNU -development tools from DJ Delorie (DJGPP, DOS-only) and Eberhard Mattes -(EMX, DOS and OS/2). Microsoft C can be used to build 16-bit versions + Gawk has been compiled and tested under OS/2, DOS, and Win32 using +the GNU development tools from DJ Delorie (DJGPP; DOS with special support +for long filenames under Win95) and Eberhard Mattes (EMX; OS/2, DOS, and +Win32 with rsxnt). Microsoft Visual C/C++ can be used to build a Win32 +version for Windows 95/NT, and MSC can be used to build 16-bit versions for DOS and OS/2. @@ -74,7 +76,7 @@ Kai Uwe Rommel <rommel@leo.org> maintains a (mostly OS/2) collection at http://www.leo.org/archiv/os2 or ftp://ftp.leo.org -It contains emx-compiled (32bit) versions of gawk for OS/2 and DOS, +It contains emx-compiled (32bit) versions of gawk for OS/2, DOS, and Win32, along with many OS/2 utilities. The djgpp collection at @@ -86,13 +88,73 @@ contains a djgpp-compiled (32bit) version of gawk, along with many djgpp-compiled utilities. -2. An sh-like shell may be useful for awk programming (and is essential +2. The following table illustrates some of the differences among the various +compiled versions of gawk. For example, the djgpp version runs on all the +systems, but with differing capabilities: it supports long filenames under +Win-95 but not under NT, and it runs as a DPMI application under OS/2 (which +translates into "works in the DOS-box under OS/2, but not as a true OS/2 +application"). + + DOS Win/WfW Win95 NT OS/2 + ------------------------------------------------------- + djgpp | DPMI DPMI DPMI DPMI,NoLFN DPMI + emx(1) | N N N N OS2 + emxbnd(2) | VCPI,DPMI DPMI DPMI,NoLFN DPMI,NoLFN DPMI,OS2 + emxnt(3) | N N Win32 Win32 N + msc | 16 16 16,NoLFN 16,NoLFN 16,DOS + msc6bnd | 16 16 16,NoLFN 16,NoLFN 16,DOS,OS2 + msc6os2 | N N N N 16,OS2 + vcWin32 | N N Win32 Win32 N + + (1) Requires emxrt. + + (2) May run as a DPMI app in plain DOS and in a DOS-shell under OS/2 + or Windows, and as a true OS/2 application under OS/2. DPMI + requires rsxnt, and VCPI or use as an OS/2 app requires emxrt. + + (3) Requires rsxnt. + + 16 16bit; limited capacity, especially under DOS. + + DOS Runs as a DOS application. + + DPMI Dos Protected Mode Interface; program runs as a DOS application. + Under plain DOS, a DPMI server (such as csdpmi from the djgpp + archives) is required. See also VCPI. + + emxrt The emx runtime, available from LEO. + + N Not supported. + + NoLFN No long filename support. + + OS2 Runs as an OS/2 application. + + rsxnt Runtimes for use with DPMI or Win32. + + VCPI Virtual Control Program Interface; program runs as a DOS app. + Memory managers (such as emm386) may need adjustment. VCPI cannot + be used under OS/2, Win/WfW, Win-95, or NT. See also DPMI. + + Win32 Uses/supports Win32 features (such as long filenames). + +Reportedly, NTEmacs (another Win32 program) can run programs such as +Win32-gawk asynchronously. Currently, NTEmacs supports async subprocesses +only if the child is a Win32 app. Similarly, like native OS/2 versions are +a plus under OS/2 even for command-line programs, native Win32 versions are +nice to have under NT and Win95. + +Users interested in Win32 applications may also wish to examine the Cygnus +GNU-Win32 Project at http://www.cygnus.com. + + +3. An sh-like shell may be useful for awk programming (and is essential for running "make test"). Stewartson's sh (OS/2 and DOS) is a good choice, and may be found in GNUish. Stewartson's shell uses a configuration file (see "Command Line Building" in the sh manual page), and it may be necessary to edit the entry for -gawk. The following entries are suggested: +gawk. The following entries are suggested: -- $(EXTENDED_LINE) -- -- Comment only, not part of file -- gawk = unix ignoretype # emxbnd @@ -106,10 +168,9 @@ in the above, due to the way djgpp handles @-include files. Entries for other other utilities (such as sed and wc) may need to be edited in order to match your specific collection of programs. -As of Fall 1996, Daisuke Aoyama <jack@st.rim.or.jp> has a test version -of bash (compiled with djgpp). This version worked flawlessly in -tests with djgpp gawk and make. It was added to the djgpp collection -in Nov-96, and may also be obtained via +Daisuke Aoyama <jack@st.rim.or.jp> has ported Bash 1.14.7 to djgpp. +This version worked flawlessly in tests with djgpp gawk and make. It +is now part of the djgpp collection and also from http://www.st.rim.or.jp/~jack/alpha/ http://www.neongenesis.com/~jack/djgpp-work/alpha/ @@ -132,7 +193,7 @@ for emx-compiled programs (although djgpp-bash almost works with emx on DOS). GNU make is recommended if using djgpp-bash. -3. GNU make is available at LEO for OS/2 and in the djgpp collection +4. GNU make is available at LEO for OS/2 and in the djgpp collection for DOS. dmake is by Dennis Vadura (dvadura@watdragon.uwaterloo.ca), CS @@ -147,7 +208,7 @@ available at ftp://ftp.simtel.net/simtelnet/msdos/c/ndmake45.zip -4. Stewartson's shell contains sources for a setargv-replacement +5. Stewartson's shell contains sources for a setargv-replacement for MSC, which can add enhanced command-line processing capabilities to gawk. See the makefile. Note that there is a fatal bug in stdargv.c, triggered in the case of no closing quote. The following @@ -168,17 +229,14 @@ character on the command-line. Known bugs ---------- -1. DJGPP version 1 does not properly support signals. At the time of -this writing, Version 2 of djgpp was in beta, and promises better -signal support. However, as of 2.00.beta2, known bugs remain. - -2. DJGPP version 1 fails the fsbs test due to its broken handling of -the line in test/Makefile. Fixed in the version 2 betas. - -3. DJGPP 2.00.beta2 popen() fails on commands with pipes; edit the -makefile and use the popen in the pc directory. Fixed in beta3. +1. DJGPP version 1 has known problems with signals, and in the way it +handles command-lines. Older versions of this file contain notes on +other bugs, and on a few bugs uncovered in the v2 betas. Testing of +gawk with DJGPP v1 ended with gawk-3.0. djgpp-2.01 and djgpp ports of +GNU make 3.75 or later are strongly preferred, in part due to enhanced +support for sh-like shells. -4. emx does not support DST. On 2-Jan-96, Mattes writes: +2. emx does not support DST. On 2-Jan-96, Mattes writes: Quotation from ISO 9899-1990: @@ -205,31 +263,42 @@ information in a database (of sorts). In Solaris, for instance, it can be found in /usr/share/zoneinfo/*. The setting of the TZ environment variable (eg. TZ=US/Pacific) is then used to lookup the specifics for that locale. -5. The 16-bit DOS version can exhaust memory on scripts such as Henry -Spencer's "awf". Use GNU C versions if possible. +3. The 16-bit DOS version can exhaust memory on scripts such as Henry +Spencer's "awf". Use GNU C versions if possible. -6. builtin.c of gawk-3.0.1 triggers a bug in MSC 6.00A. The makefile +4. builtin.c of gawk-3.0.[1-3] triggers a bug in MSC 6.00A. The makefile works around the bug by compiling builtin.c without optimizations (-Od). In limited testing, it appears that inserting some dummy code in builtin.c can provide a better solution than disabling optimizations. -7. The support in djgpp for sh-like shells (as is needed in -test/getlnhd.awk) was in development as of Oct-96. Pre-release -versions of the library worked in our tests. Similarly, the makefiles -depend on features of djgpp-make which were available only in -pre-release versions. +5. There are problems with system() when using the rsx package with emx +programs (rsx is used in DPMI environments such as MS-Win). The djgpp +versions are preferred in this case. + +6. In contrast to getpid() on UNIX, the getpid() in Microsoft C/C++ 1.52 +(AKA 8.0) sometimes returns negative numbers. The DOS Gawk developers felt +that it was best to use Microsoft's built-in function; but at the same time, +we are placing this warning here, because this behavior will undoubtably be +surprising to many. + +7. MSC 6 fails the strftlng test. The funstack test exhausts memory +on the 16bit DOS versions. + + +Gawk-3.0.3 thanks +----------------- The DOS maintainers wish to express their thanks to Eli Zaretskii <eliz@is.elta.co.il> for his work and for the many conversations -concerning gawk-3.0.1, make, and djgpp. +concerning gawk-3.0, make, and djgpp. His FAQ for djgpp is essential +reading, and he was always willing to answer our questions (even when +we didn't read the relevant portions of the FAQ :). -8. There are problems with system() when using the rsx package with emx -programs (rsx is used in DPMI environments such as MS-Win). The djgpp -versions are preferred in this case. +We are indebted to Juan Grigera <j-grigera@usa.net> for the +Visual C++ target, and for additional help on changes for Win32. ---- - If you have any problems with the DOS or OS/2 versions of Gawk, please send bug reports (along with the version and compiler used) to @@ -237,3 +306,11 @@ please send bug reports (along with the version and compiler used) to or Kai Uwe Rommel, rommel@ars.de (OS/2 or bound versions) Darrel Hankerson, hankedr@mail.auburn.edu + +Support for Win32 started in gawk-3.0.3. Reports concerning the emx +version using rsxnt (emxnt) should go to Kai Uwe Rommel. Reports on +the Visual C++ version (vcWin32) may be sent to + + Juan Grigera, j-grigera@usa.net (Visual C++ version) + +with a copy to Scott Deifik. diff --git a/README_d/README.sgi b/README_d/README.sgi index 49a5679c..69b11cd5 100644 --- a/README_d/README.sgi +++ b/README_d/README.sgi @@ -1,18 +1,20 @@ -Tue Sep 10 08:53:46 EDT 1996 +From emory!hawkwind.utcs.toronto.edu!cks Mon Dec 30 20:12:35 1996 +Return-Path: <emory!hawkwind.utcs.toronto.edu!cks> +To: arnold@skeeve.atl.ga.us (Arnold D. Robbins) +Subject: Re: gawk regex bug +In-Reply-To: Your message of Tue, 30 Jul 1996 21:45:00 -0400. + <m0ulQME-000GWyC@skeeve.atl.ga.us> +Date: Mon, 30 Dec 1996 19:37:30 -0500 +From: Chris Siebenmann <emory!hawkwind.utcs.toronto.edu!cks> +Message-Id: <96Dec30.193738est.24603@hawkwind.utcs.utoronto.ca> +Status: OR +Content-Length: 196 +X-Lines: 5 +X-Display-Position: 2 -Gawk 3.0.x is known to be broken on 64-bit SGI machines running IRIX 6.2. + The latest in my 'gawk on SGIs' stuff: with the newest SGI compilers +(MIPSPro 7.1, just released) gawk 3.0 compiles and passes the selftests +even at the highest (-O3) optimization level. -1) It needs to be compiled with the native cc, not gcc. + - cks -2) Even if compiled with the native cc, the -32 option must be used. - If not, the gensub and gnu regex tests fail. - -I don't have access to an IRIX 6.x machine, so I am not able to track -down the problem. If any kind soul is able to run gawk from a debugger -and figure out what the problem(s) are, and would let me know (and supply -patches!), I'd greatly appreciate it. - -Thanks! - -Arnold Robbins -arnold@gnu.ai.mit.edu diff --git a/README_d/README.solaris b/README_d/README.solaris new file mode 100644 index 00000000..e83d57e5 --- /dev/null +++ b/README_d/README.solaris @@ -0,0 +1,37 @@ +From dragon!lehman.com!carson Fri Feb 7 01:12:09 1997 +Return-Path: <dragon!lehman.com!carson> +From: carson@lehman.com +Date: Fri, 7 Feb 1997 01:05:58 -0500 +Message-ID: <199702070605.BAA09185@dragon.lehman.com> +To: arnold@gnu.ai.mit.edu +Subject: Solaris 2.5.1 x86 bug in gawk-3.0.2 +Reply-To: carson@lehman.com +Status: R +Content-Length: 630 +X-Lines: 23 +X-Display-Position: 0 + + +awktab.c has the following bogus logic: + +#ifndef alloca +#ifdef __GNUC__ +#define alloca __builtin_alloca +#else /* not GNU C. */ +#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi) +#include <alloca.h> +#else /* not sparc */ + +Solaris x86 obviously dosn't define sparc or __sparc. + +What you _meant_ to say was: + +if (defined(__sun) && defined(__SVR4)) + +(which identifies Solaris 2.x under both Sun's cc and gcc) + +-- +Carson Gaspar -- carson@cs.columbia.edu carson@lehman.com +http://www.cs.columbia.edu/~carson/home.html +<This is the boring business .sig - no outre sayings here> + diff --git a/README_d/README.sony b/README_d/README.sony new file mode 100644 index 00000000..32af9aa5 --- /dev/null +++ b/README_d/README.sony @@ -0,0 +1,11 @@ +Sun Jan 19 23:13:50 EST 1997 + +> Machine: SONY NWS-5000 (MIPS r4000) +> OS : NEWS-OS 4.2.1 (4.3BSD compatible) +> This OS doesn't have `uname' +> Tools : gcc-2.7.2.1, bison-1.25, cmp-2.7, bash-2.0 + +This system has the same problem with the test/tweakfld case that Ultrix MIPS +has. See the README.ultrix file for details. + +Arnold Robbins |