Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-13 Thread David Dyer-Bennet

On Mon, August 11, 2008 19:27, Lanny Marcus wrote:
 On Mon, Aug 11, 2008 at 4:04 PM, Kuang-Chun Cheng [EMAIL PROTECTED]

 So, learn vi ... and you can share the same command when using
 terminal/bash.

 Thank you for pointing that out! Yes, bash is the shell.

The GNU readline library, which is where bash gets it's command-line
editing, supports both emacs and vi modes, so you can have that
commonality either way.

Personally I think the only vi command one needs to know is :q!.
-- 
David Dyer-Bennet, [EMAIL PROTECTED]; http://dd-b.net/
Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/
Photos: http://dd-b.net/photography/gallery/
Dragaera: http://dragaera.info

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-12 Thread Bowie Bailey
Lanny Marcus wrote:
 
 Thank you! gvim is slick. As you wrote, it has lots of help
 and it will be easy to learn how to use vi, by learning on gvim.
 Better than holding a cheat sheet or having a book open, trying
 to figure out what to do, when learning.

There is a nice vi cheatsheet available here:

http://downloads.techrepublic.com.com/abstract.aspx?docid=172404

The help in gvim is nice, but a good cheatsheet is more convenient when
you are just looking for a simple command.

-- 
Bowie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-12 Thread Frank Cox
On Tue, 12 Aug 2008 13:10:25 -0400
Bowie Bailey [EMAIL PROTECTED] wrote:

 There is a nice vi cheatsheet available here:
 
 http://downloads.techrepublic.com.com/abstract.aspx?docid=172404

Access to this feature requires a free TechRepublic membership!


-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-11 Thread Lanny Marcus
On Sun, Aug 10, 2008 at 5:40 PM, Akemi Yagi [EMAIL PROTECTED] wrote:
 On Sun, Aug 10, 2008 at 3:11 PM, Frank Cox [EMAIL PROTECTED] wrote:
 On Sun, 10 Aug 2008 17:04:16 -0500
 Lanny Marcus [EMAIL PROTECTED] wrote:

 Should I try to learn
 vi (Vim) (which obviously will help me, if I ever need to
 administer a remote box)  or install Emacs or something else,
 for the gcc editor?

 That's the sort of question where, if you ask ten people for their opinion, 
 you
 will get sixteen different answers.  At least.

 I personally use either vi or nedit, depending on what the current
 environment is and what I'm trying to accomplish.

 OK, I'm the second of the sixteen answers.  I use vi and elvis (GUI
 editor 100% compatible with vi).  I highly recommend you learn vi.
 You will never regret  :-D

Akemi: I think by the time I finished the question yesterday, I answered my own
question. I am going to learn how to use vi (actually, vim). This is the
first time I have heard of the elvis editor. As you wrote, I will not regret
learning vi and the other editors might not be available in a remote box.
Lanny
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-11 Thread Lanny Marcus
On Sun, Aug 10, 2008 at 6:19 PM, Nifty Cluster Mitch
[EMAIL PROTECTED] wrote:
 On Sun, Aug 10, 2008 at 05:04:16PM -0500, Lanny Marcus wrote:
 I downloaded the .pdf version of Thinking in C++ and I've
 begun to read that and I did
 yum groupinstall 'Development Tools'   I'm a Newbie Desktop
 user, jumping into the deep end of the pool. Should I try to learn
 vi (Vim) (which obviously will help me, if I ever need to
 administer a remote box)  or install Emacs or something else,
 for the gcc editor?  An easy learning curve is strongly preferred,
 but, I am 100% aware of the advantages of vi. Recommendations?
 TIA!

 gvim
 There is almost no pain if you stick with gvim (vim).
 The help is full of helpfull stuff, the mouse works,
 syntax and keyword aware

gvim sounds interesting. Thanks! I tried to install it, but it's not
in rpmforge.
Is it in another yum repository?

 You might also look at Eclipse.

