|
发表于 2008-4-26 05:01:27
|
显示全部楼层
编辑器要小的话,用 e3 吧,小到不可思议,而且可以模拟多种编辑器的操作,看看简介:
e3 is a micro text editor with an executable code size between 3800 and 35000 bytes, depending on used assembler options, platform and self compressor.
Except for 'syntax highlighting', the e3 binary supports all of the basic functions one expects plus built in arithmetic calculations. If you have installed the stream editor 'sed' you can use these tools as sub-processes, getting the full power of regular expressions.
e3 can use Wordstar-, EMACS-, Pico, Nedit or vi-like key bindings, whichever the user chooses. Also the user can calculate arithmetics inside the text.
e3's assembler version is available on 11 most important x86 OS, see below for details.
Also available is an (alpha level) 32 bit native code assembler version for StrongARM ("Advanced Risc Machine") CPUs.
There is also a GNU-C-written version for non-i386-Unix and non-ARM-Linux platforms (e3.c) using Wordstar keybindings only. This README doesn't further mention e3.c. (Just make it!)
e3 is designed to be INDEPENDENT OF LIBC OR ANY OTHER library, except on QNX and Win32.
e3 has been tested using the terminal console, but Xterm, Eterm, rxvt, kvt, vt220 and vt100 should work too. |
|