Path: utzoo!utgpu!watmath!uunet!ukma!rayssd!icus!rush!bob From: bob@rush.cts.com (Bob Ames) Newsgroups: unix-pc.general Subject: Re: Using ksh for command escapes from UA (UNIXPC) Summary: ksh linked to sh... no good here Keywords: ua, ksh, !commands, UNIXPC Message-ID: <776@rush.cts.com> Date: 16 Nov 88 23:50:15 GMT References: <2507@rtech.rtech.com> <322@tarkus.UUCP> Distribution: unix-pc Organization: NORML, Escondido Branch Lines: 43 In article <322@tarkus.UUCP>, jcs@tarkus.UUCP (John C. Sucilla) writes: > In article <2507@rtech.rtech.com> ralph@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@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