crontab -e oddities

Hello,

I'm experiencing something really strange when editing crontab, when I type:

crontab -e

I get a number and everytime I hit enter a question mark ?

For example:

bash-3.00$ crontab -e

292

?

?

?

The crontab file was not changed.

Any ideas why is this?

Thanks

[342 byte] By [Damian_Finola] at [2007-11-27 8:11:35]
# 1
You have entered the editor 'ed'. This is standard 'ed'.What is your VISUAL environment variable set to?
HangTena at 2007-7-12 19:55:39 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2
I thought it was the "EDITOR" environment variable that needed to be set for crontab -e to use something other than ed?
DoxBriana at 2007-7-12 19:55:39 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 3
Correct it is EDITOR.I did a man crontab the wrong machine. Thanks.
HangTena at 2007-7-12 19:55:39 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 4
Hi, I wonder if it is profile related. Create a test user and see if you get the same result.
Stuart_Flishera at 2007-7-12 19:55:39 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 5
Hi Quick solution for your problem is, please use following commandEDITOR=viexport EDITOR
Phani1312a at 2007-7-12 19:55:39 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 6
$EDITOR is not populated by default on a Solaris box, and if its not set to something crontab -e will invoke its default editor; ed. .7/M.
mAbrantea at 2007-7-12 19:55:39 > top of Java-index,Solaris Operating System,Solaris 10 Features...