Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!lll-winken!decwrl!ucbvax!hplabs!hpfcso!hpfelg!koren From: koren@hpfelg.HP.COM (Steve Koren) Newsgroups: comp.sys.amiga Subject: Re: Sksh NewCLI query Message-ID: <13910016@hpfelg.HP.COM> Date: 24 Mar 90 19:23:59 GMT References: <9234@sdcc6.ucsd.edu> Organization: HP Elec. Design Div. -FtCollins Lines: 26 > Is there a way to run SKSH on a new CLI window other than the > calling one? You can't just do a run SKSH >con:blah blah. Yes. Define an alias which looks like this: alias newsksh='$(which newshell) CON:10/60/550/200/SKsh_Window' (You might have to adjust the size if it won't fit in your screen). Now when you type 'newsksh' from SKsh, you will get a new window running SKsh. > Also, what's the correct alias sequence for closing up a window from > SKSH. If I tried alias qx exit;endcli it'll work but when > SKSH is first ran, it ends the CLI process and then goes into the The problem with your alias is that as soon as SKsh sees the exit statement, it exits. Try defining a LOGOUT variable like this: LOGOUT='endcli' Now, when you exit SKsh, the calling window will go away (unless, of course, there are other processess which are still talking to it). You can then exit without destroying the window by using the 'quit' alias which is defined in the .skshinit file. - steve