G T Smith wrote:
David C. Rankin wrote:
Carlos E. R. wrote:
On Tuesday, 2008-11-18 at 09:06 -0600, David C. Rankin wrote:
...
If your panicking because you don't know vi, no sweat, just do this (still as root): # vi /etc/X11/xorg.conf
For a novice, it is far easier to use "joe". It is included by default on all installs, even on the rescue disk - and has online help :-)
-- Cheers, Carlos Robinson
I like them both. As long as I have 'ctrl+k h' in joe and as long as I have :help *and* remember that [esc][esc] gets me back to command mode, I'm good to go in either.
I used to think vi was the most cryptic beast imaginable, but after using it a little and just remembering 'i' to get to insert mode [ins] to toggle between insert and overwrite mode, and remembering [esc][esc] to get out of each, I began to like it. Where else do you get to do :set nu, :12,18/^/# / and :12,18/# // to get line number see you need to comment lines 12-18 and then uncommenting the lines again in 3 short commands?
If you want to look at a truly cryptic beast --> look at emacs
Hmm... trying to start editor wars eh! :-)
Personally, as someone who has done a little programming I tend to prefer pico over joe for basic text editing (but I would recommend either before vi), and nowadays emacs for any serious code hacking that I cannot do in eclipse (which is basically at the moment mainly Bash and I would suspect someone somewhere has a bash plugin :-) ). Emacs has a lot more features than vi and is much better suited as a programmers editor, and as such with such beauties as edlin and SOS should be firmly consigned to the dustbin of history. :-)
I have used emacs in various guises under DOS,Windows, and *NIX (and have vague memories of an IBM/VM and a VAX VMS version). Once you have learnt the basics for one you can use it on all platforms...
No, no -- no editor wars. In my quest to learn this thing called Linux, I have not yet got to emacs. I stumbled through mailx which led me to a brief encounter with emacs from which I beat a hasty retreat to live to fight again another day. I have no doubt I'll love it -- once I have time to make friends with it ;-) -- David C. Rankin, J.D.,P.E. | Rankin Law Firm, PLLC | Countdown for openSuSE 11.1 510 Ochiltree Street | http://counter.opensuse.org/11.1/small Nacogdoches, Texas 75961 | Telephone: (936) 715-9333 | openSoftware und SystemEntwicklung Facsimile: (936) 715-9339 | http://www.opensuse.org/ www.rankinlawfirm.com | -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org