amiga.org
     
iconAll times are GMT -6. The time now is 07:50 PM. | Welcome to Forum, please register to access all of our features.

» Amiga.org » Amiga computer related discussion » General chat about Amiga topics » linex text editor?

General chat about Amiga topics This forum is for conversations which are specifically "Amiga" related, but don't fit into other categories. Contents of this forum do appear on the main page, unlike Talk About. If a subject appears to be non-related, it will be moved to Talk About.

Reply
 
Thread Tools Display Modes
Old 08-26-2003, 07:58 PM   #1
WarPiper
Technoid
Points: 9,551, Level: 65 Points: 9,551, Level: 65 Points: 9,551, Level: 65
Activity: 14% Activity: 14% Activity: 14%
 
WarPiper's Avatar
 
Join Date: Feb 2002
Posts: 367
Send a message via AIM to WarPiper
Default linex text editor?

does anyone here know of a text editor that I can use in the shell? I can not boot to x and would like to edit a file. of if at worst, a step by step way of recompiling the kernal?
__________________
There was a time I can remember computers were fun...I miss my A1200.
WarPiper is offline   Reply With Quote
Old 08-26-2003, 08:02 PM   #2
Merc
Technoid
Points: 8,719, Level: 62 Points: 8,719, Level: 62 Points: 8,719, Level: 62
Activity: 1% Activity: 1% Activity: 1%
 
Join Date: Apr 2002
Posts: 300
Send a message via ICQ to Merc
Default Re: linex text editor?

vi! :-D Takes some getting used to though, emacs might be easier if you don't know vi that well...
Merc is offline   Reply With Quote
Old 08-26-2003, 08:05 PM   #3
WarPiper
Technoid
Points: 9,551, Level: 65 Points: 9,551, Level: 65 Points: 9,551, Level: 65
Activity: 14% Activity: 14% Activity: 14%
 
WarPiper's Avatar
 
Join Date: Feb 2002
Posts: 367
Send a message via AIM to WarPiper
Default Re: linex text editor?

what does vii do? doe it recompile the kernal or is it a text editor? soor, I am a linux moron stil in training.
__________________
There was a time I can remember computers were fun...I miss my A1200.
WarPiper is offline   Reply With Quote
Old 08-26-2003, 08:16 PM   #4
Ilwrath
Kindred of Babble-on
Points: 12,069, Level: 72 Points: 12,069, Level: 72 Points: 12,069, Level: 72
Activity: 1% Activity: 1% Activity: 1%
Zookeeper Champion
 
Ilwrath's Avatar
 
Join Date: Mar 2002
Posts: 2,184
Default Re: linex text editor?

yep... vi and emacs are your text editors....

personally, I prefer vi. They're both awkward until you get used to them, though.

You'll probably want to go over a quick reference, like this one though...

The main thing to remember is that vi uses 2 modes... insert and command. To go to insert (able to type things) hit 'i', to get out, and back to command, hit 'ESC' or 'CTRL ['.

Good luck, and may the force be with you.
Ilwrath is offline   Reply With Quote
Old 08-26-2003, 08:42 PM   #5
ronybeck
Hobbyist
Points: 4,972, Level: 45 Points: 4,972, Level: 45 Points: 4,972, Level: 45
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2002
Posts: 51
Send a message via ICQ to ronybeck
Default Re: linex text editor?

Vi can be a little bit of a challange to any one who is new to linux. You could also try pico. It is much more intuitive and acts more like notepad type apps. It is not as powerful as vi or emacs but the average joe won't need the extra functions that vi and emacs provide any how.
ronybeck is offline   Reply With Quote
Old 08-26-2003, 08:58 PM   #6
Rigger
Technoid
Points: 5,540, Level: 47 Points: 5,540, Level: 47 Points: 5,540, Level: 47
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2002
Posts: 169
Default Re: linex text editor?

Pico get my vote.
Rigger is offline   Reply With Quote
Old 08-27-2003, 12:50 AM   #7
Siggy
Technoid
Points: 4,730, Level: 43 Points: 4,730, Level: 43 Points: 4,730, Level: 43
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2003
Posts: 212
Default Re: linex text editor?

If you want something rather easy to use, try joe.

