Posted by robost86 on 23:30:00 06-21-2001
Is there any editor like DOS Edit for Linux (consile mode)? I don't like the others (or I am just to dumb to understand them). Anyways, I'd like to know if there are any editors for console mode working just like the ones for X.
Posted by robost86 on 23:32:00 06-21-2001
If there are no such editors, maybe we should write one?
Posted by SilentStrike on 03:48:00 06-22-2001
If I am not mistaken, there is no mouse input with the Linux console.
Posted by KaGez on 08:37:00 06-22-2001
eeerrrr ...
SilentStrike , there is ... I think that program was called gpm or sumthin like that ... with that proggy runnin in the back you can have mouse input in the console =)
and a DOS like editor ... maybe you can try the console version of ViM
[addsig]
Posted by fsvara on 13:46:00 06-22-2001
Yeh, as kagez said, sure there's mouse at the console, with gpm.
If you don't like VIM, you are prolly to dumb or you haven't really tried, yet =)
Easy editors like DOS edit are
pico
joe (not so good)
Posted by fabs on 10:53:00 06-24-2001
I don't think emacs is any hard to use for basic editing. Just keep these 2 things in mind:
Ctr+x & Ctr+c : exit emacs.
Ctr+x & Ctr+s : save file.
Also, if you use emacs, and press tab a lot, your code will get some visual structure
fabs
Posted by robost86 on 13:01:00 06-26-2001
Console text editors need no mouse. I never use mouse in DOS edit, but for example, you should be able to use shift+arrow keys to mark text, and ctrl+insert to copy etc. That makes life a lot easier =)
I get visual structure in my code without using emacs.
Posted by fsvara on 14:30:00 06-26-2001
ndoh, unix invented mice for texteditors, specifially for copy&paste in texteditors =)
go use it!
Posted by jgrant on 03:39:00 06-27-2001
pico
joe
pico installs when you install pine, joe you can get from freshmeat.net. They are sort of similar to DOS edit. I like em...
Posted by KaGez on 14:42:00 06-27-2001
:wq Save the file and quit
:w Save the file and continue workin
:q! quit and forget everything
isn't this easy ?? too easy
everybody try ViM ... Vi sux , but ViM rulz
[addsig]
Posted by ^pixel on 10:13:00 07-07-2001
pico is alot like DOS Edit but the best one to learn is vi(m). If you take *NIX in school (as I have) they will teach you vi because every UNIX/LINUX (in case you don't know what my previous reference to *NIX meant) comes with vi
Posted by KaGez on 17:07:00 07-07-2001
that too , and it's VERY much smaller than Emacs ... but , nothing against emacs ... dun wanna start a flame war in here ... (in the meanwhile we are enough ppls to do a flame war )
[addsig]
Posted by bandij on 18:55:00 07-10-2001
You should read through the manual of ViM.
There are two modes:
command mode (or whatever)
and editing mode (I called them so for now)
You can reach the editing mode by starting
vim and then press i (or <insert>) or r (or <replace>). If you want to get into command mode press ^[ <escape>. Then you need to
give a double point (or what you call it ":")
and then enter your command:
w <filename> to save the file
e <filename> to edit a file
q to quit vim
new <filename> to split the screen
there are some other commands (but those are the important ones) You can enter two or more
commands at once. e.g.
:wq
I heard (and used) an editor called "edy". They say it's Linus' favorite editor :)
It's (nearly) exactly like the DOS edit (with menus etc). You should look for the sources.
Or I can send you my old version (it's aprox. 100kBytes large (the sources!)).
Have a nice day!
Bandi
Posted by armando on 20:36:00 07-10-2001
I like to use vi editor
from the get go it was simple and easy to use.
try vi "filename" try .txt file first as an example
i to insert
colon q to quit
colon wq to write and quit
/(name of something in the file) to find
do a search for commands for vi editor
Posted by KaGez on 18:09:00 07-11-2001
I don't like Vi that much ... personally I love ViM =) The windows version sux (yes it does) , but the Linux (UNIX) version rulz ! =) Everybody use ViM !!
[addsig]
Posted by bandij on 18:36:00 07-11-2001
yeah, I like ViM more than Vi too. But Vi is the system editor for Linux, I think. At least you can find it in /bin (on RH-systems).
What do you think of gvim (X-Windows version of ViM)?
There is a Window$-implementation of ViM? Must have been a lot of porting work.
Greetings.
Bandi
Posted by KaGez on 04:50:00 07-12-2001
1. Never ever even think about using the window version
2.Yes Vi is the system editor . Less is also based on Vi as far as I know .
3.I know jViM (japanese ViM) , and wasn't gViM the GTK version of ViM ? Or was that gtk+-ViM ?
[addsig]
Posted by bandij on 12:31:00 07-12-2001
I don't know whether gvim uses GTKlibs. It may be.
Less is not based on vi. Some commands are the same.
Posted by KaGez on 15:05:00 07-13-2001
really ?? (about that Vi and Less stuff) then Vi is based on Less ... not only SOME commands are the same
[addsig]
Posted by bandij on 19:33:00 07-14-2001
I think some of less' commands are based on vi and some on more.
Posted by sachac on 08:59:00 08-03-2001
Slightly off topic, but there's a pager called most. =)
Anyway, vim is cool - it's fast, small, and does syntax highlighting at the console.
However, I also happen to know and like emacs, especially the upcoming emacs21. Yes, it does have everything (including the kitchen sink!). Thankfully enough, it's extremely customizable. You can trim much of it down, set the level of decoration, and then proceed to have fun with all the major modes.
I guess I like emacs because it's so much of a learning experience _when_ I want it to be a learning experience. You can get by with knowing the basic commands - ^X^S, ^X^C, ^X^F, ^X^K, ^X^B... but you can also do all sorts of cool things with it.
vi is customizable, but it doesn't let you do it too easily. Or to such an extent.
That aside, I also happen to love vim, and I've tried most of the other editors - pico, jed, joe, ae.. =)
Posted by fabs on 11:05:00 08-03-2001
yipi! Finally somebody who also likes emacs
fabs