www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/10/14/04:31:15

Date: Fri, 14 Oct 94 11:58:37 JST
From: Stephen Turnbull <turnbull AT shako DOT sk DOT tsukuba DOT ac DOT jp>
To: eliz AT is DOT elta DOT co DOT il
Cc: ghogenso AT u DOT washington DOT edu, djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Definitive GNU fileutils ports

First off, sorry about the accidental post.  These letter size
notebooks just aren't big enough for A4-trained fingers....  (In Emacs
mail, ^X^X swaps point and mark, what I wanted to do, and ^C^C sends
... oops!)

   AFAIK, the patches are *not* part of any official GNU Fileutils
   distribution.

   > 2. If not, what different ports of the fileutils exist, 
   >    where can they be obtained, and what differences are there
   >    among them?  I recall a debate about using O_TEXT or

   There is a port of a (very old) version 1.4 of fileutils to 16-bit
   Microsoft C compiler, by Thorsten Ohl as part of the GNUish MS-DOS
   project.  I use it now for 4 years, and am quite happy with them.
   This port has the text/binary issue solved quite good (some utilities,
   like cp and mv, just read and write in binary mode, others have special
   switches to tell them what to do).

I have had problems with these.  They just did not sucessfully work in
makefiles for Imake, Ghostscript, grep, and the fileutils themselves.
(The latter is at least partially due to shell limitations;
COMMAND.COM is, well, forget COMMAND.COM, 4DOS's syntax is rather
different, and MS_SH 2 (fairly early version) wouldn't handle it in
real mode and bombed in protected mode.)  This was about DJGPP 1.09,
and the argument-passing in GO32 has been substantially enhanced since
then, so they may work fine now.

   There is also a port of Fileutils 3.2 to DJGPP 1.08 by Eric Backus.  I
   forgot where I got this one, but I still have the .zoo archive.  Never
   quite used this, so can't tell you how it solves the above issue.

Eric tried to be a lot more intelligent about text/binary.  There was
in Taiwan ported them.  The Backus ports were available from

    ftp://ftp.math.niu.edu/pub/msdos/djgpp.stuff/backus.fsf/*.zoo

or something like that.  Greg Higgins was the sysop who provided the
space.  Yuan's annnouncement of some of the tools follows, the rest
are available at the same place I should think:

> Finally, I make dc, bc, diffutl, gnuplot, grep, m4, sed, f2c
> available.  (SOURCE CODE INCLUDED) I haven't tested dc and diffutil
> yet.  Truly speaking, to check/verify what I have done/modified is
> really a brain-damage work.
> 
> Please anonymous ftp files from "phi.sinica.edu.tw:/pub/djgpp/tools".
> All the executable and changed files are put in each subdirectory 'djgpp'. 
> If anything wrong please let me know.
> 
> * files are compressed by 'lha.exe'
> * In f2c, I removed '#define abs...'.
> * In gnuplot, I only made a gnu make version of makefile.
> * I made 'bc' to look at 'libmath.b' in 3 ways
> 	1. c:/g/lib/libmath.b
> 	2. set BC_MATH_FILE=c:/g/lib/libmath.b
> 	3. libmath.b at current working directory
> * I am still testing/modifying tar, shellutil, fileutil, and textutil.
>   When they are ok, I will send them to the public as well.
> * 'xargs'-like is finished.  It can only take one argument now.
>   'ls | xargs wc -l' is ok
>   The next step is to make xargs handle '{}'
> * floppy backup/restore software status:
>   I haven't started to write it.  The following is just a proposal.
>   The idea was inspired by split/merge from DJ and users' complaints.
>   If such kind of public domain program has been implemented already,
>   tell me please; thus, I don't have to write it again.
> 
>   (I had planed to use 'dd' in textutil to do the work.)
> 
> Tein Horng Yuan (0K$B$Q(BPA)
> Computing Centre, Academia Sinica, Taipei, Taiwan, R.O.C.
> (voice): 886-2-789-9247		(fax): 886-2-783-6444
> Email: tyuan AT beta DOT wsl DOT sinica DOT edu DOT tw
> www: http://ki.wsl.sinica.edu.tw

   I'm playing with the idea of porting the latest version of
   Fileutils to DJGPP, but didn't find the time yet.  Sigh...

	   EZ

No, it's not EZ :-P  At least, without a proper shell, building is
nowhere near automatic.
    --Steve

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019