bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

your version of ed does not work with readline.


From: Barry Pollock
Subject: your version of ed does not work with readline.
Date: Wed, 25 Jun 2003 23:45:00 -0400 (EDT)

I have developed a version of ed that works with readline
... note that the version in ed-0.2.tar.gz uses the debian system and
libreadline.so  libhistry.so libtermcap.so.
I find that it it works very well using readline.
There is one small problem:
if you exit with a control-D ed will not exit properly. but  if you exit
readline mode first, with a
T0

ed will exit properly.
Keep in mind that the code is converted to single character input.
I have been able to make the code smaller and you are welcome to make
any modifications you wish.
io.c, ed.h buf.c re.c main.c sub.c glbl.c have been modified. The macros
are smaller and fewer.
Barry
You can download whatever you ned at
http://www.hurontel.on.ca/~barryp/ed
Enjoy:

Barry





reply via email to

[Prev in Thread] Current Thread [Next in Thread]