Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!zaphod.mps.ohio-state.edu!sdd.hp.com!ucsd!ucbvax!hplabs!hpfcso!hpfelg!koren From: koren@hpfelg.HP.COM (Steve Koren) Newsgroups: comp.sys.amiga Subject: Re: REZ, resident, SKsh, newshell (I'm confused) Message-ID: <13910037@hpfelg.HP.COM> Date: 14 Aug 90 13:12:56 GMT References: <1990Aug12.183427.24704@cbnewsm.att.com> Organization: HP Elec. Design Div. -FtCollins Lines: 40 > shell anyway. Now I've switched to SKsh and REZ doesn't consider it pure, so > it won't share it. According to the SKsh docs, it *is* pure, and I have set > the pure bit. My first question is, anyone know why REZ doesn't consider SKsh This part I can't answer. SKsh is made pure by telling Lattice to make it so (which I think involves some special code which copies the data segment upon invocation). Perhaps this is confusing REZ. > hotkey. It also means that the *first* SKsh is not running out of a resident > copy, wasting ~60K. > So, I tried making SKsh resident using the 1.3 command, and converting over > to using the 1.3 shell. This appears to have absolutely no effect. You *can* make SKsh resident with the AmigaDos resident command. Works just fine; I do it on my system. There is a brief description of how to do this in the "Hints.doc" file (or at least, I think that's where it is). However, if you use the c:resident command to make SKsh resident, you have to then invoke SKsh from the AmigaDos shell (because others won't see the AmigaDos resident list - see below). > Anyone have some obvious pointers on how to make this all work? The > interaction between all the various resident systems has never been > particularly clear The trouble is that there are several different standards. The AmigaDos one seems to work great but is a little difficult to use from a programmer's point of view. The ARP solution (which the SKsh "resident" command uses) is different. In other words, if you add something to the AmigaDos resident list, it won't appear on the Arp list, and vice versa. I don't know what REZ does, but it may be yet another mechanism to accomplish the same thing. Of course, none of these mechanisms really interact very well; for example, a command added to the Arp resident list will be handled correctly from the Arp shell or SKsh, but not from the AmigaDos shell. The same applies in reverse. I will probably change SKsh to use the Commodore solution when I compile under AmigaDos 2.0. - steve