-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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... - -- ============================================================================== I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone. Bjarne Stroustrup ============================================================================== -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkkmdZgACgkQasN0sSnLmgLtCgCfVXJY3iFuyY8PR46o3tAu4fd6 F1UAoNU3V+6Qjz0pHHJOGLeV5TScjqJq =sfpc -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org