LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-23-2006, 06:56 PM   #1
mr.mike
Newbie
 
Registered: May 2006
Posts: 12

Rep: Reputation: 0
Text editor choice?


Hi there, Slackers! I just installed 10.1 (which is what I had), and here's what happened:

Partioned for dual boot (XP) on a 40 G Maxtor using QT Parted (found on the Rescue CD). Set a swap for 1 G and a root of 8 G. Resierfs. I left the rest alone in case.....
I found the available partion programs on the Slack 1 were a bit awkward for this.

Anyway, I got my Slack installed, and even got the GUI (Gnome) running, albeit with some errors regarding sound, etc. Anyway, I installed lilo on the /partition and used GAG (a free bootloader) so I could access XP and use the net, .....And bug you kind folks a bit All went well, and it wasn't that tough for me, or any newbie, I'd say. I REALLY want to use Slack, though and am thinking longer term. Naturally, I need to edit a lot of the etc, and config files, right?

Which brings me to the question: Which text editor to learn? I opened Vi (I think) and could not get out. the <:q!> didn't seem to work so I had to re-boot with 3 fingers (cntr/Alt/delete). I REALLY have been doing research with every source at hand. I know there is Vi, and Emacs, and Elvis, and VIM and a whole lot more. What I don't know is what is most common for you Slackers......I'm looking for the simplest, closest thing to maybe Write, word pad, Abi or something. I have enough to learn as it is! Thanks for any help (and YES, I tried that too, along with man, how-to, etc.).

A pointer to a doc on your choice would be nice, but not required.

Thanks.
 
Old 05-23-2006, 06:59 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
i personally use Kate if i'm in GUI, but in text mode, i would prefer Vi. But for word processor, i prefer OOo

Quote:
the <:q!> didn't seem to work so I had to re-boot with 3 fingers
have you tried to press ESCAPE first and then :q! and then ENTER ??
it worked for all vi version
 
Old 05-23-2006, 07:12 PM   #3
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
mr.mike,

When I first started out with Slackware, I was a big user of pico (It comes with the pine package from memory). Very basic and easy to learn text editor.

However, I recommend you learn vi. It's a very powerfull editor and has a load of nifty features which you will learn and use as second nature.

There is a pretty good vi document on FreeBSD.org[1]

Good luck

-Kristijan

[1] - http://docs.freebsd.org/44doc/usd/12.vi/paper.html
 
Old 05-23-2006, 07:28 PM   #4
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
...and, it just happens that only yesterday, LXer linked a real nice vi(m) tutorial: http://www.nuxified.org/vi_survival_guide
 
Old 05-23-2006, 08:13 PM   #5
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
First thing you'll want to do when using vim is using the default config file, to do this run: cp /usr/share/vim/vim63/vimrc_example.vim /usr/share/vim/vimrc
That will give you sintax highligthing when supported and a few other "nice" details.
 
Old 05-23-2006, 09:21 PM   #6
mr.mike
Newbie
 
Registered: May 2006
Posts: 12

Original Poster
Rep: Reputation: 0


