ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
View Poll Results: What is the best text editor ever?
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.
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 )
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. :}
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.
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 ;)
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
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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.