First time I've heard of that one.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-11 Thread Lanny Marcus
On Sun, Aug 10, 2008 at 9:07 PM, Vaclav Mocek [EMAIL PROTECTED] wrote:
 Lanny Marcus wrote:
 I downloaded the .pdf version of Thinking in C++ and I've
 begun to read that and I did
 yum groupinstall 'Development Tools'   I'm a Newbie Desktop
 user, jumping into the deep end of the pool. Should I try to learn
 vi (Vim) (which obviously will help me, if I ever need to
 administer a remote box)  or install Emacs or something else,
 for the gcc editor?  An easy learning curve is strongly preferred,
 but, I am 100% aware of the advantages of vi. Recommendations?
 TIA!
snip

 I suggest to install Eclipse and CDT plugin and you get a full IDE
 http://www.eclipse.org/cdt/

I will look at Eclipse, but one of my goals is to be able to fix problems on
a remote box and that will probably require vi.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-11 Thread Ross S. W. Walker
Lanny Marcus wrote:
 On Sun, Aug 10, 2008 at 6:19 PM, Nifty Cluster Mitch
 [EMAIL PROTECTED] wrote:
  On Sun, Aug 10, 2008 at 05:04:16PM -0500, Lanny Marcus wrote:
  I downloaded the .pdf version of Thinking in C++ and I've
  begun to read that and I did
  yum groupinstall 'Development Tools'   I'm a Newbie Desktop
  user, jumping into the deep end of the pool. Should I try to learn
  vi (Vim) (which obviously will help me, if I ever need to
  administer a remote box)  or install Emacs or something else,
  for the gcc editor?  An easy learning curve is strongly preferred,
  but, I am 100% aware of the advantages of vi. Recommendations?
  TIA!
 
  gvim
  There is almost no pain if you stick with gvim (vim).
  The help is full of helpfull stuff, the mouse works,
  syntax and keyword aware
 
 gvim sounds interesting. Thanks! I tried to install it, but it's not
 in rpmforge.
 Is it in another yum repository?
 
  You might also look at Eclipse.
 
 First time I've heard of that one.

Well Eclipse is more of an IDE (Integrated Development Environment)
which I think having one that works across multiple languages is
essential.

Emacs was the original IDE, but the GUI gives a lot more to the
environment, contextual language reference, interface designing,
etc. Though Emacs purists will argue that elisp modules exist
to provide those, and they probably do, but GUI interface
design tools, most likely they do not.

vi is an essential tool to learn though for system administration
and quick-n-dirty coding, but to really develop a software system
you need an IDE, preferably one that can handle multiple languages,
has a GUI designer, language reference tools, and integrates with
multiple revision control systems (rcs/cvs, subversion, git).

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-11 Thread Ralph Angenendt
Lanny Marcus wrote:
 On Sun, Aug 10, 2008 at 6:19 PM, Nifty Cluster Mitch
  gvim
  There is almost no pain if you stick with gvim (vim).
  The help is full of helpfull stuff, the mouse works,
  syntax and keyword aware
 
 gvim sounds interesting. Thanks! I tried to install it, but it's not
 in rpmforge.
 Is it in another yum repository?

Yes, in base. It's what you get when you install vim-X11.

yum provides \*gvim\* can tell you things like that.

Cheers,

Ralph


pgpLTK8d52sOE.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-11 Thread Lanny Marcus
On Mon, Aug 11, 2008 at 11:09 AM, Ross S. W. Walker
[EMAIL PROTECTED] wrote:
snip
 Well Eclipse is more of an IDE (Integrated Development Environment)
 which I think having one that works across multiple languages is
 essential.

 Emacs was the original IDE, but the GUI gives a lot more to the
 environment, contextual language reference, interface designing,
 etc. Though Emacs purists will argue that elisp modules exist
 to provide those, and they probably do, but GUI interface
 design tools, most likely they do not.

 vi is an essential tool to learn though for system administration
 and quick-n-dirty coding, but to really develop a software system
 you need an IDE, preferably one that can handle multiple languages,
 has a GUI designer, language reference tools, and integrates with
 multiple revision control systems (rcs/cvs, subversion, git).

