From terminator!umich!yale!yale.edu!qt.cs.utexas.edu!zaphod.mps.ohio-state.edu!swrinde!gatech!uflorida!travis!jgj Mon Nov 11 13:36:20 EST 1991 Article 38367 of comp.sys.atari.st: Xref: terminator comp.sys.atari.st:38367 comp.sys.atari.st.tech:3492 Path: terminator!umich!yale!yale.edu!qt.cs.utexas.edu!zaphod.mps.ohio-state.edu!swrinde!gatech!uflorida!travis!jgj >From: jgj@ssd.csd.harris.com (Jeff Jackson) Newsgroups: comp.sys.atari.st,comp.sys.atari.st.tech Subject: GNU UTILITIES POSTED TO ATARI.ARCHIVE Message-ID: Date: 11 Nov 91 16:34:01 GMT Sender: news@travis.csd.harris.com Followup-To: comp.sys.atari.st Organization: Harris Computer Systems Division Lines: 208 I have just posted the binaries to the GNU Utilities to atari.archive. They should show up there before long. Man pages and sources will be sent later this week or next week. The following is the readme file that accompanies them: ################################################################ This is my port of various gnu utilities. They are intended for use under bash1.10, also available on atari.archive.umich.edu. Together, these give you a rather complete Un*x environment based on gnu software. The following zoo archives are available. These also include some non-GNU public domain software. executables source manual_pages ------------------------------------- file31b file31s file31m shell13b shell13s shell13m text11b text11s text11m misc1b misc1s misc1m README What do you need to set yourself up? First, you need bash. I keep everything on disk D: under a directory called gnu. The following is my directory setup: gnu bin gxxinc include lib man etc Until you have a good feel for how everything works together, I recommend you use it. Put bash.ttp in \gnu\bin. Now you need to know about UNIXMODE. The gnu libraries emulate unix style filenames and symbolic links. If a filename consists of all digits and lowercase letters and has no more than 8 characters plus 3 character extender, it maps directly to a TOS filename. Otherwise, a name TOS file is made up from the real name and an entry in a file called ".dir" is maintained to describe the mapping. Symbolic links are also recorded in the same filey. This feature is controlled via the UNIXMODE environment variable. It is a string of characters for customizing UNIXMODE operation. By default, bash will set it to "/.,rCLAHdb". These characters mean: "/" permit "/" as well as "\" to separate path elements ".," map extra periods to "," when deriving TOS names. "rC" make root file system be drive C. "L" permit symbolic links "A" permit unix style filenames "H" hide the .dir file from directory searches "d" provide psuedo device directory /dev/X is file system x: /dev/console is CON: /dev/tty1 is AUX: /dev/lp is PRN: "b" open files in binary mode The only ones you would every probably want to modify are "rC" to select another file system as root and "d" if you use MiNT. MiNT users will probably want to use the string "/.,rULAHb". Note that this must be setup before you run bash. I've included in the readme archive a program for setting desktop's environment variables that a stole from a TeX distribution. Note that programs compiled with the MiNT libraries do not know about UNIXMODE. hence you must use command lines like $ bg -o d:\\nohup\\output command string when using MiNT utilities. You will want to put all the binary archives (*b.zoo) in /gnu/bin and than manual pages ones (*m.zoo) in /gnu/man. Now, what all do you get? The following lists the commands from each utility package with notes on some of them. Some individual tools are not ported since their functionality is not available under TOS or UNIXMODE. ***** README ****** copying -- the GNU communist manifesto copying.lib -- the GNU communist manifesto for libraries env.inf -- see setenv.prg passwd -- sample /etc/passwd (Yes it is usefull. Files pretend to be owned by user 1. Make an entry for yourself to make ls -l and some other commands look nice. profile -- sample /etc/profile. When you start up bash, give it the -login parameter. readme -- this file setenv.prg -- program for setting environment variables from desktop. I've never used it. I don't have source. Don't tell me about problems with it. Uses env.inf. termcap --/etc/termcap used by emacs and some other programs. ****** SHELL UTILITIES 1.3 ******* basename date dirname env expr groups -- not ported id logname nice -- not ported. See MiNT utilities nohup -- not ported. See "bg" in MiNT utilities pathchk -- /dev is not fully emulated as a directory printenv printf sleep stty -- not ported. See MiNT utilities tee test -- testing /dev/X always succeeds, even if filesystem not mounted. tty -- not ported whoami uname -- not ported yes ***** FILE UTILITIES 3.1 ****** chgrp -- not ported. chmod -- can only modify the user write bit. cp dd df -- doesn't recognize /dev/A or /dev/B dir du install ln ls mkdir mkfifo -- not ported. mknod -- not ported. mv rm rmdir touch vdir ***** TEXT UTILITIES 1.1 ***** cat cmp comm csplit cut expand fold head join paste pr sort split sum tac tail unexpand uniq wc ***** MISC UTILITIES 1 ***** Several of these were already ported, but I wanted them built with the latest and greatest libraries since a number of fixes have been done, so I did a new quick and dirty port. Include also are some non-GNU software. These will receive lower priority as far as sustaining goes. Send me bug reports anyway. combine -- best file comparer in the world. Humans can actually combine2 -- read the output of these and they are great for three -- way compares when doing merges. diff diff3 -- not ported. egrep find fgrep grep locate -- not ported patch sed xargs which -- I wrote this one a long time ago. mkid -- software package for maintaining database of words from text lid -- or software soruces. We live and swear by it at Harris. idx fid gid -- symbolic link to lid.ttp aid -- ditto eid -- ditto pid -- ditto iid ################### Let me know of any bugs you find. Fixes to them are also appreciated. These need to be built with at least patchlevel 74 libraries (Which are not yet (November 10, 1991) available for general consumption). -- ============================================================================ Jeffrey Glen Jackson _|_Satan jeered, "You're dead meat Jesus, I'm gonna jgj@ssd.csd.harris.com | bust you up tonight." x5120 | Jesus said, "Go ahead, make my day." ~~~~~~~~~ -- Carman, "The Champion"