the repl has no readline support
Bug #381189 reported by
Aki Helin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Owl Lisp |
Won't Fix
|
Wishlist
|
Aki Helin |
Bug Description
interacting with the repl is quite tedious
Changed in ol: | |
assignee: | nobody → Aki Helin (aoh) |
importance: | Undecided → Wishlist |
status: | New → Won't Fix |
To post a comment you must log in.
you can use rlwrap to add readline support to owl and other programs.
for example in debian or ubuntu:
$ sudo apt-get install rlwrap
$ rlwrap ./ovm owl.fasl
or if you unpack and compile owl somewhere and have $HOME/bin in $PATH:
$ echo ",words" | ./ovm owl.fasl | grep Words | sed -e 's/.*(\(.*\))/\1/' > $HOME/.owl-words
$ export OWL=`pwd`
$ echo "#\!/bin/sh
exec rlwrap -H $HOME/.owl-history -f $HOME/.owl-words -r $OWL/ovm $OWL/owl.fasl \"\$@\"
" > $HOME/bin/owl
$ chmod +x $HOME/bin/owl
$ owl