LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


View Poll Results: What is the best text editor ever?
Emacs 28 19.72%
Vi, Vi clones 64 45.07%
Kate 14 9.86%
GEdit 2 1.41%
Joe 5 3.52%
Pico 6 4.23%
KWrite 5 3.52%
Notepad 3 2.11%
Bluefish 2 1.41%
Other (Please post what other) 13 9.15%
Voters: 142. You may not vote on this poll

Reply
  Search this Thread
Old 09-04-2004, 09:37 PM   #46
darin3200
LQ Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45

Vim is my favorite. An interesting quote though on Emacs from Linus himself
Quote:
"An infinite number of monkeys typing into GNU emacs would never make a good program." (1995)
Quote page
 
Old 09-05-2004, 06:40 AM   #47
Charalambos
Member
 
Registered: Aug 2004
Location: Switzerland
Distribution: debian
Posts: 149

Rep: Reputation: 15
Quote:
Originally posted by ludeKing
Sure, if you sit at a black and white terminal all day, use vi or emacs, knock yourself out, but in the age when window managers are becoming far advanced, use the apps they are shipping with.
Just one example:
If administering a web server, why should you install an xserver on it just to be able to edit a config file? There are many situations where x is absolutely overkill and not desirable at all. Or would you want to play games on a web server?

On the other hand, there are many good graphical editors in linux. But what makes them not as good as the command line ones is that they don't serve you in any situation. Command lines editors are always at your service if the computer is running even at the bare minimum installation.
 
Old 09-05-2004, 07:57 AM   #48
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
you can play games with no X (nethack being the one id pick .... )

anyways,

ludeKing: i don't think you understand the vi/emacs thing very well, they are geared cowards programing, and regular system config file editing ... a lot of those weird commands come in handy

but if you want to do something like write a letter, vi/emacs is diffidently going to be a pain, id pick nano (it was based on pico, which was designed for email writing ... )

you just have to pick the write editor for the job (for me i have nano for letters (or i could use open office) , and gvim for programing/config files )
 
Old 09-05-2004, 08:36 AM   #49
ludeKing
Member
 
Registered: Jul 2003
Location: NSW. Australia
Distribution: Ubuntu, Fedora, Slackware
Posts: 181

Rep: Reputation: 30
Thats what I meant about the terminal/administering thing.

If you have no X server, then sure, Vi would be good. If you do have an X server, why use Vi etc when there are good GUI ones?

Also, I do programming myself, and do like the syntax highlighting that comes with Kate and mcedit.
 
Old 09-05-2004, 08:50 AM   #50
melinda_sayang
Member
 
Registered: Dec 2003
Location: Petaling Jaya
Distribution: Ubuntu
Posts: 475

Rep: Reputation: 31
ludeKing, if I have xserver, I don't use vi. But i use Gvim.
 
Old 09-05-2004, 08:57 AM   #51
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Vi, vim and alike. Are there any other editors
 
Old 09-05-2004, 09:01 AM   #52
Charalambos
Member
 
Registered: Aug 2004
Location: Switzerland
Distribution: debian
Posts: 149

Rep: Reputation: 15
Yes, emacs...
 
Old 09-05-2004, 09:03 AM   #53
Charalambos
Member
 
Registered: Aug 2004
Location: Switzerland
Distribution: debian
Posts: 149

Rep: Reputation: 15
Quote:
Originally posted by ludeKing
Also, I do programming myself, and do like the syntax highlighting that comes with Kate and mcedit.
Just to let you know: vim has syntax highlighting too (and that even in command line).
Looks veeery nice.
 
Old 09-05-2004, 03:02 PM   #54
KneeLess
Member
 
Registered: May 2003
Distribution: Debian GNU/Linux 3.0 Sid, OpenBSD 3.5
Posts: 190

Rep: Reputation: 30
The one I use most? cat.
$ cat > file

 
Old 09-05-2004, 04:32 PM   #55
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally posted by ludeKing
Thats what I meant about the terminal/administering thing.

If you have no X server, then sure, Vi would be good. If you do have an X server, why use Vi etc when there are good GUI ones?

Also, I do programming myself, and do like the syntax highlighting that comes with Kate and mcedit.
You're mounting the horse from the wrong end.