Siggy
__________________
[quote]The TV business is uglier than most things.
It is normally perceived as some kind of cruel and shallow money trench through the heart of the Journalism industry, a long plastic hallway where thieves and pimps run free and good men die like dogs,
Siggy is offline   Reply With Quote
Old 08-27-2003, 01:41 AM   #8
BouncingAyatollah
Technoid
Points: 5,861, Level: 49 Points: 5,861, Level: 49 Points: 5,861, Level: 49
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2002
Posts: 341
Default Re: linex text editor?

vi is an old style text editor so when you run it, it is in "command mode", i.e. any keys you hit will do something! Good thing is, if you just need to use it infrequently, all you need to know is:

i insert text and ESC to end insert
x delete character
:wq write file and quit
:q quit

u undo!

As said, it is worth learning at least the minimal because no matter what state your system gets into, you know vi will be there!
__________________
\"Whose souls, albeit in a cloudy memory, yet seek back their good,
but, like drunk men, know not the road home.\" -- BOETHIUS
BouncingAyatollah is offline   Reply With Quote
Old 08-27-2003, 01:44 AM   #9
Jope
Defender of the Faith
Points: 10,153, Level: 67 Points: 10,153, Level: 67 Points: 10,153, Level: 67
Activity: 1% Activity: 1% Activity: 1%
 
Join Date: Sep 2002
Posts: 1,112
Default Re: linex text editor?

Quote:
ronybeck wrote:
Vi can be a little bit of a challange to any one who is new to linux. You could also try pico. It is much more intuitive and acts more like notepad type apps. It is not as powerful as vi or emacs but the average joe won't need the extra functions that vi and emacs provide any how.
Ok, if the original asker decides that he doesn't want to do himself a favour and learn vi, then at least use

pico -w

Very important. Braindead pico has word wrap enabled by default and -w turns it off. Too many config files have been ruined, and strands of hair have been pulled out by beginners using pico, and not noticing that some lines got wrapped while they edited them.

BTW, learning vi is not a religion thing for me - it's just plain common sense. Vi is available about 99,99% of the time. Especially if you use a commercial unix, that's usually the only visual editor you get out of the box. You need to install your favourite editor on each machine if you don't want to learn vi.
Jope is offline   Reply With Quote
Old 08-27-2003, 01:47 AM   #10
Targhan
Cult Member
Points: 8,097, Level: 60 Points: 8,097, Level: 60 Points: 8,097, Level: 60
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2002
Posts: 818
Send a message via ICQ to Targhan
Default Re: linex text editor?


pico -w

It rules. However, there are basically two Unix editor camps. Emacs, and then, there is everyone else. :-P

I belong to the "everyone else" grouping. Although, a simple printed "cheat sheet" is about the most helpful thing in the world for either VI or EMACS.
__________________
Regards,
Targhan
Targhan is offline   Reply With Quote
Old 08-27-2003, 03:38 AM   #11
Floid
Cult Member
Points: 7,502, Level: 57 Points: 7,502, Level: 57 Points: 7,502, Level: 57
Activity: 1% Activity: 1% Activity: 1%
 
Join Date: Feb 2003
Posts: 918
Default Re: linex text editor?

Quote:
Targhan wrote:

pico -w

It rules. However, there are basically two Unix editor camps. Emacs, and then, there is everyone else. :-P

I belong to the "everyone else" grouping. Although, a simple printed "cheat sheet" is about the most helpful thing in the world for either VI or EMACS.
'vi' seems to be the 'everything else.' Which is annoying if you're an ex-MS-DOS moron, and expect everything to be at least as straightforward as VDE was.

If you want to use 'pico,' you may as well use 'nano.' Systems intended to support people who like 'pico' may have one or the other installed. (So remember both names.)

http://www.nano-editor.org/

A working knowledge of 'vi' - and 'ed,' its precursor - will probably save your posterior at least once, since nearly every *NIX maintains at least the latter in /sbin or some other place you'll have access to when you're stuck in single-user mode with none of your other partitions mountable.

When it comes to everyday use, I'd say there are four camps - those in the ever-ongoing vi vs. emacs "war" (both fit different niches); those getting by with nano, pico, or other 'niche' console-based editors that fit different people's opinions of 'usability'; and those who prefer to work from the GUI, and use editors that can only be used from within X (of which there are quite a few, many of which seem decent enough, especially in comparison to the mess that is console-land).

If you do decide to pick between emacs (a 20-40MB text-editing operating system) and vi (available in many flavors, most extremely-to-relatively light in comparison), keep in mind that both the 'real' GNU emacs and 'vim,' the most popular vi variant, can work in both X and console modes. This doesn't mean either are point-and-click simple within X, of course, just that they have their own window-dressings available.

If you come across something called 'Xemacs,' that's a project that forked from the original GNU emacs years ago, and doesn't have much to do with X11 support anymore. (In other words, the original 'GNU' flavor has long since caught up in that regard.) Emacs fans swear by either, in practical terms there isn't much difference, but I have it on authority of one XEmacs fan that you're best off sticking with the straight GNU flavor until you develop any reasons to hate it.
__________________
... mailto:jkanowitz-at-snet.net
Floid is offline   Reply With Quote
Old 08-27-2003, 03:57 AM   #12
alx
Premium Member
Points: 7,078, Level: 55 Points: 7,078, Level: 55 Points: 7,078, Level: 55
Activity: 10% Activity: 10% Activity: 10%
 
alx's Avatar
 
Join Date: Jan 2003
Posts: 1,022
Default Re: linex text editor?

Emacs always seemed to be a bit better for me than vi - type in "info emacs" at the command line for a hypertext manual with a tutorial.

Although I haven't used any text-based editors for a while, and I've heard that joe is meant to have a less steep learning curve.
alx is offline   Reply With Quote
Old 08-27-2003, 04:26 AM   #13
bhoggett
Defender of the Faith
Points: 11,289, Level: 70 Points: 11,289, Level: 70 Points: 11,289, Level: 70
Activity: 2% Activity: 2% Activity: 2%
 
bhoggett's Avatar
 
Join Date: Mar 2002
Location: Lancashire, UK
Posts: 1,431
Default Re: linex text editor?

vi (or vim - vi improved) and emacs are the two "standard" editors you will find on almost any Linux and Unix system.

Since you're running Mandrake 9.1, you may want to try joe or nano.
__________________
Bill Hoggett
bhoggett is offline   Reply With Quote
Old 08-27-2003, 05:11 AM   #14
minator
Cult Member
Points: 9,529, Level: 65 Points: 9,529, Level: 65 Points: 9,529, Level: 65
Activity: 2% Activity: 2% Activity: 2%
 
minator's Avatar
 
Join Date: Jan 2003
Posts: 572
Default Re: linex text editor?

I think it is no coincidence that vi are the middle two letters in "evil" :-D

As user friendlyness goes, it isn't.

It's there simply becasue it has been around a long time and lots of people know it. If you get into trouble on an old system it'll be there to save you ass. It's everywhere, type vim in a shell in BeOS and it'll appear...

Anyone who actually likes it, quite frankly needs their head examined.

And no I don't like emacs either, I prefer something from this century.
minator is offline   Reply With Quote
Old 08-27-2003, 05:49 AM   #15
Jope
Defender of the Faith
Points: 10,153, Level: 67 Points: 10,153, Level: 67 Points: 10,153, Level: 67
Activity: 1% Activity: 1% Activity: 1%
 
Join Date: Sep 2002
Posts: 1,112
Default Re: linex text editor?

Quote:
Anyone who actually likes [vi], quite frankly needs their head examined.
Now now, don't be starting an editor war!

Vi does everything I need from a text editor.. (and I feel rather sane)
Jope is offline   Reply With Quote
Reply

Bookmarks

Tags
editor , linex , text

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Best text editor for developer? thegman Amiga Software Issues and Discussion 5 02-27-2009 09:45 AM
Best alternative to WB3.1 "Ed" text editor? mingle Amiga Software Issues and Discussion 15 11-28-2008 04:23 PM
Best KS 1.3 compatible text editor ? arkpandora Amiga Software Issues and Discussion 20 06-01-2007 06:01 PM
What text editor is the best in your oppinon? Jose Amiga OS -- Development 38 11-14-2004 08:05 AM
Your Favorite Text-Editor.. Hardboy Amiga Software Issues and Discussion 38 11-16-2002 01:01 PM