diff -acprNC5 gettext-0.10.37.orig/djgpp/config.bat gettext-0.10.37/djgpp/config.bat
*** gettext-0.10.37.orig/djgpp/config.bat	Fri Mar 16 18:35:30 2001
--- gettext-0.10.37/djgpp/config.bat	Sat Apr 21 03:24:52 2001
*************** test -f %XSRC%/po/Makefile.in.in
*** 65,75 ****
  if not errorlevel 1 mv -f %XSRC%/po/Makefile.in.in %XSRC%/po/Makefile.in-in
  
  Rem Let libtool use _libs all the time.
  test -f %XSRC%/ltconfig.orig
  if errorlevel 1 update %XSRC%/ltconfig %XSRC%/ltconfig.orig
! sed "/objdir=/s|\.libs|_libs|" %XSRC%/ltconfig > ltconfig.tmp
  if errorlevel 1 goto SedError
  update ltconfig.tmp %XSRC%/ltconfig
  rm ltconfig.tmp
  
  Rem While building the binaries in src/ subdir an intermediary
--- 65,75 ----
  if not errorlevel 1 mv -f %XSRC%/po/Makefile.in.in %XSRC%/po/Makefile.in-in
  
  Rem Let libtool use _libs all the time.
  test -f %XSRC%/ltconfig.orig
  if errorlevel 1 update %XSRC%/ltconfig %XSRC%/ltconfig.orig
! sed "/objdir=/s|\.libs|_libs|" %XSRC%/ltconfig.orig > ltconfig.tmp
  if errorlevel 1 goto SedError
  update ltconfig.tmp %XSRC%/ltconfig
  rm ltconfig.tmp
  
  Rem While building the binaries in src/ subdir an intermediary
*************** Rem file called po-gram-gen2.h is genera
*** 77,87 ****
  Rem Both resolve to the same 8.3 filename. po-gram-gen2.h will
  Rem be renamed to po-gram_gen2.h and src/po-lex.c must be fixed
  Rem accordingly.
  test -f %XSRC%/src/po-lex.orig
  if errorlevel 1 update %XSRC%/src/po-lex.c %XSRC%/src/po-lex.orig
! sed "s/po-gram-gen2.h/po-gram_gen2.h/g" %XSRC%/src/po-lex.c > po-lex.tmp
  if errorlevel 1 goto SedError
  update ./po-lex.tmp %XSRC%/src/po-lex.c
  rm ./po-lex.tmp
  
  Rem This is required because DOS/Windows are case-insensitive
--- 77,87 ----
  Rem Both resolve to the same 8.3 filename. po-gram-gen2.h will
  Rem be renamed to po-gram_gen2.h and src/po-lex.c must be fixed
  Rem accordingly.
  test -f %XSRC%/src/po-lex.orig
  if errorlevel 1 update %XSRC%/src/po-lex.c %XSRC%/src/po-lex.orig
! sed "s/po-gram-gen2.h/po-gram_gen2.h/g" %XSRC%/src/po-lex.orig > po-lex.tmp
  if errorlevel 1 goto SedError
  update ./po-lex.tmp %XSRC%/src/po-lex.c
  rm ./po-lex.tmp
  
  Rem This is required because DOS/Windows are case-insensitive
diff -acprNC5 gettext-0.10.37.orig/djgpp/config.in gettext-0.10.37/djgpp/config.in
*** gettext-0.10.37.orig/djgpp/config.in	Fri Mar 23 15:36:48 2001
--- gettext-0.10.37/djgpp/config.in	Sat Apr 21 03:24:52 2001
*************** lispdir = \\$(prefix)/gnu/emacs/site-lis
*** 13,31 ****
    s,\\.new\\.,_new.,g\
    s,\\.old\\.,_old.,g\
    s,\\.tab\\.c,_tab.c,g\
    s,\\.tab\\.h,_tab.h,g\
    @append_list_of_renamed_files@
    /^TESTS[ 	]*=/ s,plural-\\([1-9]\\+\\),plural.\\1,g\
    /^install-info-am:/,/^$/ {\
      /@list=/ s,\\\$(INFO_DEPS),& gettext.i,\
      s,file-\\[0-9\\]\\[0-9\\],& \\$\\$file[0-9] \\$\\$file[0-9][0-9],\
    }\
!   /^iso-apdx\\.texi *	*:.*$/ {\
!     s,iso-apdx,\\$(srcdir)/&,g\
      s,ISO_639,\\$(srcdir)/&,\
    }\
    /^# Some rules for yacc handling\\./,$ {\
      /\\\$(YACC)/ a\\\\\
  	-@test -f y.tab.c && mv -f y.tab.c y_tab.c\\\\\
  	-@test -f y.tab.h && mv -f y.tab.h y_tab.h\
    }\
--- 13,38 ----
    s,\\.new\\.,_new.,g\
    s,\\.old\\.,_old.,g\
    s,\\.tab\\.c,_tab.c,g\
    s,\\.tab\\.h,_tab.h,g\
    @append_list_of_renamed_files@
+   /^html[ 	]*:/ s,split,monolithic,\
+   /^install-html[ 	]*:/ s,split,monolithic,\
+   /^uninstall-html[ 	]*:/ s,split,monolithic,\
    /^TESTS[ 	]*=/ s,plural-\\([1-9]\\+\\),plural.\\1,g\
    /^install-info-am:/,/^$/ {\
      /@list=/ s,\\\$(INFO_DEPS),& gettext.i,\
      s,file-\\[0-9\\]\\[0-9\\],& \\$\\$file[0-9] \\$\\$file[0-9][0-9],\
    }\