Ross: Thank you, for all of the above. It looks like I need to learn both
vi and an IDE, for different tasks. Lanny
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-11 Thread Lanny Marcus
On Mon, Aug 11, 2008 at 11:09 AM, Ralph Angenendt
[EMAIL PROTECTED] wrote:
 Lanny Marcus wrote:
 On Sun, Aug 10, 2008 at 6:19 PM, Nifty Cluster Mitch
  gvim
  There is almost no pain if you stick with gvim (vim).
  The help is full of helpfull stuff, the mouse works,
  syntax and keyword aware

 gvim sounds interesting. Thanks! I tried to install it, but it's not
 in rpmforge.
 Is it in another yum repository?

 Yes, in base. It's what you get when you install vim-X11.

 yum provides \*gvim\* can tell you things like that.

Thanks! I've got it now.

Installed: vim-X11.i386 2:7.0.109-3.el5.3
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?) [Going OT]

2008-08-11 Thread William L. Maltby

On Mon, 2008-08-11 at 11:04 -0500, Lanny Marcus wrote:
 snip

 Vi or vim. I think Emacs would just cloud my mind, when I'm trying to absorb
 C++Lanny

If you have C experience, it'll be quick once you get your head around
constructors, destructors, inheritance, templates (I never did enough of
that to get it), et al.

It essentially implements a bunch of things we used to do as functions,
libraries or modules when we recognized a strong re-usability potential,
and formalizes all that to the object oriented model.

Good luck on it and I know you'll enjoy it once you see results.

 snip sig stuff

-- 
Bill

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?) [Going OT]

2008-08-11 Thread Lanny Marcus
On Mon, Aug 11, 2008 at 11:38 AM, William L. Maltby
[EMAIL PROTECTED] wrote:

 On Mon, 2008-08-11 at 11:04 -0500, Lanny Marcus wrote:
 snip

 Vi or vim. I think Emacs would just cloud my mind, when I'm trying to absorb
 C++Lanny

 If you have C experience, it'll be quick once you get your head around
 constructors, destructors, inheritance, templates (I never did enough of
 that to get it), et al.

 It essentially implements a bunch of things we used to do as functions,
 libraries or modules when we recognized a strong re-usability potential,
 and formalizes all that to the object oriented model.

 Good luck on it and I know you'll enjoy it once you see results.

Thanks! Not much C experience. I'm an old Assembly Language guy. Trying to
enter the 21st century now. C++ is a lot to learn and it looks like a
lot of it has to do with
the way things are done in OOP. The book is very long (878 pages) but
well regarded.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-11 Thread Lanny Marcus
On Sun, Aug 10, 2008 at 6:19 PM, Nifty Cluster Mitch
[EMAIL PROTECTED] wrote:
 On Sun, Aug 10, 2008 at 05:04:16PM -0500, Lanny Marcus wrote:

 I downloaded the .pdf version of Thinking in C++ and I've
 begun to read that and I did
 yum groupinstall 'Development Tools'   I'm a Newbie Desktop
 user, jumping into the deep end of the pool. Should I try to learn
 vi (Vim) (which obviously will help me, if I ever need to
 administer a remote box)  or install Emacs or something else,
 for the gcc editor?  An easy learning curve is strongly preferred,
 but, I am 100% aware of the advantages of vi. Recommendations?
 TIA!

 gvim

 There is almost no pain if you stick with gvim (vim).
 The help is full of helpfull stuff, the mouse works,
 syntax and keyword aware

Thank you! gvim is slick. As you wrote, it has lots of help
and it will be easy to learn how to use vi, by learning on gvim. Better
than holding a cheat sheet or having a book open, trying
to figure out what to do, when learning.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?) [Going OT]

2008-08-11 Thread William L. Maltby

On Mon, 2008-08-11 at 12:38 -0500, Lanny Marcus wrote:
 On Mon, Aug 11, 2008 at 11:38 AM, William L. Maltby
 [EMAIL PROTECTED] wrote:
 
  On Mon, 2008-08-11 at 11:04 -0500, Lanny Marcus wrote:
  snip
 
  Vi or vim. I think Emacs would just cloud my mind, when I'm trying to 
  absorb
  C++Lanny
 
 snip

 Thanks! Not much C experience. I'm an old Assembly Language guy. Trying to

