Using ksh for command escapes from UA (UNIXPC)

Bob Ames bob at rush.cts.com
Thu Nov 17 09:50:15 AEST 1988


In article <322 at tarkus.UUCP>, jcs at tarkus.UUCP (John C. Sucilla) writes:
> In article <2507 at rtech.rtech.com> ralph at rtech.rtech.com (Ralph Harnden) writes:
> >Anybody:  Is there an easier way?  If not, I hope this helps....
> 
> Anybody know if just linking ksh to sh would break anything?
> Who wants to be first to try it? :-)
> -- 
> John "C". Sucilla,  A silicon based life form.
>        {att,chinet,ddsw1}!tarkus!jcs
>   You have a better idea? Now's the time..

I've tried this on every OS that AT&T has sent out including 2.0, 3.0,
3.5, 3.5.1.4, 3.51.  I haven't tried it on 3.51a.

I've run for almost a year this way.  The biggest problems relate
to the history files.  It seems that certain programs, including
/usr/bin/Instcpio.sh, among others, don't work properly.  Usually
this seems to be related to the .kshistory files not being readable
(or writable).  Also, it'll run .kshrc every time UA tries to run
something.  I include things to run sysinfo (thanks, lenny), and
these always get executed even for simple stuff like 'Change passwd'.
Also, when I use the 'p' flag in the Office, things didn't work right,
but then again, even now, whenever I open a window with 'p', the
g----mn .kshistory gets owned by root with 600 perms.  This messes up
my next non-p shell.
I think I also had severe problems with ph dying all the time.

After much frustration, I have switched back to sh.  Has anyone tried
this with 3.51a?  I'd sure like to run ksh instead of sh, but I'm
no longer willing to try this.

I know someone who has been running ksh for at least a year now as /bin/sh
and he says it's no problem.

Bob Ames

National Organization for the    # Bob Ames       \ Marijuana: "The safest drug
Reform of Marijuana Laws, NORML  # 619-743-2546    \ in the world" (Source: DEA
"Marijuana is safer than Aspirin # bob at rush.cts.com \ Administrative Judge '87)
Caffiene Tobacco Alcohol Cocaine       ##### ..nosc! )..!crash!rush.cts.com!bob
Valium Heroin PCP Crack Crystal  # ..hplabs!hp-sdd! /   "We each pay a fabulous
Driving Flying Spaceflight and   # ..rutgers!ucsd! /    price - for our visions
causes about 0 deaths per year!" # Legalize Pot |-/   of paradise" - Neil Peart



More information about the Unix-pc.general mailing list