The time now is Tue 21 May 2013, 08:13
All times are UTC - 4 |
| Author |
Message |
emil
Joined: 10 Nov 2009 Posts: 547 Location: Austria
|
Posted: Fri 29 Oct 2010, 01:56 Post subject:
Emacs Subject description: legendary text editor |
|
I made a pet for the latest emacs (version 23.2) for puppy 431.
http://boxen.math.washington.edu/home/emil/stuff/
never mastered the learning curve myself, but many others swear by it .
emacs tour
build notes:
I just build it with configure, make, new2dir make install - no stripping etc.
|
|
Back to top
|
|
 |
RetroTechGuy

Joined: 15 Dec 2009 Posts: 2298 Location: USA
|
Posted: Fri 29 Oct 2010, 10:16 Post subject:
Re: Emacs Subject description: legendary text editor |
|
| emil wrote: |
I made a pet for the latest emacs (version 23.2) for puppy 431.
http://boxen.math.washington.edu/home/emil/stuff/
never mastered the learning curve myself, but many others swear by it .
emacs tour
build notes:
I just build it with configure, make, new2dir make install - no stripping etc. |
BTW, I use "mg" (micro GNU Emacs) which has the "feel" of Emacs editing, with tiny size (this is a command line tool, not GUI). I just installed the .deb file from here:
http://packages.debian.org/squeeze/mg
http://http.us.debian.org/debian/pool/main/m/mg/mg_20090107-3_i386.deb
_________________ Wellminded Search
Add swapfile
|
|
Back to top
|
|
 |
emil
Joined: 10 Nov 2009 Posts: 547 Location: Austria
|
Posted: Fri 29 Oct 2010, 18:58 Post subject:
mg |
|
Hi RetroTechGuy, thanks for the pointer.
mg seems small, more puppy size.
I compiled it from source, pet is just 58 kB.
uncompressed 128 kB
build is easy, just "make" - it creates just 1 binary: usr/bin/mg
It has to be started from the commandline though. I wont fix that atm.
|
|
Back to top
|
|
 |
RetroTechGuy

Joined: 15 Dec 2009 Posts: 2298 Location: USA
|
Posted: Sat 30 Oct 2010, 10:59 Post subject:
Re: mg |
|
| emil wrote: | Hi RetroTechGuy, thanks for the pointer.
mg seems small, more puppy size.
I compiled it from source, pet is just 58 kB.
uncompressed 128 kB
build is easy, just "make" - it creates just 1 binary: usr/bin/mg
It has to be started from the commandline though. I wont fix that atm. |
I just installed the .deb file, which installs to /usr/bin/ and shows up at 122116 bytes.
Also, if you create a ".mg" file in /root/ you can define key functions. Here's what my keymap looks like (I change "forward letter" to "forward word", set "F4" to user definable macro, etc):
| Code: | (global-set-key "\^f" 'forward-word)
(global-set-key "\^b" 'backward-word)
(global-unset-key "\^h") ; Unhook ^H from help-help
(global-set-key "\^h" 'delete-backward-char) ; ^H (delete left)
<...snip... see attached files for more> |
<edit - add file examples>
I found this man page, which shows default key bindings:
http://manpages.ubuntu.com/manpages/intrepid/man1/mg.1.html
I have bound many keys to F-keys, and other widgets.
Note: mg "knows" your term type, so you may need to change the filename to .mg-xterm (when I got it working under Puppy, I just dumped all my old .mg-??? files into /root/ -- so I have .mg, .mg-sun, .mg-vt100, .mg-xterm ...yeah, I've been using "mg" for a couple decades...).
On the command line, enter "set" and hit return. Look for "TERM=" and you'll know what your window identifies itself as.
Let me paste in the 3 most obvious .mg files (.mg, .mg-vt100, .mg-xterm) -- since I just confirmed that you do need the .mg-xterm under rxvt.
Being "dot" files, they won't be visible unless you "show all files". They adjust key bindings to various functions (and perhaps enough examples that you can do your own character map customization for each terminal type):
 |
| Description |
.mg-<term> files examples.
|

Download |
| Filename |
mgfiles.zip |
| Filesize |
1.93 KB |
| Downloaded |
301 Time(s) |
_________________ Wellminded Search
Add swapfile
|
|
Back to top
|
|
 |
calgeneva
Joined: 25 Dec 2010 Posts: 1
|
Posted: Sat 25 Dec 2010, 22:19 Post subject:
re:mg Subject description: substitute for emacs |
|
Thanks for the recent posts on Emacs
another solution like mg is a text editor that is out-of-the box with puppy
By invoking e3 from the command line in a command window as follows:
e3em
you get emacs key bindings in e3
To add emacs keybindings to Firefox - try
https://addons.mozilla.org/en-US/firefox/addon/4141/
|
|
Back to top
|
|
 |
emil
Joined: 10 Nov 2009 Posts: 547 Location: Austria
|
Posted: Fri 11 Feb 2011, 03:49 Post subject:
Real Programmers Use Butterflies |
|
Just had a good laugh, Real programmers and emacs ...
http://xkcd.com/378/
|
|
Back to top
|
|
 |
GustavoYz

Joined: 07 Jul 2010 Posts: 866 Location: .ar
|
Posted: Fri 11 Feb 2011, 04:07 Post subject:
|
|

Thanks for the pet, downloading...
Regards.
_________________

|
|
Back to top
|
|
 |
|
|
|
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
|