When I run the Scheme interpreter in my terminal [Ubuntu 10.04], I can't seem to navigate through text and must delete and retype everything if I make a mistake. I'm sure there must be a way to navigate through the text without having to delete everything (although it's good practice)
Left, right, up, down give me ^[[$LETTER where $LETTER is D, C, A, B respectively
sudo apt-get install rlwrap
then
rlwrap whatever
to give whatever
the readline
editing capabilities. Replace whatever
with any executable you need (don't know which Scheme dialect you're rocking)
You can also probably make a shell alias for it, in .bash_profile
or .bashrc
or wherever:
alias whatever="rlwrap whatever"
to have it permanently on.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With