'crontab -e' only shows a number

Hi All

I just tried to change my 'root' crontab but I got the following result;

bash-2.03# crontab -e

1341

and then nothing. I can exit with Ctrl + D.

Any suggestion what might be the reason I cannot edit it ?

Thnx a lot

LuCa

Update: Its on a Solaris 8 sparc system

Message was edited by:

abcde-tje

[375 byte] By [abcde-tje] at [2007-11-26 9:39:23]
# 1

% man crontab

[...]

tion.The environment variable EDITOR determines

which editor is invoked with the -e option. The

default editor is ed(1).

[...]

You are seeing the output of 'ed'. ^D and 'q<ENTER>' will both exit. You can either learn 'ed' or change your EDITOR to something like 'vi'.

The number by the way is the size of the file.

% wc /etc/motd

1849 /etc/motd

% ed /etc/motd

49

q

%

--

Darren

Darren_Dunham at 2007-7-7 0:35:23 > top of Java-index,General,Talk to the Sysop...
# 2
thnx, that was all I needed to know :)
abcdetje at 2007-7-7 0:35:23 > top of Java-index,General,Talk to the Sysop...
# 3
EDITOR=vi or setenv EDITOR vi should do itMessage was edited by: epruett
epruett at 2007-7-7 0:35:23 > top of Java-index,General,Talk to the Sysop...