Help with Cygwin

Posted by Brulen on Wed 18 Aug 2004 02:29 AM — 9 posts, 36,384 views.

#0
I was following Nick's walkthrough on how to compile.
Having no experience in compiling at all I did find it very helpful. But and there is always a but.

when I got to the part where he explains how to grep files and to edit using vi I ran into problems. LOL
when I enter

vi act_obj.c

I get

bash: vi: command not found

does this mean I need to reinstall Cygwin with the vi editor
or can I use another editor and how do I find out which I have.. LOL

Any help would be greatly appreciated..

USA #1
Yeah, you do. You need to install all of Cygwin's packages, pretty much.
USA #2
Actually, instead of downloading more stuff for cygwin and reinstalling, visit www.liquidninja.com and download metapad. It's a freeware textpad replacement that won't muck up your file formatting. Alternately, there's www.textpad.com with a much more powerful text editor that wont muck up your formatting and can handle more intricate functions.
Australia Forum Administrator #3
vi can be a pain to use if you aren't used to it. If you want to use it, I wrote a fairly lengthy post about doing it recently. And yes, when it says "vi: command not found" that is exactly the problem, you didn't install it.

I have been using SciTE recently for development and been very happy with it.

http://www.scintilla.org

It is free, fast, does syntax colouring, and is very reliable. And it works in a natural way (ie. like a Windows program) which is more than you can say for vi.

#4
Thanks everyone. I will check out the other editors..
#5
I downloaded scintilla ad I think I have it installed correctly but I am not sure.. but I am still facing the same problem.. I have no idea how to open or edit any of the files..

I am still not giving up.. Neva Die!!!

Anyway if anyone can help me figure out how to use a editor in cygwin to modify codes and such I would be forever in their debt..

USA #6
Metapad and TextPad both open like the standard windows notepad. Scintilla I would imagine is much the same as well and opening files should be as simple as double clicking the file you want.
Australia Forum Administrator #7
Scintilla is a editing control, SciTE is a program which is an actual editor. Follow the link on the other page, to here:

http://scintilla.sourceforge.net/SciTE.html

Then download it. Personally I find it very good.
#8
I got it all working now and your right Nick if feels more familiar..

Thaks again..