Ditto - IBM 360/370. Some things never leave. BALR 14, save area trace
register 13, etc. I still love assembly. Speed and efficiency were my
big thing.

 enter the 21st century now. C++ is a lot to learn and it looks like a
 lot of it has to do with
 the way things are done in OOP. The book is very long (878 pages) but
 well regarded.

Yes, OOP is the whole purpose of C++. When it first came out, I
dismissed it as fluff (OOP was really new then and initial specs and
implementations had not much power). By the time C95 came out, things
had started to look more useful. By now (I've not looked in a long time)
I'm sure it deserves its highly regarded status.

 snip sig stuff

Well, don't want to pollute the list further. I'll just say that you
should grab some small snippets of a real application to peruse as you
go through the book. It will help assimilation (no, not the Borg kind!)
immensely.

Enjoy!

-- 
Bill

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-11 Thread Florin Andrei

mcedit

yum install mc and you can start using it. Can't get more intuitive 
than that. I use it for PHP and C programming, and shell scripting.


--
Florin Andrei

http://florin.myip.org/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-11 Thread Kuang-Chun Cheng
On Mon, Aug 11, 2008 at 6:40 AM, Akemi Yagi [EMAIL PROTECTED] wrote:
 On Sun, Aug 10, 2008 at 3:11 PM, Frank Cox [EMAIL PROTECTED] wrote:
 On Sun, 10 Aug 2008 17:04:16 -0500
 Lanny Marcus [EMAIL PROTECTED] wrote:

 Should I try to learn
 vi (Vim) (which obviously will help me, if I ever need to
 administer a remote box)  or install Emacs or something else,
 for the gcc editor?

 That's the sort of question where, if you ask ten people for their opinion, 
 you
 will get sixteen different answers.  At least.

 I personally use either vi or nedit, depending on what the current
 environment is and what I'm trying to accomplish.

 OK, I'm the second of the sixteen answers.  I use vi and elvis (GUI
 editor 100% compatible with vi).  I highly recommend you learn vi.
 You will never regret  :-D

I also recommend you learn vi.  There are one reason which is not vi
related and I want to point it out here.

People using vi usually work on terminal ... if your are Linux or
Win32/MinGW+MSYS
user ... you are probably using 'bash'.  The 'bash' has a edit mode
called vi mode
which allow you to edit command history via vi's search command '/' or '?'.

If you are using terminal command a lot ... this feature is your
friend.  It's a lot
of better than using arrow key to fetch back the command history.

So, learn vi ... and you can share the same command when using terminal/bash.


Regards
KC



 Akemi
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-11 Thread Lanny Marcus
On Mon, Aug 11, 2008 at 3:51 PM, Florin Andrei [EMAIL PROTECTED] wrote:
 mcedit
 yum install mc and you can start using it. Can't get more intuitive than 
 that. I use it for PHP and C programming, and shell scripting.

I think a friend used Midnight Commander, years ago. On Wikipedia,
their description explains some interesting capabilities.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-11 Thread Lanny Marcus
On Mon, Aug 11, 2008 at 4:04 PM, Kuang-Chun Cheng [EMAIL PROTECTED] wrote:
 On Mon, Aug 11, 2008 at 6:40 AM, Akemi Yagi [EMAIL PROTECTED] wrote:
 On Sun, Aug 10, 2008 at 3:11 PM, Frank Cox [EMAIL PROTECTED] wrote:
 On Sun, 10 Aug 2008 17:04:16 -0500
 Lanny Marcus [EMAIL PROTECTED] wrote:
 Should I try to learn
 vi (Vim) (which obviously will help me, if I ever need to
 administer a remote box)  or install Emacs or something else,
 for the gcc editor?
snip
 I also recommend you learn vi.  There are one reason which is not vi
 related and I want to point it out here.

 People using vi usually work on terminal ... if your are Linux or
 Win32/MinGW+MSYS
 user ... you are probably using 'bash'.  The 'bash' has a edit mode
 called vi mode
 which allow you to edit command history via vi's search command '/' or '?'.

 If you are using terminal command a lot ... this feature is your
 friend.  It's a lot
 of better than using arrow key to fetch back the command history.

 So, learn vi ... and you can share the same command when using terminal/bash.