!   /^iso-639\\.texi *	*:.*$/ {\
!     s,iso-639,\\$(srcdir)/&,g\
      s,ISO_639,\\$(srcdir)/&,\
    }\
+   /^iso-3166\\.texi *	*:.*$/ {\
+     s,iso-3166,\\$(srcdir)/&,g\
+     s,ISO_3166,\\$(srcdir)/&,\
+   }\
    /^# Some rules for yacc handling\\./,$ {\
      /\\\$(YACC)/ a\\\\\
  	-@test -f y.tab.c && mv -f y.tab.c y_tab.c\\\\\
  	-@test -f y.tab.h && mv -f y.tab.h y_tab.h\
    }\
diff -acprNC5 gettext-0.10.37.orig/djgpp/config.site gettext-0.10.37/djgpp/config.site
*** gettext-0.10.37.orig/djgpp/config.site	Fri Mar 16 18:29:20 2001
--- gettext-0.10.37/djgpp/config.site	Sat Apr 21 03:22:10 2001
*************** ac_cv_path_EMACS=${EMACS='/dev/env/DJDIR
*** 31,40 ****
--- 31,43 ----
  # These are set here so the generated libtool will be good
  # for every DJGPP installation, not only the one where the
  # package was configured.
  NM=${NM='nm'}
  LD=${LD='ld'}
+ DVIPS=${DVIPS='/dev/env/DJDIR/bin/dvips'}
+ TEXI2HTML=${TEXI2HTML='/dev/env/DJDIR/bin/texi2html'}
+ TEXI2PDF=${TEXI2PDF='/dev/env/DJDIR/bin/texi2pdf'}
  
  # We always use our own binaries.
  GMSGFMT=${GMSGFMT='msgfmt'}
  MSGFMT=${MSGFMT='msgfmt'}
  
diff -acprNC5 gettext-0.10.37.orig/djgpp/fnchange.in gettext-0.10.37/djgpp/fnchange.in
*** gettext-0.10.37.orig/djgpp/fnchange.in	Fri Mar 23 15:36:48 2001
--- gettext-0.10.37/djgpp/fnchange.in	Sat Apr 21 03:24:52 2001
***************
*** 1,7 ****
--- 1,23 ----
  # This is a template from which fnchange.lst is generated.
  @V@/config.h.in           @V@/config.h-in
+ @V@/doc/gettext_1.html    @V@/doc/gtxt_1.html
+ @V@/doc/gettext_2.html    @V@/doc/gtxt_2.html
+ @V@/doc/gettext_3.html    @V@/doc/gtxt_3.html
+ @V@/doc/gettext_4.html    @V@/doc/gtxt_4.html
+ @V@/doc/gettext_5.html    @V@/doc/gtxt_5.html
+ @V@/doc/gettext_6.html    @V@/doc/gtxt_6.html
+ @V@/doc/gettext_7.html    @V@/doc/gtxt_7.html
+ @V@/doc/gettext_8.html    @V@/doc/gtxt_8.html
+ @V@/doc/gettext_9.html    @V@/doc/gtxt_9.html
+ @V@/doc/gettext_10.html   @V@/doc/gtxt_10.html
+ @V@/doc/gettext_11.html   @V@/doc/gtxt_11.html
+ @V@/doc/gettext_12.html   @V@/doc/gtxt_12.html
+ @V@/doc/gettext_13.html   @V@/doc/gtxt_13.html
+ @V@/doc/gettext_14.html   @V@/doc/gtxt_14.html
+ @V@/doc/gettext_foot.html @V@/doc/gtxt_foot.html
+ @V@/doc/gettext_toc.html  @V@/doc/gtxt_toc.html
  @V@/po/Makefile.in.in     @V@/po/Makefile.in-in
  @V@/tests/gettext-1       @V@/tests/gettext.1
  @V@/tests/gettext-2       @V@/tests/gettext.2
  @V@/tests/msgcmp-1        @V@/tests/msgcmp.1
  @V@/tests/msgcmp-2        @V@/tests/msgcmp.2
diff -acprNC5 gettext-0.10.37.orig/djgpp/Makefile.maint gettext-0.10.37/djgpp/Makefile.maint
*** gettext-0.10.37.orig/djgpp/Makefile.maint	Fri Mar 23 15:36:48 2001
--- gettext-0.10.37/djgpp/Makefile.maint	Sat Apr 21 03:24:52 2001
*************** config.sed: config.in fnchange.in
*** 15,25 ****
  	    -e 's|[ ]\+.*/|,|' \
  	    -e 's|$$|,g\\\\\\|' \
  	    -e 's|^.*/|  s,|' \
  	    -e 's|^#.*$$|/@append_list_of_renamed_files@/ c\\|' \
  	  $(srcdir)/fnchange.in > t-script.sed
! 	sed '$$ s|\\||' t-script.sed > script.sed
  	sed -f script.sed $(srcdir)/config.in > t-$@
  	mv t-$@ $@
  	rm -f t-script.sed script.sed
  
  fnchange.lst: fnchange.in $(top_srcdir)/configure.in
--- 15,28 ----
  	    -e 's|[ ]\+.*/|,|' \
  	    -e 's|$$|,g\\\\\\|' \
  	    -e 's|^.*/|  s,|' \
  	    -e 's|^#.*$$|/@append_list_of_renamed_files@/ c\\|' \
  	  $(srcdir)/fnchange.in > t-script.sed
! 	sed \
! 	    -e '/gettext_.*\.html/d' \
! 	    -e '$$ s|\\||' \
! 	  t-script.sed > script.sed
  	sed -f script.sed $(srcdir)/config.in > t-$@
  	mv t-$@ $@
  	rm -f t-script.sed script.sed
  
  fnchange.lst: fnchange.in $(top_srcdir)/configure.in
diff -acprNC5 gettext-0.10.37.orig/djgpp/README.in gettext-0.10.37/djgpp/README.in
*** gettext-0.10.37.orig/djgpp/README.in	Fri Mar 16 18:28:54 2001
--- gettext-0.10.37/djgpp/README.in	Sat Apr 21 03:24:52 2001
*************** This is a port of GNU Gettext @VER@ to M
*** 4,17 ****
          TO USE THE GNU GETTEXT LIBRARY YOU **MUST** MODIFY YOUR C-LIBRARY.
          PLEASE, READ SECTION #2 (Installing the binary package) CAREFULLY
          TO LEARN HOW TO INSTALL THE GNU GETTEXT LIBRARY AND HOW TO CHANGE
          YOUR C-LIBRARY AND SYSTEM HEADER FILE.
          TO USE THE GNU GETTEXT LIBRARY YOU **MUST** DOWNLOAD AND INSTALL
!         LICV16B.ZIP TOO. THIS IS **NOT** OPTIONAL.
          IT IS NOT RECOMMED TO DOWNLOAD THE GNU DISTRIBUTION OF GETTEXT
          BECAUSE ONLY THE DJGPP PORT WILL CONTAIN THE REQUIRED HEADER AND
!         OBJECT FILE TO PATCH THE C LIBRARY.
  
  
  1.:     DJGPP specific changes.
          =======================
  
--- 4,17 ----
          TO USE THE GNU GETTEXT LIBRARY YOU **MUST** MODIFY YOUR C-LIBRARY.
          PLEASE, READ SECTION #2 (Installing the binary package) CAREFULLY
          TO LEARN HOW TO INSTALL THE GNU GETTEXT LIBRARY AND HOW TO CHANGE
          YOUR C-LIBRARY AND SYSTEM HEADER FILE.
          TO USE THE GNU GETTEXT LIBRARY YOU **MUST** DOWNLOAD AND INSTALL
!         LICV161B.ZIP OR A LATER VERSION TOO. THIS IS **NOT** OPTIONAL.
          IT IS NOT RECOMMED TO DOWNLOAD THE GNU DISTRIBUTION OF GETTEXT
          BECAUSE ONLY THE DJGPP PORT WILL CONTAIN THE REQUIRED HEADER AND
!         OBJECT FILE TO PATCH THE DJGPP C LIBRARY.
  
  
  1.:     DJGPP specific changes.
          =======================
  
*************** This is a port of GNU Gettext @VER@ to M
*** 23,47 ****
       1.1)  libc.a and system header changes.
          In conio.c, the BORLAND-compatibility gettext function has been renamed
          into _conio_gettext. In conio.h some code has been added to check if
          libintl.h is included or not by the same source file. If libintl.h is NOT
          included, the BORLAND-compatibility gettext function will be available as
