NetBSD-Desktop archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Simple editor (ee?)
On Sat, 7 Feb 2009, Jeremy C. Reed wrote:
I agree.
And ee is a good choice.
While I'd prefer ee key bindings were closer to pico or nano's defaults.
Some are the same though. I think it would be easy make ee behave like
pico or nano. (But don't use this as an excuse to hold back from
importing it.)
What needs to be done to make it work with NetBSD's curses?
FreeBSD's port of it will build against NetBSD curses, but
then the 'ESC' menu does not work correctly - it takes an ESC
as the first key in a multiple escape sequence. ESC '?' will
correctly show its escape menu.
Do we have a curses expert in the house who could quickly
debug the 'waiting on ESC' issue?
In fact for a test build of FreeBSD's usr.bin/ee the following
will work (obviously would need to be done differently before
import).
Index: Makefile
===================================================================
RCS file: /home/ncvs/src/usr.bin/ee/Makefile,v
retrieving revision 1.24
diff -r1.24 Makefile
3,4c3,5
< CFLAGS+= -DCAP -DHAS_NCURSES -DHAS_UNISTD -DHAS_STDARG -DHAS_STDLIB \
< -DHAS_CTYPE -DHAS_SYS_IOCTL -DHAS_SYS_WAIT -DSLCT_HDR
---
CFLAGS+= -DCAP -DHAS_UNISTD -DHAS_STDARG -DHAS_STDLIB \
-DHAS_CTYPE -DHAS_SYS_IOCTL -DHAS_SYS_WAIT -DSLCT_HDR \
'-D__FBSDID(x)=' '-Dfixterm()='
9,10c10,11
< DPADD= ${LIBNCURSES}
< LDADD= -lncurses
---
DPADD= ${LIBCURSES}
LDADD= -lcurses
--
David/absolute -- www.NetBSD.org: No hype required --
Home |
Main Index |
Thread Index |
Old Index