Thank you for pointing that out! Yes, bash is the shell.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?) [Going OT]

2008-08-11 Thread Lanny Marcus
On Mon, Aug 11, 2008 at 1:07 PM, William L. Maltby
[EMAIL PROTECTED] wrote:
 On Mon, 2008-08-11 at 12:38 -0500, Lanny Marcus wrote:
 On Mon, Aug 11, 2008 at 11:38 AM, William L. Maltby
 [EMAIL PROTECTED] wrote:
 Thanks! Not much C experience. I'm an old Assembly Language guy. Trying to

 Ditto - IBM 360/370. Some things never leave. BALR 14, save area trace
 register 13, etc. I still love assembly. Speed and efficiency were my
 big thing.

I began with IBM 360/65  ALC on an airline reservation system
snip

I finished the first chapter of the book. It is excellent. The author
obviously worked in industry and knows what it is like, working in the
real world.

 Yes, OOP is the whole purpose of C++. When it first came out, I
 dismissed it as fluff (OOP was really new then and initial specs and
 implementations had not much power). By the time C95 came out, things
 had started to look more useful. By now (I've not looked in a long time)
 I'm sure it deserves its highly regarded status.

From reading the first chapter, I'm sure that is true. He wrote that
50 to 70% of projects end in failure. OOP should reduce that
percentage.

 Well, don't want to pollute the list further. I'll just say that you
 should grab some small snippets of a real application to peruse as you
 go through the book. It will help assimilation (no, not the Borg kind!)
 immensely.

I'll ask a former manager/colleague if he happens to have any code
from a project he worked on that isn't classified, that he can send
me.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-11 Thread Tim Utschig

On 08/10/08 15:04, Lanny Marcus wrote:

I downloaded the .pdf version of Thinking in C++ and I've
begun to read that and I did
yum groupinstall 'Development Tools'   I'm a Newbie Desktop
user, jumping into the deep end of the pool. Should I try to learn
vi (Vim) (which obviously will help me, if I ever need to
administer a remote box)  or install Emacs or something else,
for the gcc editor?  An easy learning curve is strongly preferred,
but, I am 100% aware of the advantages of vi. Recommendations?
TIA!



I'm a Vim user myself, but I noticed one of our engineers using an 
editor which looked pretty nice.  It's called geany:


   http://geany.uvena.de/

Looks like DAG has packaged it:

   http://dag.wieers.com/rpm/packages/geany/

--
Tim Utschig [EMAIL PROTECTED]
408-934-3754 (desk)
408-644-3861 (cell)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-11 Thread Ignacio Vazquez-Abrams
On Mon, 2008-08-11 at 18:03 -0700, Tim Utschig wrote:
 On 08/10/08 15:04, Lanny Marcus wrote:
  I downloaded the .pdf version of Thinking in C++ and I've
  begun to read that and I did
  yum groupinstall 'Development Tools'   I'm a Newbie Desktop
  user, jumping into the deep end of the pool. Should I try to learn
  vi (Vim) (which obviously will help me, if I ever need to
  administer a remote box)  or install Emacs or something else,
  for the gcc editor?  An easy learning curve is strongly preferred,
  but, I am 100% aware of the advantages of vi. Recommendations?
  TIA!
 
 I'm a Vim user myself, but I noticed one of our engineers using an 
 editor which looked pretty nice.  It's called geany:
 
 http://geany.uvena.de/

geany is great; I use it all the time. The only issue I have with it is
that it doesn't support gnome-vfs so you can't connect directly to a
remote server and edit files there.

-- 
Ignacio Vazquez-Abrams [EMAIL PROTECTED]

PLEASE don't CC me; I'm already subscribed


signature.asc
Description: This is a digitally signed message part
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-10 Thread Frank Cox
On Sun, 10 Aug 2008 17:04:16 -0500
Lanny Marcus [EMAIL PROTECTED] wrote:

 Should I try to learn
 vi (Vim) (which obviously will help me, if I ever need to
 administer a remote box)  or install Emacs or something else,
 for the gcc editor?

That's the sort of question where, if you ask ten people for their opinion, you
will get sixteen different answers.  At least.

I personally use either vi or nedit, depending on what the current
environment is and what I'm trying to accomplish.

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-10 Thread Akemi Yagi
On Sun, Aug 10, 2008 at 3:11 PM, Frank Cox [EMAIL PROTECTED] wrote:
 On Sun, 10 Aug 2008 17:04:16 -0500
 Lanny Marcus [EMAIL PROTECTED] wrote:

 Should I try to learn
 vi (Vim) (which obviously will help me, if I ever need to
 administer a remote box)  or install Emacs or something else,
 for the gcc editor?

 That's the sort of question where, if you ask ten people for their opinion, 
 you
 will get sixteen different answers.  At least.

 I personally use either vi or nedit, depending on what the current
 environment is and what I'm trying to accomplish.

OK, I'm the second of the sixteen answers.  I use vi and elvis (GUI
editor 100% compatible with vi).  I highly recommend you learn vi.
You will never regret  :-D

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-10 Thread Nifty Cluster Mitch
On Sun, Aug 10, 2008 at 05:04:16PM -0500, Lanny Marcus wrote:
 
 I downloaded the .pdf version of Thinking in C++ and I've
 begun to read that and I did
 yum groupinstall 'Development Tools'   I'm a Newbie Desktop
 user, jumping into the deep end of the pool. Should I try to learn
 vi (Vim) (which obviously will help me, if I ever need to
 administer a remote box)  or install Emacs or something else,
 for the gcc editor?  An easy learning curve is strongly preferred,
 but, I am 100% aware of the advantages of vi. Recommendations?
 TIA!

