LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   a small, fast and basic text editor for X (https://www.linuxquestions.org/questions/linux-software-2/a-small-fast-and-basic-text-editor-for-x-265882/)

Sepero 12-13-2004 05:07 PM

Quote:

Originally posted by monohouse
and one last thing .......why do you need nano and mcedit if you have vi ?
For simple text editing, mcedit and vi are bloat-overkill. Nano-tiny does nothing more or less than what's needed. It's simpler and smaller than both.

monohouse 12-13-2004 05:35 PM

I thought vi is a super-light-weight text editor ever ?

jailbait 12-13-2004 06:44 PM

" a small, fast and basic text editor for X
does anyone know one that fits into any of these categories ?"

You could try mp (minimum profit):

http://www.triptico.com/software/mp.html

mp will run either from the command line using ncurses or in X Window using Gtk+. mp is my command line editor.

-----------------------------
Steve Stites

Sepero 12-13-2004 07:46 PM

Yeah, vi is about as light-weight as you can get, if you're editing text, html, source code, etc., but for just text, I go nano.

For my programming needs, I uninstalled vi for jed. It's like emacs, but without all the integrated garbage.

monohouse 12-14-2004 06:12 AM

it seems to be good, the compilation was successful.......

there is only one question I have at the moment, can I change the text and background colors of mp's gtk interface ?

I really don't like black on white, what about the cursor, can it be altered ?

other than that this one wins with 2 megabytes of resident footprint, almost lower than the window manager itself..........

seems that the configuration file allows a great deal of flexibility.........

I think I will go for this one :)
mp wins with these advantages :

current and maintained code, from the changelog : "2004-11-15 16:03"
low-memory consumption : almost under 2 MB
source-code available and it compiles !
requires no additional libraries
highly configurable and flexible with a configuration file

thanks dude, this really is a great one.

but of corse..........if you think you know a better one let me know ok ?

Haiyadragon 12-14-2004 07:08 AM

I like Leafpad. It uses gtk+ I think. I do mis a print option though.

jailbait 12-14-2004 09:50 AM

"there is only one question I have at the moment, can I change the text and background colors of mp's gtk interface ?"

Yes. But I don't have the mp documentation handy to tell you how to do it. The documentation is in the tarball for the mp source. I have mine set to white text on green background.

--------------------------------
Steve Stites

monohouse 12-14-2004 10:30 AM

from the Leafpad home page :

"Requirement

* GTK+ >= 2.0.0
"

:(

vectordrake 12-15-2004 02:55 PM

I should pipe in with another vote for jed, but i won't. i'll suggest xjed, as its jed for X. I'm curious as to why you want an editor for X. Is it for the mouse-clicks? (which xjed has).

Sepero 12-15-2004 07:22 PM

Quote:

Originally posted by vectordrake
I should pipe in with another vote for jed, but i won't. i'll suggest xjed, as its jed for X.
I thought I told you not to say anything about that! Back into your room, mister. ;)

vectordrake 12-15-2004 07:39 PM

I couldn't help it! Its an affliction I can't get rid of (like a rash!). I don't use jed anymore, as nano comes standard with most distros I have tried and it suits my needs well (and what it doesn't do, bash will).

shamu 12-15-2004 10:24 PM

Hi buddy,

what you want exactly, you mean you looking editor like Ultra or VC++ in window.
you can get it from net, if you download "ncurses-5.x" it complete support gvim.
if you want source code let me know.
good luck
shamu

monohouse 12-16-2004 01:25 AM

from what I understand jed is not *just* an editor, it has extra features, which is probably for it's relations to emacs, and emacs is not what I have in mind, what I need is a text editor for X, why X ?, I think I can answer that........

it's because you don't have to deal much with typing filenames and paths, also it's because of the colors and with mp, it can be configured to work the way I want it to, on top of that with mp, the size of the editor has become very small almost as small as vim itself, in addition it's the ability to use the mouse in control of text and because sometimes I have to ask myself WTH im running X for ?

if you say jed is so good and there is an "xjed" too, can it beat mp with it's requirements ?

and one last thing - I don't like the idea of loading a library for only one program..........

the bottom line is, I need a fully working and functioning system, and i need it now
I don't have the luxury of time to wait until the development of <insert your favorite project here> is complete and I believe I can do it, with your help :)

so if you believe my choice could be better, let me know, look at my browser post, people told me there is a source for mozilla's browser and it's better than mozilla itself so I tried it and it worked ! and saved me 11 MB of memory and I can take it from there to suit what I need........

jschiwal 12-16-2004 01:47 AM

There is a lighter weight version of vim called vim-minimal that you could run in the xshell. If you boot into the rescue mode, this is the editor that may be available.

monohouse 12-16-2004 04:18 AM

can't find it on http://www.vim.org/download.php


All times are GMT -5. The time now is 07:42 PM.