LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-30-2004, 08:02 PM   #1
djc
Member
 
Registered: Mar 2004
Posts: 54

Rep: Reputation: 15
console text editor recomendation


what console text file editor is recomended for a n00bie? I have read a bit on linux and vi and emacs come to mind but after starting vi I didn't know what to do, after starting emacs I couldn't even figure out how to exit!

I am not command line impaired, I use it quite often, in windows. So I am messing with linux (redhat9) and just to get started I need to edit config files, which I don't want to have to log into an X session to do. I am doing it via ssh from a remote machine. So for quick text file edits, what other options are there? or do I need to take the time to learn vi now? I eventually plan to, but to get started I was hoping there was something simpler, like the old DOS edit program. That way I can get right into the thick of it instead of learning to use a text editor first.

any help is appreciated. Thanks.
 
Old 03-30-2004, 08:06 PM   #2
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
I would use VI. Do a search on google for vim tutorials.

Once you learn Vi, you will always be able to edit files on a UNIX system, as they all have Vi installed, but may not have emacs, pico, etc.

--Ian
 
Old 03-30-2004, 08:23 PM   #3
hp_tux
Member
 
Registered: Mar 2004
Location: Germany
Distribution: Slackware 14
Posts: 87

Rep: Reputation: 15
Hello,

well, my suggestion is: learn a little bit "vi" (how to insert/delete/save file/quit without saving), but don't use it! My favourite is "mcedit", the editor of "mc", the "Midnight Commander". You can use it without learning it before!

cu

hp_tux
 
Old 03-30-2004, 08:51 PM   #4
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
try "nano"
 
Old 03-30-2004, 09:17 PM   #5
eccles23
Member
 
Registered: Jun 2003
Location: Australia
Distribution: Gentoo/kernel 2.6.2
Posts: 45

Rep: Reputation: 15
Quote:
what console text file editor is recomended for a n00bie? I have read a bit on linux and vi and emacs come to mind but after starting vi I didn't know what to do, after starting emacs I couldn't even figure out how to exit!
well if you managed to exit vi then you're halfway there

vi is fantastic - learn to use that - and once you get the hang of it you will wonder how you ever *ever* used anything else. there are excellent tutorials and documents out there, like others suggested.

Basically you can use as many or as few of its features as you want to... but the power *is* there... and if you ever find yourself thinking "wouldn't it be nifty if it could..." then it probably can.

plus vi is installed on everything. period. emacs isn't... nor is nano etc... one day it might be the only way to edit a text file on a system you happen to be on. then you will be glad you learned it.

one last tip - make sure it's ViM that you have installed (latest version is 6.2 or so I think), and don't run it in unix compatability mode - because it sucks and you will hate it
 
Old 03-30-2004, 09:32 PM   #6
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 46
vi
What you have to know to start out is
Esc
to get to command mode and
i
to insert mode
and
:wq
to write and quit

To start out in emacs
Ctrl-f
to open a file
and
Ctrl-x Ctrl-c
To exit

Do a google search for
emacs or vi reference to see the key combinations

Another editor you might want to try is pico
 
Old 03-30-2004, 09:35 PM   #7
kooch
Member
 
Registered: Mar 2004
Location: Upstate NY
Distribution: Slackware/YDL
Posts: 77

Rep: Reputation: 15
A tip: Don't listen to anyone who tells you what text editor to use. Just check them all out until you find the one that best suits your needs. This is one of those eternally raging disputes that means absolutely jack.
 
Old 03-31-2004, 07:22 AM   #8
djc
Member
 
Registered: Mar 2004
Posts: 54

Original Poster
Rep: Reputation: 15
thanks all!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 12:28 PM
Empty screen console text editor MikeZila Linux - Software 1 12-09-2004 04:00 PM
a good console text editor for programing/debuging? zovres Programming 1 09-21-2004 03:23 AM
Need a console editor Toker Linux - General 2 10-01-2003 12:43 AM
Text Editor in Console Mode ? membrax Linux - Hardware 5 12-29-2002 12:14 AM


All times are GMT -5. The time now is 04:24 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration