Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!snorkelwacker!mintaka!gnu!dstailey From: dstailey@gnu.ai.mit.edu (Doug Stailey) Newsgroups: comp.sys.atari.st Subject: Re: New Bash question Message-ID: <1990Aug26.214923.29935@mintaka.lcs.mit.edu> Date: 26 Aug 90 21:49:23 GMT References: <5606@quanta.eng.ohio-state.edu> <2457@naucse.cse.nau.edu> Sender: daemon@mintaka.lcs.mit.edu (Lucifer Maleficius) Distribution: usa Organization: MIT Laboratory for Computer Science Lines: 51 In article <2457@naucse.cse.nau.edu> tar@naucse.cse.nau.edu (Tim Roeder) writes: >I have just put up a file in the atari/new directory called bash-doc.lzh >that includes the docs (from the source archive) for Bash. > Unfortunately, these are the original **ix docs for BASH. After two days of experimentation, I have started to tame BASH, but I still can't get it to read .bash_profile. I have the following environment variables set: UNIXMODE=/.,LAHdbrC BASH=c:/bash/bash.ttp HISTORY=c:/.bash_history and in the root directory, I had a .dir file reading: .bash_history history.bsh A .bash_profile profile.bsh A with the corresponding profile.bsh set up with a large number of 'alias' and 'setenv' statements (Actually, it was my gulam.g file hacked up for BASH). BASH read all the environment variables, but did nothing with profile.bsh. Which brings up the question of how you create shell scripts when you can't make a text file executable. history.bsh was also ignored. Instead, a file called .bas showed up in my root directory. Before I fiddled with the environment it would show up in c:\bash, as a file called /.bas. In either case, every time I ran bash, it would try to execute every program in this [/.bas .bas] file. BASH should be trying to execute its profile, not its history. 8-{ Anyway, this is all the luck I've had so far. I certainly think that the whole idea of BASH on the ST is a good one. All other **ix type shells I have seen for the atari have been csh clones. If you know something that would help, please contact me at: dstailey@gnu.ai.mit.edu Thanks, Doug. -- Oops, I seem to have misplaced my .signature...