- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
alt-f, alt-b in REPL?
Sat, 2010-07-31, 01:55
Is there a way to get readline shortcuts like alt-f and alt-b (forward and
backward word) to work in REPL?
Thanks,
Kenji
Mon, 2010-08-02, 19:27
#2
Re: alt-f, alt-b in REPL?
Really? That doesn't work for me. I get literal b's and f's.
Control-b and -f work, but not alt-b and alt-f. What's your setup?
> uname -a
Linux [...] 2.6.32-24-generic #38-Ubuntu SMP Mon Jul 5 09:20:59 UTC
2010 x86_64 GNU/Linux
> rlwrap -v
rlwrap 0.34
> scala
Welcome to Scala version 2.8.0.final (Java HotSpot(TM) 64-Bit Server
VM, Java 1.6.0_14).
Kenji
On Sat, Jul 31, 2010 at 2:32 PM, Erlend Hamnaberg wrote:
> $ rlwrap scala
>
> On Jul 31, 2010 2:55 AM, "Kenji Matsuoka" wrote:
>
> Is there a way to get readline shortcuts like alt-f and alt-b (forward and
> backward word) to work in REPL?
>
> Thanks,
>
> Kenji
>
>
$ rlwrap scala