THANK YOU! THANK YOU! THANK YOU! (in my best Gomer Pyle voice

Exactly what I needed, guys. I'll use pine to get up and running, and study Vi (m)? till the dogs come home.

And man, that thing is tricky when you first try it out!!


My next question will be in a few weeks, I hope

mIke
 
Old 05-23-2006, 09:33 PM   #7
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Quote:
Originally Posted by mr.mike
My next question will be in a few weeks, I hope
And, hopefully, your answers just as soon. Welcome to Slackware, and let the learning (and teaching) begin!
 
Old 05-23-2006, 10:06 PM   #8
dennisk
Member
 
Registered: May 2004
Location: Southwestern USA
Distribution: CentOS
Posts: 279

Rep: Reputation: 30
Mr. Mike,

There is one other editor you should look at. It's the edit function in mc <Midnight Commander>. If you work on the commandline mc is handy for doing all sorts of things with files.

Dennisk
 
Old 05-23-2006, 10:08 PM   #9
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Vi is handy, since you will find it (or one of it's many clones) on just about any *NIX system you find yourself on. I think a really good way to learn it relatively quickly is to just use:

Code:
vimtutor
That will get you going with most of the basic commands for any of the vi clones.
 
Old 05-23-2006, 10:17 PM   #10
securitybreach
Member
 
Registered: Jan 2005
Location: In front of my computers, USA
Distribution: Archlinux 64
Posts: 100

Rep: Reputation: 16
I personally lilo nano http://www.nano-editor.org/ (a pico clone). BTW pico comes with Slackware 10.2.

Thanks
 
Old 05-23-2006, 11:01 PM   #11
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Quote:
Originally Posted by dennisk
Mr. Mike,

There is one other editor you should look at. It's the edit function in mc <Midnight Commander>. If you work on the commandline mc is handy for doing all sorts of things with files.

Dennisk
Which can be used as a standalone app, it's called mcedit (I prefered this when switched to Linux since I was a Norton Commander lover ).
 
Old 05-23-2006, 11:07 PM   #12
zetabill
Member
 
Registered: Oct 2005
Location: Rhode Island, USA
Distribution: Slackware, Xubuntu
Posts: 348

Rep: Reputation: 32
I'll be loading up Slackware as soon as my internet connection is up long enough to get a decent download but I'd like to know if Elvis is still the default VI clone in slackware and if there are really any noticeable differences from VIM? I don't know a thing about elvis but I can only assume that it's "like" VIM.

I like pico or nano for the quickest of quick fixes... but I don't like emacs. I learned on VIM and I'm rather used to it.

For those who have a spare 10 minutes and are willing to learn VI (assuming you have VIM and don't know a thing about it) type

vimtutor

at a prompt and it'll toss you into a "file" opened in vim that tells you how to do it and gives you the opportunity to play with the exercises it provides. It's great if you learn-by-doing and it's the reason I know VI.

-Bill

EDIT: sorry I was reading and posting before I saw the previous vimtutor post! I don't mean to be redundant.

Last edited by zetabill; 05-23-2006 at 11:09 PM.
 
Old 05-24-2006, 12:40 AM   #13
mr.mike
Newbie
 
Registered: May 2006
Posts: 12

Original Poster
Rep: Reputation: 0
[QUOTE=shilo]Vi is handy, since you will find it (or one of it's many clones) on just about any *NIX system you find yourself on. I think a really good way to learn it relatively quickly is to just use:

Code:
vimtutor
Thanks, AND I downloaded and copied your "how I do it" post a long time ago (on your web site when I could get it all in one page

Amazing stuff! And thanks for the links and suggestions for nano and mcedit, too.

FWIW, I've printed the Slackware Bible/manual/handbook the Vi manual, and about everything else I could find on the net that was Slack specific. I'm gettin' there............

WHAT a crowd here, huh?
 
Old 05-24-2006, 01:11 AM   #14
stitchman
Member
 
Registered: Dec 2005
Distribution: Slackware 13.1
Posts: 82

Rep: Reputation: 15
I also am a Midnight Commander user (mc). I use it for any directory exploring, config file editing, log file viewing...i can go on. You can use it to ftp and you can even run command-line from it. For me its the perfect all-purpose tool. Its easy to learn for beginners and its powerful enough for advanced users.

My personal preference for the panes is to use the left pane for file info and the right pane for the directory tree.
 
Old 05-24-2006, 08:55 AM   #15
mr.mike
Newbie
 
Registered: May 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by stitchman
I also am a Midnight Commander user (mc). I use it for any directory exploring, config file editing, log file viewing...i can go on. You can use it to ftp and you can even run command-line from it. For me its the perfect all-purpose tool. Its easy to learn for beginners and its powerful enough for advanced users.

My personal preference for the panes is to use the left pane for file info and the right pane for the directory tree.
Now that's REAL interesting, Stichman, as I was thinking I'd have to manually search for all the files I was trying to edit. Plus, I have no idea of the syntax to use for any of the editors.

I seem to remember using Norton Commander way back in DOS, back when windows 3.1 came out. Man, I fought a long time before I switched to Window$.

I'll see if I can find a tutorial on this one, too. Since I'm not going to program any, this may be a nice compromise, huh? I did a full install of 10.1, and I understand there is over 2K progs somewhere, I should have it..........

My main concern right now is to get everything working so I can dump the Richmond stuff. Thanks for the tips, guys! I'm taking notes, so I'll let you know what I settle on. I may even write a "Slackware for Dummies" post for guys just starting out, too
 
  


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
x text editor monohouse Linux - Software 8 11-08-2004 06:09 AM
your editor of choice... inkedmn Programming 35 07-21-2003 07:26 PM
editor of choice penguinzrule Linux - Software 7 11-28-2002 03:25 AM
Editor of choice penguinzrule Programming 1 09-19-2002 10:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:56 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
Open Source Consulting | Domain Registration