Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 17 Sep 2019, 06:18
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
mp Text Editor (GUI-Version)
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [12 Posts]  
Author Message
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Mon 29 Sep 2008, 07:27    Post subject:  mp Text Editor (GUI-Version)  

Home: http://triptico.com/software/mp.html
Version: 5.2.0

Quote:
A text editor for programmers

Features
* Fully scriptable using a C-like scripting language.
* Unlimited undo levels.
* Complete Unicode support.
* Multiple files can be edited at the same time and blocks copied and pasted among them.
* Syntax highlighting for many popular languages / file formats: C, C++, Perl, Shell Scripts, Ruby, Php, Python, HTML...
* Creative use of tags: tags created by the external utility ctags are used to move instantaneously to functions or variables inside your current source tree. Tags are visually highlighted (underlined), and symbol completion can be triggered to avoid typing your own function names over and over.
* Intelligent help system: pressing F1 over any word of a text being edited triggers the underlying system help (calling man when editing C or Shell files, perldoc with Perl, ri on Ruby, winhelp on MS Windows...).
* Understandable interface: drop-down menus, reasonable default key bindings.
* Configurable keys, menus and colors.
* Text templates can be easily defined / accessed.
* Multiplatform: Console/curses, KDE4, GTK+, MS Windows.
* Automatic indentation, word wrapping, internal grep, learning / repeating functions.
* Spellchecking support (via the ispell package).
* Multilingual.
* Password-protected, encrypted text files (using the ARCFOUR algorithm).
* It helps you abandon vi, emacs and other six-legged freaks definitely.


This is the gtk2-Package. If you start from commandline (without x) it will open with ncurses-gui.

Starter is at 'Document' from commandline it's 'mp-5' .

Compiled and tested in 4.31.

Cheers
aragon
mp-5.2.0.png
 Description   
 Filesize   70.83 KB
 Viewed   2314 Time(s)

mp-5.2.0.png

mp-5.2.0.pet
Description 
pet

 Download 
Filename  mp-5.2.0.pet 
Filesize  132.87 KB 
Downloaded  961 Time(s) 
mp_DOC-5.2.0.pet
Description 
pet

 Download 
Filename  mp_DOC-5.2.0.pet 
Filesize  76.96 KB 
Downloaded  794 Time(s) 
mp_NLS-5.2.0.pet
Description 
pet

 Download 
Filename  mp_NLS-5.2.0.pet 
Filesize  45.91 KB 
Downloaded  762 Time(s) 

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html

Last edited by aragon on Tue 26 Apr 2011, 15:12; edited 5 times in total
Back to top
View user's profile Send private message 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Mon 15 Dec 2008, 08:28    Post subject:  

updated to 5.1.1, see main post.

cheers
aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send private message 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Tue 13 Oct 2009, 05:36    Post subject:  

updated to 5.1.3, see main post.

aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send private message 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Sun 24 Apr 2011, 16:49    Post subject:  

uploaded actual version to first post.

aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4859
Location: Blue Springs, MO

PostPosted: Mon 25 Apr 2011, 09:01    Post subject:  

@aragon - I sent Angel a couple of patches prior to this release that may not be integrated to mainline due to being non-standard-gui:
    1. moving notebook tabs up to the menu line.
    2. showing the full list of open files on right click on any tab
let me know if you are interested in either one

_________________
Check out my github repositories. I may eventually get around to updating my blogspot.
Back to top
View user's profile Send private message Visit poster's website 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Tue 26 Apr 2011, 02:22    Post subject:  

hi technosaurus,

yes, please post your patches.

aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4859
Location: Blue Springs, MO

PostPosted: Tue 26 Apr 2011, 10:47    Post subject:  

---mpv_gtk.c.old 2010-08-25 15:45:13.000000000 +0800 +++ mpv_gtk.c 2010-11-10 21:41:52.123291099 +0800 @@ -1741,9 +1741,10 @@ gtk_container_add(GTK_CONTAINER(window), vbox); build_menu(); -gtk_box_pack_start(GTK_BOX(vbox), menu_bar, FALSE, FALSE, 0); --gtk_box_pack_start(GTK_BOX(vbox), file_tabs, FALSE, FALSE, 0); + hbox = gtk_hbox_new(FALSE, 0); + gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0); + gtk_box_pack_start(GTK_BOX(hbox), menu_bar, FALSE, FALSE, 0); + gtk_box_pack_start(GTK_BOX(hbox), file_tabs, TRUE, TRUE, 0); /* horizontal box holding the text and the scrollbar */ hbox = gtk_hbox_new(FALSE, 2);