!         gettext. If libintl.h has been included then the BORLAND-compatibility
!         gettext function will **ONLY** be available as _conio_gettext.
          The BORLAND-compatibility gettext function is now available as gettext
          and _conio_gettext.
       1.2)  GNU gettext library changes.
!         If both headers, libintl.h and conio.h, are included in the same source
          file the gettext keyword makes **ALWAYS** reference to the GNU gettext
          function and **NEVER** to the BORLAND-compatibility gettext function.
  
       2) The binary package gtxt@packageversion@b.zip contains all needed files to get NLS
          support for the following DJGPP ports:
            bison-1.28 (bsn128s.zip)
            enscript-1.5.0 (ens150s.zip)
            enscript-1.6.1 (ens161s.zip)
            fileutils-3.16 (fil316s.zip)
            grep-2.4 (grep24s.zip)
            id-utils-3.2 (idu32s.zip)
            make-3.79.1 (mak3791s.zip)
            recode-3.5 (rcode35s.zip)
            recode-3.6 (rcode36s.zip)
--- 23,50 ----
       1.1)  libc.a and system header changes.
          In conio.c, the BORLAND-compatibility gettext function has been renamed
          into _conio_gettext. In conio.h some code has been added to check if
          libintl.h is included or not by the same source file. If libintl.h is NOT
          included, the BORLAND-compatibility gettext function will be available as
!         gettext. If libintl.h has been included, then the BORLAND-compatibility
!         gettext function will no longer be available as gettext. Now the function
!         will **ONLY** be available as _conio_gettext.
          The BORLAND-compatibility gettext function is now available as gettext
          and _conio_gettext.
       1.2)  GNU gettext library changes.
!         If both headers, libintl.h and conio.h, are included by the same source
          file the gettext keyword makes **ALWAYS** reference to the GNU gettext
          function and **NEVER** to the BORLAND-compatibility gettext function.
  
       2) The binary package gtxt@packageversion@b.zip contains all needed files to get NLS
          support for the following DJGPP ports:
            bison-1.28 (bsn128s.zip)
            enscript-1.5.0 (ens150s.zip)
            enscript-1.6.1 (ens161s.zip)
+           enscript-1.6.2 (ens162s.zip)
            fileutils-3.16 (fil316s.zip)
