Emacs
Emacs
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.
- RetroTechGuy
- Posts: 2947
- Joined: Tue 15 Dec 2009, 17:20
- Location: USA
Re: Emacs
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: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.
http://packages.debian.org/squeeze/mg
http://http.us.debian.org/debian/pool/m ... 3_i386.deb
[url=http://murga-linux.com/puppy/viewtopic.php?t=58615]Add swapfile[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]
- RetroTechGuy
- Posts: 2947
- Joined: Tue 15 Dec 2009, 17:20
- Location: USA
Re: mg
I just installed the .deb file, which installs to /usr/bin/ and shows up at 122116 bytes.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.
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: Select all
(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>
I found this man page, which shows default key bindings:
http://manpages.ubuntu.com/manpages/int ... /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):
- Attachments
-
- mgfiles.zip
- .mg-<term> files examples.
- (1.93 KiB) Downloaded 816 times
[url=http://murga-linux.com/puppy/viewtopic.php?t=58615]Add swapfile[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]
re:mg
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/
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/
Real Programmers Use Butterflies
Just had a good laugh, Real programmers and emacs ...
http://xkcd.com/378/
http://xkcd.com/378/