Path: utzoo!censor!becker!ziebmef!ncrcan!lsuc!attcan!utgpu!water!watmath!uunet!lll-winken!killer!osu-cis!att!cbnews!res From: res@cbnews.ATT.COM (Robert E. Stampfli) Newsgroups: unix-pc.general Subject: Re: Using ksh for command escapes from UA (UNIXPC) Keywords: ua, ksh, !commands, UNIXPC Message-ID: <1784@cbnews.ATT.COM> Date: 30 Oct 88 17:38:51 GMT References: <2507@rtech.rtech.com> Reply-To: res@cbnews.ATT.COM (Robert E. Stampfli) Distribution: unix-pc Organization: AT&T Bell Laboratories, Columbus Lines: 15 In article <2507@rtech.rtech.com> ralph@rtech.rtech.com (Ralph Harnden) writes: >When using "!command" to invoke commands from UA windows, it seems that UA >fork/exec's /usr/lib/ua/uasetx, passing the parameters "/bin/sh -c command". >Uasetx, in turn, seems to fork/exec the shell (first parameter) to invoke >the command. And the shell, in turn, fork/exec's the command. > [ description of how to modify above pgms to use ksh ] > >Anybody: Is there an easier way? If not, I hope this helps.... I just moved /bin/sh and linked /bin/ksh as /bin/sh. Seriously, I have yet to find one thing that *doesn't* work because of this. Rob Stampfli att!cbnews!res (work) osu-cis!n8emr!kd8wk!res (home)