Patch for gnu readline support library and input port.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
New
|
Undecided
|
Unassigned |
Bug Description
I've decided to work on a readline library for ikarus. Why, because I *love* Ikarus :), but I hate the default REPL :(.
Attached is a basic implementation. There are some issues with filling the port string buffer, but I should have that fixed shortly.
I'm not sure how to (import ikarus.string) to get access to string-copy! so I created a softlink: ln -s ../../scheme/
I get a segmentation fault upon CTRL-D, probably due to C readline() returning a NULL. I don't think the 'char* return type correctly coerces NULL to #f.
Can anybody recommend a place to host bzr repos?
BTW: This patch works under Ubuntu. I didn't bother with Cygwin or OS X.