LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-02-2008, 05:40 AM   #1
Metal_Merlin
LQ Newbie
 
Registered: May 2008
Location: India
Distribution: Fedora 8 but open to other distros depending on pros and cons.
Posts: 4

Rep: Reputation: 0
How to view and edit source code of a program?


I am working on a project to edit the GUI of the Unison File Synchronizer (cis.upenn.edu/~bcpierce/unison)

The problem is, I don't know how to access the source code for the GUI file ... Can somebody pls help me?

The programming language used is Ocaml and the GUI is built with gtk+...
 
Old 05-02-2008, 06:02 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Welcome to LQ!!

You have to download the source code and then open it in an editor. The place that you get the SW should have instructions for how to get the source. The GPL requires that the source code be available, but not that it be easy to find.... If nothing else, search Google using--eg--"unison source code"
 
Old 05-02-2008, 11:53 PM   #3
Metal_Merlin
LQ Newbie
 
Registered: May 2008
Location: India
Distribution: Fedora 8 but open to other distros depending on pros and cons.
Posts: 4

Original Poster
Rep: Reputation: 0
I googled and found the source code files. Now I have to figure out how and which to edit!

Thanks pixellany for such a prompt and informative reply!
 
Old 05-03-2008, 12:15 AM   #4
Draciron
Member
 
Registered: Jul 2006
Posts: 44

Rep: Reputation: 16
Quote:
Originally Posted by Metal_Merlin View Post
I googled and found the source code files. Now I have to figure out how and which to edit!

Thanks pixellany for such a prompt and informative reply!
Depends on what language they are in and what kind of editor you like best.
Any editor will techincally work. You can use Kedit, Gedit, Kate, SCITE. Many have built in support for the most common languages.

Scite has built in support for over a dozen languages but will act much like notepad as an editor. If your not sure what language the source is in I'd recomend ScITE as a starting place.

If you want to be hardcore old school and love memorization you can use VI to do it. Me I'd rather chew my dogs leg off than use VI.

For C/C++ Kdevelop is my favored IDE.

Quanta is my favored web development IDE. So for js, PHP, html and other web languages that is a good choice.

CSSed is good for editing .css files.

If the source code is LISP as much as I hate to I'd recomend Emacs which is very friendly for LISP development.

If the code is using the .QT libs then you'll want QT designer.

Anjunta is another good multi-language IDE that you may want to try.
 
  


Reply

Tags
code, file, source, unison



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to view source code in LINUX? karthikg356 Linux - General 4 12-23-2007 08:37 AM
How to view source code in linux? karthikg356 Programming 2 12-23-2007 01:28 AM
suggestions on how to code a program that would edit and save a text file tinieprotonjam Programming 5 01-28-2007 06:28 AM
how to view source code nick021 Linux - Newbie 4 02-13-2006 12:51 AM
source code for tree view ambitionless Programming 0 09-13-2004 09:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration