SUMMARY: problem with ksh and crontab -e

From: Kevin P. Inscoe (kevin@inscoe.org)
Date: Tue Nov 23 1999 - 03:33:45 CST


I'm a csh bigot what can I say? (please no csh is harmful again stuff).

<slaps head>
well the correct syntax for ksh/sh is 'EXPORT=' not 'set EXPORT='.
</slaps head>

Thanks to everyone who replied. I still cannot figure out why this
particular system is defaulting to ed but alas that is another story.

"Kevin P. Inscoe" wrote:
>
> Managers,
>
> I having a weird problem with a Sparc running Sol. 2.5.1 heavily patched
> when I try to invoke crontab -e from ksh. I get the ed editor instead of
> vi
> even if I set the EDITOR variable. An example of this is below:
>
> # ksh
> # set EDITOR=/bin/vi;export EDITOR
> # crontab -e
> 774
>
> However I switch to csh and issue
> # setenv EDITOR /bin/vi
>
> it works fine. Actually in csh I didn't even have to do that
> but just for illustration. I am not having this problem on other
> 2.5.1/ksh systems. Any ideas?

~kevin

-- 
Kevin P. Inscoe          Unix System Engineer & Specialist
Deltona, FL       Itinerary at http://www.inscoe.org/where
e-mail:  kevin [at] inscoe [dot] org     FAX: 407-805-0002
http://www.inscoe.org                    28.9492N 81.1955W
http://www.inscoe.org/comp     http://www.inscoe.org/radio



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:33 CDT