+           fileutils-4.0 (fil40s-beta1.zip from http://www.phekda.freeserve.co.uk/richdawe/djgpp/fileutils/)
            grep-2.4 (grep24s.zip)
            id-utils-3.2 (idu32s.zip)
            make-3.79.1 (mak3791s.zip)
            recode-3.5 (rcode35s.zip)
            recode-3.6 (rcode36s.zip)
*************** This is a port of GNU Gettext @VER@ to M
*** 55,178 ****
  
          See section #4 for further information about this issue.
          To implement NLS support for one of those packages you will also need
          to download the following packages:
            gtxt@packageversion@b.zip (binaries of GNU Gettext @VER@)
!           licv16b.zip (binaries of GNU libiconv 1.6)
!           fil316b.zip  (binaries of GNU Fileutils 3.16 Date: 2000-05-30)
!           shl112b.zip  (binaries of GNU Sh-utils 1.12  Date: 2000-08-11)
  
  
  2.:     Installing the binary package.
          ==============================
  
! 2.1.:   To use this binary package you **MUST** install licv16b.zip or later
!         first. licv16b.zip provides the required functionality to recode the
          .mo files on-the-fly from the unix charsets used to create them to the
          dos codepages used to display them. Copy the binary distribution into
          the top DJGPP installation directory. If you are installing Gettext on
          a dual DOS/WINDOWS 9X systems, you should first turn off the generation
          of numeric tails for 8.3 aliases Windows creats for long file names.
          For information about how to do this, please read the DJGPP FAQ List
          V 2.30, chapter 22.19: "How to Set Up a Dual DOS/Windows Installation".
          It should be noticed that neither the libintl.a library nor the
!         binaries (xgettext.exe, gettext.exe, etc.) contain any code to handle
!         nuneric tails in short file names. This implies that if you install
!         the binary packages in a DOS box of Win9X (LFN) **WITHOUT** turning
!         off the numeric tail generation you will **NOT** be able to use NLS
!         on plain DOS. Once again: if you want NLS support on both Win9X **AND**
!         on plain DOS you **MUST** turn off the numeric tail generation **BEFORE**
!         installing the binary package. After having installed the package
!         you can turn on numerical tail generation again if you wish.
!         All this also applies to any other package that has been compiled with
!         NLS support. You **MUST** turn off numeric tail generation every time
!         you install a package that has been compiled with NLS or the binaries
!         will **NOT** be able to find their .mo files (translations) when you
!         switch to plain DOS.
! 
! 2.2.:   If you download the source distribution from one of the DJGPP archives,
!         just unzip it preserving the directory structure running *ONE* of the
!         following commands:
            unzip32 gtxt@packageversion@b.zip      or
            djtarx gtxt@packageversion@b.zip       or
            pkunzip -d gtxt@packageversion@b.zip
  
-         Source distributions downloaded from one of the GNU FTP sites need
-         some more work to unpack.  First, you *MUST* use the `djtar' program
-         to unzip the package.  That's because some file names in the official
-         distributions need to be changed to avoid problems on the various
-         platforms supported by DJGPP.  `djtar' can rename files on the fly
-         given a file with name mappings.  The distribution includes a file
-         `djgpp/fnchange.lst' with the necessary mappings.  So you need first
-         to retrieve that file, and then invoke `djtar' to unpack the
-         distribution.  Here's how:
- 
-           djtar -x -p -o @V@/djgpp/fnchange.lst @V@.tar.gz > lst
-           djtar -x -n lst @V@.tar.gz
- 
-         (The name of the distribution archive and the top-level directory will
-         be different for versions other than @VER@.)
- 
-         It is always recommended to download the DJGPP packages from some
-         Simtel.NET mirror and *not* the original GNU distribution because
-         only the binary distribution of the DJGPP port will contain the
-         files needed to patch libc.a. This are: conio.h and conio.o.
- 
  2.3.:   Changing libc.a and conio.h.
!         Apart from the ussual directories, the binary package will create the
          following directory:
            %DJDIR%/gnu/gtxt-@treeversion@/djgpp/djdev-2.03
          where %DJDIR% stands for the root of your DJGPP installation tree.
          Cd into the djdev-2.03 directory. You will find the following files:
            conio.diffs
            conio.h
            conio.o
          conio.diffs is a patch file that documents the changes I have done against
!         the files of the original djdev203.zip and djlsr203.zip distributions.
!         This file is not needed by the average user. conio.h is the modified header
!         and conio.o is the recompiled new conio.c file that will replace the old
!         conio.o contained in libc.a.
  
          For all commands that will follow now I will assume that you have
          cd'ed into the %DJDIR%/gnu/gtxt-@treeversion@/djgpp/djdev-2.03 directory.
          First, you should backup your old header and library. For this task,
!         run the commands:
            copy %DJDIR%\include\conio.h %DJDIR%\include\conio.bak
            copy %DJDIR%\lib\libc.a %DJDIR%\lib\libc.bak
          Substitute %DJDIR% by the path to your DJGPP installation.
  
          Now you can copy the new header into your include directory
          running the command:
            copy conio.h %DJDIR%\include
          Substitute %DJDIR% by the path to your DJGPP installation.
  
          Now you can substitute the old conio.o file in libc.a with the new one.
!         For this task you will need the ar program from binutils.
          Run the command:
            ar -rv %DJDIR%\lib\libc.a conio.o
          Substitute %DJDIR% by the path to your DJGPP installation.
          You are done.
  
! 2.4.:   Edit the djgpp.env file which is located in the top DJGPP
!         installation directory. Move to the first or global part
!         of your djgpp.env. The global part of your djgpp.env is
!         everything *BEFORE* the *FIRST* line that looks like:
  [xxxx]
!         where xxxx stands for the name of some DJGPP binary (usually this is bison).
!         Add the following line to the first part of your djgpp.env:
  
  +LANG=xx
  +LANGUAGE=yy:zz
  
!         The line must be completely shifted to the left in your djgpp.env file.
!         Please note the plus sign at the beginning of the line. This plus sign
          should **NOT** be omited or a lot of shell scripts, in this and in
          other packages, that try to reset this value will stop working. The
          LANG entry is obligatory, the LANGUAGE entry may be omited. The
          LANGUAGE variable allows you to select an alternate catalog that the
!         one stipulated by LANG. Replace xx, yy and zz by the language code of
!         the catalogs you want to use.
  
          Some examples:
          If you only want to use the catalog containig the translations for
          your mother tongue (in my case the spanish translations) the above
          lines will only use the LANG variable and will look like this:
--- 58,166 ----
  
          See section #4 for further information about this issue.
          To implement NLS support for one of those packages you will also need
          to download the following packages:
            gtxt@packageversion@b.zip (binaries of GNU Gettext @VER@)
!           licv161b.zip (binaries of GNU libiconv 1.6.1)
!           fil316b.zip  (binaries of GNU Fileutils 3.16 Timestamp: 2000-05-30)
!           shl112b.zip  (binaries of GNU Sh-utils 1.12  Timestamp: 2000-08-11)
  
  
  2.:     Installing the binary package.
          ==============================
  
! 2.1.:   To use this binary package you **MUST** install licv161b.zip or later
!         first. licv161b.zip provides the required functionality to recode the
          .mo files on-the-fly from the unix charsets used to create them to the
          dos codepages used to display them. Copy the binary distribution into
          the top DJGPP installation directory. If you are installing Gettext on
          a dual DOS/WINDOWS 9X systems, you should first turn off the generation
          of numeric tails for 8.3 aliases Windows creats for long file names.
          For information about how to do this, please read the DJGPP FAQ List
          V 2.30, chapter 22.19: "How to Set Up a Dual DOS/Windows Installation".
          It should be noticed that neither the libintl.a library nor the
!         binaries (xgettext.exe, gettext.exe, etc.) contain nor will ever contain
!         any code to handle nuneric tails in short file names. This implies that
!         if you install the binary packages in a DOS window of Win9X (LFN)
!         **WITHOUT** turning off the numeric tail generation you will **NOT** be
!         able to use NLS on plain DOS. Once again: if you want NLS support on
!         both Win9X **AND** on plain DOS you **MUST** turn off the numeric tail
!         generation **BEFORE** installing the binary package. After having
!         installed the package you can turn on numerical tail generation again
!         if you wish. All this also applies to any other package that has been
!         compiled with NLS support. You **MUST** turn off numeric tail generation
!         every time you install a package that has been compiled with NLS or the
!         binaries will **NOT** be able to find their .mo files (translations)
!         when you switch to plain DOS.
! 
! 2.2.:   Copy the binary distribution into the top DJGPP installation directory
!         and unzip the binary distribution running *ONE* of the following
!         commands:
            unzip32 gtxt@packageversion@b.zip      or
            djtarx gtxt@packageversion@b.zip       or
            pkunzip -d gtxt@packageversion@b.zip
  
  2.3.:   Changing libc.a and conio.h.
!         Apart from the usual directories, this binary package will create the
          following directory:
            %DJDIR%/gnu/gtxt-@treeversion@/djgpp/djdev-2.03
          where %DJDIR% stands for the root of your DJGPP installation tree.
          Cd into the djdev-2.03 directory. You will find the following files:
            conio.diffs
            conio.h
            conio.o
          conio.diffs is a patch file that documents the changes I have done against
!         the files of the original djdev203.zip and djlsr203.zip distributions
!         to remove the name clash between GNU gettext and BORLAND-compatibility
!         gettext functions. This file is not needed by the average user. conio.h
!         is the modified header and conio.o is the recompiled new conio.c file
!         that will replace the old conio.o contained in your libc.a.
  
          For all commands that will follow now I will assume that you have
          cd'ed into the %DJDIR%/gnu/gtxt-@treeversion@/djgpp/djdev-2.03 directory.
          First, you should backup your old header and library. For this task,
!         run the following commands:
            copy %DJDIR%\include\conio.h %DJDIR%\include\conio.bak
            copy %DJDIR%\lib\libc.a %DJDIR%\lib\libc.bak
          Substitute %DJDIR% by the path to your DJGPP installation.
  
          Now you can copy the new header into your include directory
          running the command:
            copy conio.h %DJDIR%\include
          Substitute %DJDIR% by the path to your DJGPP installation.
  
          Now you can substitute the old conio.o file in libc.a with the new one.
!         For this task you will need the `ar' program from binutils installed.
          Run the command:
            ar -rv %DJDIR%\lib\libc.a conio.o
+         This will replace in your libc.a the existing conio.o by this new one.
          Substitute %DJDIR% by the path to your DJGPP installation.
          You are done.
  
! 2.4.:   Edit the djgpp.env file which is located in the top DJGPP installation
!         directory. Move to the first or global part of your djgpp.env.
!         The global part of your djgpp.env is everything *BEFORE* the *FIRST*
!         line that looks like:
  [xxxx]
!         where xxxx stands for the name of some DJGPP binary (usually this is
!         bison). Add the following lines to the first part of your djgpp.env:
  
  +LANG=xx
  +LANGUAGE=yy:zz
  
!         The lines must be completely shifted to the left in your djgpp.env file.
!         Please note the plus sign at the beginning of the lines. This plus sign
!         allows you to overwrite the contain of the environment variable at the
!         command line or from inside a batch file or shell script. The plus sign
          should **NOT** be omited or a lot of shell scripts, in this and in
          other packages, that try to reset this value will stop working. The
          LANG entry is obligatory, the LANGUAGE entry may be omited. The
          LANGUAGE variable allows you to select an alternate catalog that the
!         one stipulated by LANG but the LANG variable *ALWAYS* determines the
!         the DOS codepage to be used to display the translations and can not be
!         omited or no tarnslations will be perfomed at all. Replace xx, yy and
!         zz by the language code of the catalogs you want to use.
  
          Some examples:
          If you only want to use the catalog containig the translations for
          your mother tongue (in my case the spanish translations) the above
          lines will only use the LANG variable and will look like this:
*************** This is a port of GNU Gettext @VER@ to M
*** 198,216 ****
          Please note that if you omit the LANG environment variable, the
          LANGUAGE variable will not be honuored at all. The LANG varaiable must
          always be set to your default catalog. With the aid of LANGUAGE you can
          select other catalogs apart of the default one. If for some reason you
          want to disable NLS, then you should comment out the LANG variable or
!         select 'C' as your catalog:
  +LANG=C
  
          Users not familiar with djgpp.env should refer to kb.info.
          This document can be read running the command:
            info -f kb -n DJGPP.ENV
  
! 2.5.:   To create an entry for the gettext info docs in your dir file
!         run from the top DJGPP installation directory the command:
            install-info --info-dir=./info ./info/gettext.info
  
  2.6.:   The binaries distributed in this package have NLS support.
          E.G. run the command:
            xgettext
--- 186,204 ----
          Please note that if you omit the LANG environment variable, the
          LANGUAGE variable will not be honuored at all. The LANG varaiable must
          always be set to your default catalog. With the aid of LANGUAGE you can
          select other catalogs apart of the default one. If for some reason you
          want to disable NLS, then you should comment out the LANG variable or
!         select 'C' (uppercase `c' character) as your catalog:
  +LANG=C
  
          Users not familiar with djgpp.env should refer to kb.info.
          This document can be read running the command:
            info -f kb -n DJGPP.ENV
  
! 2.5.:   To create an entry for the gettext info docs in your dir file run from
!         the top DJGPP installation directory the command:
            install-info --info-dir=./info ./info/gettext.info
  
  2.6.:   The binaries distributed in this package have NLS support.
          E.G. run the command:
            xgettext
*************** This is a port of GNU Gettext @VER@ to M
*** 223,266 ****
          ===================================
  
  3.1.:   To build the binaries you will need the following binary packages:
            djdev203.zip (NOT a prior version)
            bsh203b.zip  (NOT a prior version)
!           gcc2952b.zip, bnu2951b.zip, mak3791b.zip,
            fil316b.zip, shl112b.zip, txt20b.zip,
!           txi40b.zip, grep24b.zip, sed302b.zip,
!           licv16b.zip
  
!         If you want to run the check you will need also:
            dif272b.zip
  
!         All this packages can be found in the v2gnu directory of any
!         Simtel.NET mirror.
!         You must have licv16b.zip installed before configuring or compiling the
!         package or the configuration and build process will fail due to unresolved
!         references to libiconv.a
!         You will need bsh203b.zip and *NOT* a prior version or the build will fail.
!         The same applies to djdev203.zip. You *MUST* use the updated version of
!         fil316b.zip (date: 2000-05-30) and shl112b.zip (date: 2000-08-11).
!         This updated versions have been recompiled with djdev203.zip and know
!         about the "/dev/env" functionality introduced with djdev203.zip. All the
!         other packages are the ones I have used to build the binaries from this
!         sources. Previuos versions of this packages may do the job as well but
!         I have not tested this.
! 
! 3.2.:   Create a temporary directory. Copy the source package: gtxt@packageversion@s.zip
!         into the directory and unzip it runnig ONE of the following commands:
            unzip32 gtxt@packageversion@s.zip      or
            djtarx gtxt@packageversion@s.zip       or
            pkunzip -d gtxt@packageversion@s.zip
  
  3.3.:   This package is preconfigured for NLS support and for on-the-fly
!         recoding with the functionality provided by libiconv.a from licv16b.zip.
!         This implies that licv16b.zip *MUST* be installed *before* you try to
          compile the package or the build process will fail.
          It should be noticed that when you compile your own binaries with NLS
!         you must *always* link with libiconv.a
          If you compile this package with a later version of libc.a or if you
          prefer no NLS support at all you will have to reconfigure this package.
          The configuration batch file of this package, located in the djgpp
          directory, allows you to enable or disable NLS support and to compile
          from a different partition than from where the sources are located.
--- 211,280 ----
          ===================================
  
  3.1.:   To build the binaries you will need the following binary packages:
            djdev203.zip (NOT a prior version)
            bsh203b.zip  (NOT a prior version)
!           gcc2953b.zip, bnu210b.zip, mak3791b.zip,
            fil316b.zip, shl112b.zip, txt20b.zip,
!           txi40b.zip, grep24b.zip, sed302b.zip
!           and licv161b.zip
  
!         If you want to run the testsuite you will need also:
            dif272b.zip
  
!         All this packages can be found in the v2gnu directory of any Simtel.NET
!         mirror.
!         You must have licv161b.zip installed **BEFORE** configuring or compiling
!         the package or the configuration and build process will fail due to
!         unresolved references to libiconv.a. The libiconv library provides the
!         needed on-the-fly character set recode facility required to display the
!         text written using UNIX character sets on DOS systems where codepages
!         are used. You will need bsh203b.zip and **NOT** a prior version or the
!         build will fail. The same applies to djdev203.zip. You **MUST** use the
!         updated version of fil316b.zip (timestamp: 2000-05-30) and shl112b.zip
!         (timestamp: 2000-08-11). This updated versions have been recompiled with
!         djdev203.zip and know about the "/dev/env" functionality introduced with
!         djdev203.zip. All the other packages are the ones I have used to build
!         the binaries from this sources. Previuos versions of this packages may
!         do the job as well but I have not tested this.
! 
! 3.2.:   Create a temporary directory and copy the source package into the
!         directory. If you download the source distribution from one of the
!         DJGPP archives, just unzip it preserving the directory structure
!         running *ONE* of the following commands:
            unzip32 gtxt@packageversion@s.zip      or
            djtarx gtxt@packageversion@s.zip       or
            pkunzip -d gtxt@packageversion@s.zip
  
+         Source distributions downloaded from one of the GNU FTP sites need
+         some more work to unpack. First, you **MUST** use the `djtar' program
+         to unzip the package. That is because some file names in the official
+         distributions need to be changed to avoid problems on the various
+         platforms supported by DJGPP. `djtar' can rename files on the fly given
+         a file with name mappings. The distribution includes a file called
+         `djgpp/fnchange.lst' with the necessary mappings. So you need first to
+         retrieve that file, and then invoke `djtar' to unpack the distribution.
+         Here is how:
+ 
+           djtar -x -p -o @V@/djgpp/fnchange.lst @V@.tar.gz > lst
+           djtar -x -n lst @V@.tar.gz
+ 
+         (The name of the distribution archive and the top-level directory will
+         be different for versions other than @VER@.)
+ 
+         As long as djdev204 has not been released, it is always recommended to
+         download the DJGPP packages from some Simtel.NET mirror and *not* the
+         original GNU distribution. This is because only the binary distribution
+         of the DJGPP port will contain the files needed to patch libc.a.
+         This are: conio.h and conio.o.
+ 
  3.3.:   This package is preconfigured for NLS support and for on-the-fly
!         recoding with the functionality provided by libiconv.a from licv161b.zip.
!         This implies that licv161b.zip *MUST* be installed *BEFORE* you try to
          compile the package or the build process will fail.
          It should be noticed that when you compile your own binaries with NLS
!         you must *ALWAYS* link with libiconv.a.
          If you compile this package with a later version of libc.a or if you
          prefer no NLS support at all you will have to reconfigure this package.
          The configuration batch file of this package, located in the djgpp
          directory, allows you to enable or disable NLS support and to compile
          from a different partition than from where the sources are located.
*************** This is a port of GNU Gettext @VER@ to M
*** 277,305 ****
            djgpp\config no-NLS
  
          This step is **NOT** optional and the "distclean" option must be used.
          If you do not use the "distclean" option the config.cache file will not
          be deleted. In this case you are **NOT** reconfiguring because the
!         configuration informations are read from the cache file instead of being
!         newly computed.
          You **MUST** specify "no-NLS" or config.bat will default to "NLS".
          To build the programs in a directory other than where the sources are,
          you must add a parameter that specifies the source directory,
          e.g:
            x:\src\gnu\gtxt-@treeversion@\djgpp\config x:/src/gnu/gtxt-@treeversion@ no-NLS
  
!         Lets assume you want to build the binaries in a directory placed on a 
          different drive (z:\build in this case) from where the sources are,
          then you will run the following commands:
            z:
            cd \build
            x:\src\gnu\gtxt-@treeversion@\djgpp\config x:/src/gnu/gtxt-@treeversion@ no-NLS
  
!         If you want NLS support you will omit "no-NLS" or replace it by
!         "NLS" in the above examples.
!         The order of the "NLS" option and the srcdir option does *NOT* matter.
!         You *MUST* use forward slashes to specify the source directory.
  
          This batch file will set same environment variables, make MSDOS
          specific modifications to the Makefile.ins and supply all other
          needed options to the configure script.
  
--- 291,319 ----
            djgpp\config no-NLS
  
          This step is **NOT** optional and the "distclean" option must be used.
          If you do not use the "distclean" option the config.cache file will not
          be deleted. In this case you are **NOT** reconfiguring because the
!         configuration informations are read from the cache file instead of
!         being newly computed.
          You **MUST** specify "no-NLS" or config.bat will default to "NLS".
          To build the programs in a directory other than where the sources are,
          you must add a parameter that specifies the source directory,
          e.g:
            x:\src\gnu\gtxt-@treeversion@\djgpp\config x:/src/gnu/gtxt-@treeversion@ no-NLS
  
!         Let us assume you want to build the binaries in a directory placed on a
          different drive (z:\build in this case) from where the sources are,
          then you will run the following commands:
            z:
            cd \build
            x:\src\gnu\gtxt-@treeversion@\djgpp\config x:/src/gnu/gtxt-@treeversion@ no-NLS
  
!         If you want NLS support you will simply omit "no-NLS" or replace it by
!         "NLS" in the above examples. The order of the "NLS" option and the
!         srcdir option does *NOT* matter. You *MUST* use forward slashes to
!         specify the source directory.
  
          This batch file will set same environment variables, make MSDOS
          specific modifications to the Makefile.ins and supply all other
          needed options to the configure script.
  
*************** This is a port of GNU Gettext @VER@ to M
*** 320,330 ****
  
          This will install the products into your DJGPP installation tree given
          by the default prefix "/dev/env/DJDIR". If you prefer to install them
          into some other directory you will have to set prefix to the appropiate
          value. Replace xx, yy and zz by the language codes of the catalogs you
!         want to install.
  
  3.7.:   Now you have to set the LANG environment variable.
          Please refer to section 2.3 for further information.
  
  
--- 334,344 ----
  
          This will install the products into your DJGPP installation tree given
          by the default prefix "/dev/env/DJDIR". If you prefer to install them
          into some other directory you will have to set prefix to the appropiate
          value. Replace xx, yy and zz by the language codes of the catalogs you
!         want to install. By default all catalogs will be installed.
  
  3.7.:   Now you have to set the LANG environment variable.
          Please refer to section 2.3 for further information.
  
  
*************** This is a port of GNU Gettext @VER@ to M
*** 334,344 ****
--- 348,360 ----
          This package contains all needed files to get NLS support for the
          following DJGPP ports:
            bison-1.28 (bsn128s.zip)
            enscript-1.5.0 (ens150s.zip)
            enscript-1.6.1 (ens161s.zip)
+           enscript-1.6.2 (ens162s.zip)
            fileutils-3.16 (fil316s.zip)
+           fileutils-4.0 (fil40s-beta1.zip from http://www.phekda.freeserve.co.uk/richdawe/djgpp/fileutils/)
            grep-2.4 (grep24s.zip)
            id-utils-3.2 (idu32s.zip)
            make-3.79.1 (mak3791s.zip)
            recode-3.5 (rcode35s.zip)
            recode-3.6 (rcode36s.zip)
*************** This is a port of GNU Gettext @VER@ to M
*** 348,378 ****
            sh-utils-2.0j (shl20js.zip)
            tar-1.12a (tar112as.zip)
            texinfo-4.0 (txi40s.zip)
            textutils-2.0 (txt20s.zip)
  
!         The files needed are placed in the NLS_for_djgpp_packages tree located
!         in djgpp directory. I will explane this using bison-1.28 as example.
!         This means that file names or command names may change from port to port.
!         The configuration batch files and the sed scripts of every package have
!         the same name as the original ones that this ones will replace. If you
!         are familiar with the original package you shall have no difficulties
!         in reconfigure the package for NLS support.
!         Please inspect the tree NLS_for_djgpp_packages to see what files will
!         be replaced.
  
  4.1.:   To reconfigure and recompile a source package with NLS support you
!         *MUST* install the gtxt@packageversion@b.zip and licv16b.zip packages
          first. NLS support will **NOT** work with any prior version of the above
!         mentioned packages. Before installing gtxt@packageversion@b.zip and licv16b.zip
          you *MUST* deinstall the old packages if you ever have installed them.
          For this purpose use the provided manifest files from the old packages.
!         Old packages means previous beta releases of gtxt@packageversion@b.zip and licv16b.zip
          *AND* also previous versions of gettext like gettext 0.10.32, etc.
  
! 4.2.:   We will assume that the required sources will be unzipped into
!         a directory called src.
          Copy bsn128s.zip into /src and decompress them preserving the directory
          structure running the command:
            unzip32 *.zip
          This will create the directory:
            /src/gnu/bison-1.28
--- 364,395 ----
            sh-utils-2.0j (shl20js.zip)
            tar-1.12a (tar112as.zip)
            texinfo-4.0 (txi40s.zip)
            textutils-2.0 (txt20s.zip)
  
!         All the files needed are contained in the binary package and will be
!         placed in the %DJDIR%/gnu/gtxt-010.36/djgpp/NLS_for_djgpp_packages tree
!         located in your DJGPP installation tree.
!         I will explane this using bison-1.28 as example. This means that file
!         names or command names may change from port to port. The configuration
!         batch files and the sed scripts of every package have the same name as
!         the original ones that this ones will replace. If you are familiar with
!         the original package you shall have no difficulties in reconfigure the
!         package for NLS support. Please inspect the tree NLS_for_djgpp_packages
!         to see what files will be replaced.
  
  4.1.:   To reconfigure and recompile a source package with NLS support you
!         *MUST* install the gtxt@packageversion@b.zip and licv161b.zip packages
          first. NLS support will **NOT** work with any prior version of the above
!         mentioned packages. Before installing gtxt@packageversion@b.zip and licv161b.zip
          you *MUST* deinstall the old packages if you ever have installed them.
          For this purpose use the provided manifest files from the old packages.
!         Old packages means previous beta releases of gtxt@packageversion@b.zip and licv161b.zip
          *AND* also previous versions of gettext like gettext 0.10.32, etc.
  
! 4.2.:   We will assume that the required sources will be unzipped into a
!         directory called src.
          Copy bsn128s.zip into /src and decompress them preserving the directory
          structure running the command:
            unzip32 *.zip
          This will create the directory:
            /src/gnu/bison-1.28
*************** This is a port of GNU Gettext @VER@ to M
*** 414,429 ****
          the LANGUAGE and/or LANG variable or the tests will probably fail.
  
  4.6.:   Now the products can be installed by running the command:
            make install CATALOGS="xx.gmo yy.gmo"
  
!         Replace xx and yy by the appropiate language codeof the catalogs you
          want to install. If you omit CATALOGS then all catalogs will be installed.
          You can install into a temp directory if you want by specifying a prefix:
            make install prefix=z:/tmp CATALOGS="xx.gmo yy.gmo zz.gmo"
  
! 4.7.:   Now you have to set the LANG environment variable.
          Please refer to 2.4.
  
  
          Send GNU gettext specific bug reports to <bug-gnu-utils@gnu.org>.
          Send suggestions and bug reports concerning the DJGPP port to
--- 431,446 ----
          the LANGUAGE and/or LANG variable or the tests will probably fail.
  
  4.6.:   Now the products can be installed by running the command:
            make install CATALOGS="xx.gmo yy.gmo"
  
!         Replace xx and yy by the appropiate language code of the catalogs you
          want to install. If you omit CATALOGS then all catalogs will be installed.
          You can install into a temp directory if you want by specifying a prefix:
            make install prefix=z:/tmp CATALOGS="xx.gmo yy.gmo zz.gmo"
  
! 4.7.:   Now you have to set the LANG and LANGUAGE environment variables.
          Please refer to 2.4.
  
  
          Send GNU gettext specific bug reports to <bug-gnu-utils@gnu.org>.
          Send suggestions and bug reports concerning the DJGPP port to
