editor mode in cygwin

Hi,

I am using CYGWIN for script testing. I have found that vi command does not work in this. Kindly suggest how can I edit a script that is stored in a file ???

use cygwin's setup.exe program to install an editor.

How to do this ?? kindly guide

Well, the easiest way to do that would be to get:

http://www.cygwin.com/setup.exe

which download site will give me vi mode ??