[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  Compiling the server
. . -> [Subject]  Help with Cygwin
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Help with Cygwin

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Brulen   (5 posts)  [Biography] bio
Date Wed 18 Aug 2004 02:29 AM (UTC)  quote  ]
Message
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..

[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio   Moderator
Date Reply #1 on Wed 18 Aug 2004 03:31 AM (UTC)  quote  ]
Message
Yeah, you do. You need to install all of Cygwin's packages, pretty much.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Meerclar   USA  (554 posts)  [Biography] bio
Date Reply #2 on Wed 18 Aug 2004 06:49 PM (UTC)  quote  ]
Message
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.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
[Go to top] top

Posted by Nick Gammon   Australia  (19,188 posts)  [Biography] bio   Forum Administrator
Date Reply #3 on Wed 18 Aug 2004 10:02 PM (UTC)  quote  ]
Message
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.


- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Brulen   (5 posts)  [Biography] bio
Date Reply #4 on Fri 20 Aug 2004 05:25 AM (UTC)  quote  ]
Message
Thanks everyone. I will check out the other editors..
[Go to top] top

Posted by Brulen   (5 posts)  [Biography] bio
Date Reply #5 on Sat 21 Aug 2004 07:16 AM (UTC)  quote  ]
Message
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..

[Go to top] top

Posted by Meerclar   USA  (554 posts)  [Biography] bio
Date Reply #6 on Sat 21 Aug 2004 06:29 PM (UTC)  quote  ]
Message
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.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
[Go to top] top

Posted by Nick Gammon   Australia  (19,188 posts)  [Biography] bio   Forum Administrator
Date Reply #7 on Sun 22 Aug 2004 12:41 AM (UTC)  quote  ]
Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Brulen   (5 posts)  [Biography] bio
Date Reply #8 on Sun 22 Aug 2004 07:32 AM (UTC)  quote  ]
Message
I got it all working now and your right Nick if feels more familiar..

Thaks again..

[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


4,994 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]