One simply DOESN'T install X on any server
machine (unless of course you're hosting to
X terminals ;}) ...


And to install + 160MB of memory hogging, CPU
hogging executables just to be able to use a pointy-
clicky editor is ridiculous ;} when you can have
emacs ... or vi(m), for that matter, both of which do
syntax highlighting for you, too. :}


Cheers,
Tink
 
Old 09-05-2004, 05:02 PM   #56
infamous41md
Member
 
Registered: Mar 2003
Posts: 804

Rep: Reputation: 30
vimtutor
/usr/share/vim/vim61/doc/usr_*.txt
 
Old 09-05-2004, 08:12 PM   #57
ludeKing
Member
 
Registered: Jul 2003
Location: NSW. Australia
Distribution: Ubuntu, Fedora, Slackware
Posts: 181

Rep: Reputation: 30
Quote:

And to install + 160MB of memory hogging, CPU
hogging executables just to be able to use a pointy-
clicky editor is ridiculous ;} when you can have
emacs ... or vi(m), for that matter, both of which do
syntax highlighting for you, too. :}


Cheers,
Tink
Far out, people have missed the point.

IF you have no X server, in other words, you don't have any X server on the machine you are working at, ie you don't have any GUI interface on your machine, then YES! vi, emacs, will suffice!

BUT, if you do have an X server, ie you have XFree86 or Xorg installed, you run KDE/Gnome, or any other window manager, typing 'startx' actaully does something...... then use a GUI one.

I NEVER ONCE SAID for you to install X on any machine just to use the 'pointy-clicky' editors.
 
Old 09-05-2004, 08:30 PM   #58
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Far out, you're missing the point :}


You're mistaking pretty, or pointy-clicky, or
easy to learn for good. Good is what raises your
productivity, and from my > 20 years experience
with programmable machines and computers I
dare say that a hot-key (keystroke combination
driven) editor will always be better than something
that forces you to take the paws out of their natural
habitat (the keyboard). Unless of course you consider
VisualBasic programming, too ;)



Cheers,
Tink
 
Old 09-05-2004, 08:52 PM   #59
ludeKing
Member
 
Registered: Jul 2003
Location: NSW. Australia
Distribution: Ubuntu, Fedora, Slackware
Posts: 181

Rep: Reputation: 30
Good is what raises your productivity...... correct.... and thats why millions of people switching to Linux will continue to use the GUI apps...

Why take several steps backwards in using a program written however many years ago, when there are equally good, if not better programs, that make the switch to Linux from Windows that much easier.

There is no way in hell, if I showed my family and friends to convert to Linux, and told them they'd need to use vi, emacs and other command line programs that they would ever even think of doing it. But show them Kate or any other easy to learn GUI editor and they would find it much more appealing.

I don't know if you are an advocate for more people to switch to Linux or not, but I certainly am, and the easier the transition, the better IMO.

And please don't comment on what I think programming is as we obviously have different ideas.
but to answer your question, I've never used and never will use VisualBasic
 
Old 09-05-2004, 09:12 PM   #60
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally posted by ludeKing
And please don't comment on what I think programming is as we obviously have different ideas.
C'mon mate, you've posted your opinion on
what editor is good, considering the most efficient
available tools outdated just because they don't
match your ideas... you'll have to take the challenge,
too, and permit others to comment ;)

I do appreciate that the occasional user who
edits a config file once in a lifetime probably
won't want to learn to use emacs or vi ... but
then they probably wouldn't part-take in this
poll, either.

And to answer your other question: no, I don't
really think that Linux needs a broader user-
base, I'm quite happy with the status-quo, or,
looking at the level of some of the questions on
this website, would even rather go back a few
notches ;) ... or, to make the language slightly
more coarse:

There are no stupid questions, but there's lots
of inquisitive idiots!

:D


Cheers,
Tink
 
  


Reply



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
Which light text editor can copy text from file and paste in browser? davidas Linux - Software 9 03-06-2006 11:28 AM
text editor Mig21 Linux - Software 17 07-07-2005 05:27 PM
E3 Text editor Blackout_08 Fedora 1 03-07-2005 01:21 AM
text editor dauphinfay Linux - General 2 02-29-2004 09:37 PM
Best Text Editor? Ekim Gram Linux - Software 4 05-24-2003 12:36 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:01 AM.

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