vi editor on CYGWIN

vi editor is not working on CYGWIN.Please let me know how to make that work as soon as possible.My work is getting delayed due to this problem.

'not working' isn't very descriptive. Details?

I tried to create a file using the command vi <filename> on CYGWIN but it is not working.Please help me with the solution.

---------- Post updated at 02:30 AM ---------- Previous update was at 02:29 AM ----------

I tried to create a file using the command vi <filename> on CYGWIN but it is not working.Please help me with the solution..Please help me with the solution.

Again, "not working" tells us nothing useful.

What exactly happens? The file isn't created? You get an error message? What?

I am getting error message like

bash: vi: command not found

Hi,

I think, you haven't choosed vi(as an install option) while installing Cygwin.
You can try,

emacs file

if you want to only read the files, then you can

less file
cat file

.

Cheers,
Ranga :slight_smile: