|
Register or have you forgotten your password?
|
|
|
| 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. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 | ||||||||
|
Technoid
![]()
|
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. |
||||||||
|
|
|
|
|
#2 | ||||||||
|
Technoid
![]()
|
vi! :-D Takes some getting used to though, emacs might be easier if you don't know vi that well...
|
||||||||
|
|
|
|
|
#3 | ||||||||
|
Technoid
![]()
|
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. |
||||||||
|
|
|
|
|
#4 | ||||||||
|
Kindred of Babble-on
![]()
Join Date: Mar 2002
Posts: 2,184
|
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. |
||||||||
|
|
|
|
|
#5 | ||||||||
|
Hobbyist
![]()
|
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.
|
||||||||
|
|
|
|
|
#6 | ||||||||
|
Technoid
![]()
Join Date: Mar 2002
Posts: 169
|
Pico get my vote.
|
||||||||
|
|
|
|
|
#7 | ||||||||
|
Technoid
![]()
Join Date: Feb 2003
Posts: 212
|
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, |
||||||||
|
|
|
|
|
#8 | ||||||||
|
Technoid
![]()
Join Date: Feb 2002
Posts: 341
|
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 |
||||||||
|
|
|
|
|
#9 | |||||||||
|
Defender of the Faith
![]()
Join Date: Sep 2002
Posts: 1,112
|
Quote:
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. |
|||||||||
|
|
|
|
|
#10 | ||||||||
|
Cult Member
![]()
|
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 |
||||||||
|
|
|
|
|
#11 | |||||||||
|
Cult Member
![]()
Join Date: Feb 2003
Posts: 918
|
Quote:
![]() 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 |
|||||||||
|
|
|
|
|
#12 | ||||||||
|
Premium Member
Join Date: Jan 2003
Posts: 1,022
|
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. |
||||||||
|
|
|
|
|
#13 | ||||||||
|
Defender of the Faith
![]()
Join Date: Mar 2002
Location: Lancashire, UK
Posts: 1,431
|
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 |
||||||||
|
|
|
|
|
#14 | ||||||||
|
Cult Member
![]()
Join Date: Jan 2003
Posts: 572
|
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. |
||||||||
|
|
|
|
|
#15 | |||||||||
|
Defender of the Faith
![]()
Join Date: Sep 2002
Posts: 1,112
|
Quote:
Vi does everything I need from a text editor.. (and I feel rather sane) |
|||||||||
|
|
|
![]() |
| Bookmarks |
| Tags |
| editor , linex , text |
| Thread Tools | |
| Display Modes | |
|
|
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 |