[comp.sys.atari.st] Bash - does it work?

davidli@simvax.labmed.umn.edu (05/10/91)

> In article <1304@uqcspe.cs.uq.oz.au> warwick@cs.uq.oz.au writes:
>>Does the bash.ttp (The Bourne Again Shell) in "utilities/bash-bin.lzh" of
>>atari.archive work?  All I get is a useless prompt - I can't even cd.

BASH doesn't have much in the way of built-in utilities.  For example, the
rather simple 'ls' or 'cat' commands are missing.  When I tested BASH under
MINT, I was thankful that I had Allan Pratt's 'MINT'-ized utilities (available
on the atari.archive server as AKPUTIL7.ZOO in the mint directory.)

-- 

David Paschall-Zimbel		davidli@simvax.labmed.umn.edu

warwick@cs.uq.oz.au (Warwick Allison) (05/10/91)

Does the bash.ttp (The Bourne Again Shell) in "utilities/bash-bin.lzh" of
atari.archive work?  All I get is a useless prompt - I can't even cd.

Warwick.
--
  _-_|\       warwick@cs.uq.oz.au
 /     *  <-- Computer Science Department,
 \_.-._/      University of Queensland,
      v       Brisbane, AUSTRALIA.

plinio@boole.seas.ucla.edu (Plinio Barbeito) (05/11/91)

In article <1304@uqcspe.cs.uq.oz.au> warwick@cs.uq.oz.au writes:
>Does the bash.ttp (The Bourne Again Shell) in "utilities/bash-bin.lzh" of
>atari.archive work?  All I get is a useless prompt - I can't even cd.

Most likely your problem is that you are trying to run bash without mint.
--
To mak wridin mo eficiend, i sujes de folouin janjs: drop deleder 'k', as 
'c' uil du jus fin.  gt rid of endn 'e', sinc ids nevr proncd aniuai.  als, 
't' is nevr nedd; us 'd'.  repedv cnsnts shd b rdcd t 1, nls bp ngbl r...

entropy@gnu.ai.mit.edu (maximum entropy) (05/11/91)

In article <2716@lee.SEAS.UCLA.EDU> plinio@boole.seas.ucla.edu (Plinio Barbeito) writes:

>In article <1304@uqcspe.cs.uq.oz.au> warwick@cs.uq.oz.au writes:
>>Does the bash.ttp (The Bourne Again Shell) in "utilities/bash-bin.lzh" of
>>atari.archive work?  All I get is a useless prompt - I can't even cd.

>Most likely your problem is that you are trying to run bash without mint.

The particular version he is trying to use is a TOS port of bash.  It
doesn't work too well, so I'm not surprised he's having trouble.

The point is still the same, though:  I highly recommend using (the
MiNT version of) bash along with MiNT.  If you have lots of memory.
Lots.  And if you don't mind using ~250K every time you spawn a
subshell...

--
			  entropy@gnu.ai.mit.edu
	entropy. . .it's not just a good idea, it's the second law.
     Boycott Lotus, Apple, Ashton-Tate and Xerox.  Join the League for
Programming Freedom!  Write to league@prep.ai.mit.edu for more information.

gjh@hplb.hpl.hp.com (Graham Higgins) (05/15/91)

Plinio Barbeitro writes:
++ In article <1304@uqcspe.cs.uq.oz.au> warwick@cs.uq.oz.au writes:
++ >Does the bash.ttp (The Bourne Again Shell) in "utilities/bash-bin.lzh" of
++ >atari.archive work?  All I get is a useless prompt - I can't even cd.

++ Most likely your problem is that you are trying to run bash without mint.

Well, there are two versions of Bash floating round. One is Eric Smith's port,
one is Edgar Roeder's. Eric's requires Mint running, Edgar's doesn't. 

Bash is "just" a command line interpreter, file system utilities are not built
in (they aren't in Eunuchs, from whence Bash originated). Hence you must have
on your $PATH, the binaries "ls.ttp" "rm.ttp" "mv.ttp", etc, etc. Edgar's
version of bash requires these utilities *NOT* to have a filename extension
(i.e. the files must be named "ls", "rm" & "cp"). Eric's (as is more normal)
wants these files to have one of the .ttp/.prg/.tos extensions signifying its
executability. Edgar's Bash is UNIXMODE sensitive and can use long filenames,
filenames with capitals and "dots" are a valid filename character (allowing
"Makefile.atari.st" as a valid filename for example).

The other thing about bash is that it leans heavily on environmental variables,
so remember to set them as required. For Edgar's Bash, ENVIRON.PRG will set up
environment variables before you double-click Bash. 

Cheers,

Graham
======

------------------------------------------------------------------
Graham Higgins                  |  gjh%ghiggins@hpl.hp.co.uk
Hewlett-Packard Labs            |  gjh%ghiggins@hplb.hpl.hp.com
Filton Road, Stoke Gifford      |  gjh%hplb.csnet@csnet-relay.arpa 
Bristol, U.K.                   |  ...!mcvax!ukc!hplb!gjh          
Tel: +44 272 799910 x24014         Fax: +44 272 790554             
------------------------------------------------------------------
Disclaimer: My opinions above are exactly that, mine and opinions.
------------------------------------------------------------------