another cheapy so that right click brings up a list of open files: //moving them to the top does make less tabs fit //this lets you get at that 30th file faster, easier -saves ~25clicks

gtk_notebook_popup_enable(GTK_ NOTEBOOK(file_tabs));

EDIT sorry for the formatting issues, posting from my phone

_________________
Check out my github repositories. I may eventually get around to updating my blogspot.
Back to top
View user's profile Send private message Visit poster's website 
sc0ttman


Joined: 16 Sep 2009
Posts: 2700
Location: UK

PostPosted: Tue 26 Apr 2011, 11:03    Post subject:  

works brilliantly in pup4, thanks! Smile (I think I'm using a version including the patches posted above, as I seem to have tabs, up at the top, next to the menu items.. right clicking on a tab also shows the list of all files open.. NICE!)

also, now the sources have been changed (right?), dont you need to post the sources somewhere too?

_________________
Pkg, mdsh, Woofy, Akita Linux, VLC-GTK
Back to top
View user's profile Send private message 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Tue 26 Apr 2011, 12:08    Post subject:  

@techno: thanks, will have a look.

@scottsman: me actually not, my package is unpatched (atm)...

Aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send private message 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Tue 26 Apr 2011, 15:13    Post subject:  

@techno: please look at the updated pic in post 1 (it's from my actual package). I guess your changes have been accepted...

aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4859
Location: Blue Springs, MO

PostPosted: Tue 26 Apr 2011, 17:14    Post subject:  

cool, ... I saw the other pic and figured it wasn't applied
_________________
Check out my github repositories. I may eventually get around to updating my blogspot.
Back to top
View user's profile Send private message Visit poster's website 
miriam


Joined: 06 Dec 2006
Posts: 367
Location: Queensland, Australia

PostPosted: Sat 08 Jun 2019, 04:51    Post subject: works in Puppy lupu 528  

Thank you Aragon, for compiling and posting this. I tried and failed to compile it. I'm not sure why.

I'm pleased to report that your pet still works in Puppy Lupu 528 (though I had to extract the files from the pet after renaming it as a tgz file and copy the files by hand to their intended places).

I'd just become interested in mp because reading about it reminded me of an old editor I used to use a few decades ago (Matt Dillon's "dme" on the Amiga computer). It was incredibly easy to script it and modify its keys and menus. It still stands out as the most powerful editor I've ever used. I've never seen anything like it since. So I'm hoping mp-5 might take me close to that.

I already make great use of external scripts with various text editors. The beauty of Puppy's Rox interface is that I can attach these scripts to icons that I keep on the desktop in a row near the bottom of the screen. They let me perform many sophisticated actions in even the simplest of text editors (for example leafpad, which is my most commonly used editor). Using my scripts I can do very cool and complex things in leafpad (or any other simple editor) but its lack of a script interface limits greatly my ability to use interactive and conditional scripts. I can't for instance query the cursor to find out what position it is at or what letter it is over. I'm hoping mp-5 can change that. I haven't read its documentation yet.

By the way, my scripts tend to use xclip to get the current selected text and xdotool to paste or type text into the text editor. I should write it up properly for the forum and make the RoxApps available here. In the meantime you can download them from my site at:
http://miriam-english.org/projects/eed/index.html

They don't need to be installed. Just make sure you have already installed xdotool and xclip. Some of the RoxApps use a more recent version of sed than Puppy usually has. Make sure your version of sed is version 4.2.2 or more recent. (it's really easy to compile.) I don't think they use any other unusual programs. All the other things they use are standard Linux commands, such as sed, awk, sort, date, wc, aspell, dict, and so on. They are really easy to modify any way you want, too.

One of the nicest things about my scripts is that you can use them in filename dialogs, online text entry (forums and blogs), or anywhere you need to enter text from the keyboard. They're not just limited to use inside text editors.

_________________
A life! Cool! Where can I download one of those from?
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [12 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1526s ][ Queries: 13 (0.0296s) ][ GZIP on ]