the repl has no readline support

Bug #381189 reported by Aki Helin
6
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

Aki Helin (aoh)
Changed in ol:
assignee: nobody → Aki Helin (aoh)
importance: Undecided → Wishlist
status: New → Won't Fix
Revision history for this message
Aki Helin (aoh) wrote :

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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.