Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hpfcso!hpfelg!koren From: koren@hpfelg.HP.COM (Steve Koren) Newsgroups: comp.sys.amiga.tech Subject: Re: ksh-like shell for the Amiga available (beta) Message-ID: <13920012@hpfelg.HP.COM> Date: 11 Nov 89 18:13:40 GMT References: <13920006@hpfelg.HP.COM> Organization: HP Elec. Design Div. -FtCollins Lines: 40 Yet more info: ------------- A few more bits of information. The next Ash (1.1) will be 'pure' so you can make it resident. This was quite easy to do, and I have it working now. Its kinda neat since you can make the 'newshell' command automatically fire up Ash when it makes the new window. Then, you can set the 'LOGOUT' variable in Ash to be 'endcli', and the window automatically disappears when Ash exits. There seems to be a problem with the ArpExit() call that I was originally using. It often hangs the CLI window. I yanked it from the next version, so 'exit' is reliable again. (I think maybe it doesn't work since it claims it closes the arp.library, which may not be a cool thing to do when the code that does it is *in* in the arp.library). Also, there seems to be a few bugs with the export and getenv Ash commands. I don't *think* they are Ash bugs, though. For example, the following code fails under Lattice 5.02: #include main(argc, argv) int argc; char *argv[]; { putenv("foo2=barbar"); printf("%s\n", getenv("foo2")); } I get really wierd results, anything from 'barbaro2' to 'barbar:foo2'. If this is really a Lattice bug (unless somebody sees something here I don't), I can't make getenv and export work right until it is fixed. (I've tried malloc()ing the string passed to putenv(), which doesn't help at all). Also, I should mention that Ash requires 1.3. I haven't tested it at all under 1.2, but I suspect it won't run. It depends on a number of 1.3 things. - steve (koren@hpfela.HP.COM)