* Elvis and crontab
@ 2005-03-29 5:41 Peter
2005-03-29 6:03 ` Ray Olszewski
2005-03-29 9:42 ` J.
0 siblings, 2 replies; 6+ messages in thread
From: Peter @ 2005-03-29 5:41 UTC (permalink / raw)
To: linux
Hi,
In slackware, crontab is using elvis as the editor instead of vim and I can't
make heads or tails out of it.
Does anybody know how to change this from elvis to vim or better yet to a more
user friendly editor?
Thanks & regards
--
Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Elvis and crontab
2005-03-29 5:41 Elvis and crontab Peter
@ 2005-03-29 6:03 ` Ray Olszewski
2005-03-29 6:12 ` Peter
2005-03-29 22:52 ` chuck gelm
2005-03-29 9:42 ` J.
1 sibling, 2 replies; 6+ messages in thread
From: Ray Olszewski @ 2005-03-29 6:03 UTC (permalink / raw)
To: linux
At 01:41 PM 3/29/2005 +0800, Peter wrote:
>Hi,
>
>In slackware, crontab is using elvis as the editor instead of vim and I can't
>make heads or tails out of it.
>
>Does anybody know how to change this from elvis to vim or better yet to a
>more
>user friendly editor?
I don't know about Slackware specifically, but the usual way applications
get the identity of your editor is from an environment variable called
(duh) "EDITOR". Check your setting for this with the "env" command. If you
need to change it, do so in any convenient config script (e.g., .bashrc)
the usual way. User friendliness is, to a degree, in the eye of the user,
so I don't really know what you have in mind, but a wide range of editors
can work this way.
You might also want to check what "vi" on your system is a symlink to. I
seem to recall that Slackware, way back when (I probably quit using
Slackware 8 years ago, around the time of 4.0), used elvis as its stock vi
replacement. You can make any other vi-like app "your" vi simply by
changing this symlink. (I did this on my Debian systems, replacing the
annoying, at least to me, nvi with vim. The Debian setup is a bit more
involved than what I described here, so it is possible you will find that
Slack too has become more tangled than it once was, perhaps requiring you
to follow a string os symlinks instead of the single layer I described.)
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Elvis and crontab
2005-03-29 6:03 ` Ray Olszewski
@ 2005-03-29 6:12 ` Peter
2005-03-29 22:52 ` chuck gelm
1 sibling, 0 replies; 6+ messages in thread
From: Peter @ 2005-03-29 6:12 UTC (permalink / raw)
To: linux-newbie
Thanks Ray,
symlink to vim instead of elvis did it.
Regards
--
Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Elvis and crontab
2005-03-29 5:41 Elvis and crontab Peter
2005-03-29 6:03 ` Ray Olszewski
@ 2005-03-29 9:42 ` J.
1 sibling, 0 replies; 6+ messages in thread
From: J. @ 2005-03-29 9:42 UTC (permalink / raw)
To: linux
On Tue, 29 Mar 2005, Peter wrote:
> Hi,
>
> In slackware, crontab is using elvis as the editor instead of vim and I can't
> make heads or tails out of it.
>
> Does anybody know how to change this from elvis to vim or better yet to a more
> user friendly editor?
>
> Thanks & regards
> --
> Peter
Change and export the appropiate EDITOR variable in the init files of
your shell. For the bash shell, in your .bashrc .
export EDITOR=vim
After that either re login or source the change file:
~: source .bashrc
Quality is nothing more then the demands someone has of something, same
goes for user friendlyness. According to my def. of user-friendly VIM is
very userfriendly. You only need to know three to four keystroke commands
to make it all work. Surely those four commands can't be much of a problem
?
J.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Elvis and crontab
2005-03-29 6:03 ` Ray Olszewski
2005-03-29 6:12 ` Peter
@ 2005-03-29 22:52 ` chuck gelm
2005-03-30 0:58 ` J.
1 sibling, 1 reply; 6+ messages in thread
From: chuck gelm @ 2005-03-29 22:52 UTC (permalink / raw)
To: linux
Ray Olszewski wrote:
> At 01:41 PM 3/29/2005 +0800, Peter wrote:
>
>> Hi,
>>
>> In slackware, crontab is using elvis as the editor instead of vim and
>> I can't
>> make heads or tails out of it.
>>
>> Does anybody know how to change this from elvis to vim or better yet
>> to a more
>> user friendly editor?
>
>
>
> I don't know about Slackware specifically, but the usual way
> applications get the identity of your editor is from an environment
> variable called (duh) "EDITOR". Check your setting for this with the
> "env" command. If you need to change it, do so in any convenient config
> script (e.g., .bashrc) the usual way. User friendliness is, to a degree,
> in the eye of the user, so I don't really know what you have in mind,
> but a wide range of editors can work this way.
>
> You might also want to check what "vi" on your system is a symlink to. I
> seem to recall that Slackware, way back when (I probably quit using
> Slackware 8 years ago, around the time of 4.0), used elvis as its stock
> vi replacement. You can make any other vi-like app "your" vi simply by
> changing this symlink. (I did this on my Debian systems, replacing the
> annoying, at least to me, nvi with vim. The Debian setup is a bit more
> involved than what I described here, so it is possible you will find
> that Slack too has become more tangled than it once was, perhaps
> requiring you to follow a string os symlinks instead of the single layer
> I described.)
Slackware v9.1:
/usr/bin/ex -> elvis
" vi -> elvis
and eleven other 'soft' links to 'vim'
;-)
Chuck
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Elvis and crontab
2005-03-29 22:52 ` chuck gelm
@ 2005-03-30 0:58 ` J.
0 siblings, 0 replies; 6+ messages in thread
From: J. @ 2005-03-30 0:58 UTC (permalink / raw)
To: linux
On Tue, 29 Mar 2005, chuck gelm wrote:
> Ray Olszewski wrote:
> > At 01:41 PM 3/29/2005 +0800, Peter wrote:
> >
> >> Hi,
> >>
> >> In slackware, crontab is using elvis as the editor instead of vim and
> >> I can't
> >> make heads or tails out of it.
> >>
> >> Does anybody know how to change this from elvis to vim or better yet
> >> to a more
> >> user friendly editor?
> >
> >
> >
> > I don't know about Slackware specifically, but the usual way
> > applications get the identity of your editor is from an environment
> > variable called (duh) "EDITOR". Check your setting for this with the
> > "env" command. If you need to change it, do so in any convenient config
> > script (e.g., .bashrc) the usual way. User friendliness is, to a degree,
> > in the eye of the user, so I don't really know what you have in mind,
> > but a wide range of editors can work this way.
> >
> > You might also want to check what "vi" on your system is a symlink to. I
> > seem to recall that Slackware, way back when (I probably quit using
> > Slackware 8 years ago, around the time of 4.0), used elvis as its stock
> > vi replacement. You can make any other vi-like app "your" vi simply by
> > changing this symlink. (I did this on my Debian systems, replacing the
> > annoying, at least to me, nvi with vim. The Debian setup is a bit more
> > involved than what I described here, so it is possible you will find
> > that Slack too has become more tangled than it once was, perhaps
> > requiring you to follow a string os symlinks instead of the single layer
> > I described.)
>
> Slackware v9.1:
>
> /usr/bin/ex -> elvis
> " vi -> elvis
>
> and eleven other 'soft' links to 'vim'
>
> ;-)
> Chuck
Hmm.. That's weird, only 2 links to elvis ?..
According to google there should be 8,340,000 'soft' links to elvis.
Are you sure, you installed slack correctly ?
;-)
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-03-30 0:58 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-29 5:41 Elvis and crontab Peter
2005-03-29 6:03 ` Ray Olszewski
2005-03-29 6:12 ` Peter
2005-03-29 22:52 ` chuck gelm
2005-03-30 0:58 ` J.
2005-03-29 9:42 ` J.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.