gvim

There is almost no pain if you stick with gvim (vim).
The help is full of helpfull stuff, the mouse works,
syntax and keyword aware

You might also look at Eclipse.  









-- 
T o m  M i t c h e l l 
Got a great hat... now what.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-10 Thread William L. Maltby

On Sun, 2008-08-10 at 15:40 -0700, Akemi Yagi wrote:
 On Sun, Aug 10, 2008 at 3:11 PM, Frank Cox [EMAIL PROTECTED] wrote:
  On Sun, 10 Aug 2008 17:04:16 -0500
  Lanny Marcus [EMAIL PROTECTED] wrote:
 
  Should I try to learn
  vi (Vim) (which obviously will help me, if I ever need to
  administer a remote box)  or install Emacs or something else,
  for the gcc editor?

These two usually result in religious wars. Emacs is *very* powerful and
customizable and extensible. Probably makes the learning curve longer.
But it already has definitions for several languages. Vim also has some.

I never used emacs much as I already had a cake walk into vi (now vim)
because it uses a lot of what you find in regex, which I was intimately
familiar with, from heavy ed usage before vim was a gleam in someone's
eye.

If you already have some familiarity with regex (grep, sed, et al),
you'll probably find vim faster to learn.

Then I would suggest that. Otherwise, take a quick browse of the man
pages for both, pick one or the other and use it (almost) exclusively.
You'll quickly become competent if you use it a lot and take brief reads
of succeeding sections in the man pages or tutorials.

 snip

-- 
Bill

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-10 Thread Vaclav Mocek

Lanny Marcus wrote:

I downloaded the .pdf version of Thinking in C++ and I've
begun to read that and I did
yum groupinstall 'Development Tools'   I'm a Newbie Desktop
user, jumping into the deep end of the pool. Should I try to learn
vi (Vim) (which obviously will help me, if I ever need to
administer a remote box)  or install Emacs or something else,
for the gcc editor?  An easy learning curve is strongly preferred,
but, I am 100% aware of the advantages of vi. Recommendations?
TIA!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

  

Hi,

I suggest to install Eclipse and CDT plugin and you get a full IDE

http://www.eclipse.org/cdt/

BR

Vaclav
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos