Problems using vim to edit crontabs

Thomas Stivers stivers_t at tomass.dyndns.org
Sat Jun 11 14:00:18 EDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

On Sat, Jun 11, 2005 at 12:10:49 PM -0500, Gregory Nowak wrote:
> Yes, I've seen what you describe, though it only happens to me if I
> login as a normal user, do a su to become root so I can edit root's
> crontab, and am using emacs, since my normal user's $EDITOR and
> $VISUAL are set for emacs, but root's $EDITOR and $VISUAL are the
> defaults (I.E. vi).

Do you get any sort of error message after you quit vi? How about in
/var/log/syslog? If crontab says you have successfully updated your
crontab when you haven't then the problem runs pretty deep, but it is
probably simpler and the error message should give a clue.

- -- 
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

Thomas Stivers	e-mail: stivers_t at tomass.dyndns.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCqyay5JK61UXLur0RA/qKAJ46RxvLkLnSX3pxX3VFSwKvXzxUqgCeKF10
jarjgBM8KAyL3DBA+LrKVUY=
=24KH
-----END PGP SIGNATURE-----




More information about the Speakup mailing list