File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Scala and the fly likes Scala Interpreter up-arrow repeat command not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Scala
Bookmark "Scala Interpreter up-arrow repeat command not working" Watch "Scala Interpreter up-arrow repeat command not working" New topic
Author

Scala Interpreter up-arrow repeat command not working

Deron Fuller
Greenhorn

Joined: Mar 03, 2009
Posts: 6
I'm usually pretty good at searching and finding answers but I couldn't come up with anything on this one. My Scala interpreter works fine except if I want to repeat a command. When I use the up-arrow key, I get an escape character. My operating system is Ubuntu 9.04 and I usually use bash for my terminal but I've also tried this with xterm and get the same results.

Any clues as where I might look.

Thanks in advance.

~deron
Deron Fuller
Greenhorn

Joined: Mar 03, 2009
Posts: 6
***SOLVED***

The problem was, I was a good little soldier and installed Scala via apt-get. However, as of the date of this post, the current version in the Ubuntu/Debian repositories isn't the most recent stable release. It's 2.7.3 and the latest version from the Scala site is 2.7.6. I uninstalled Scala and downloaded the latest tarball from Scala and installed it. Interpreter works as expected now.

Make sure you link or set the path for 'scala' and 'scalac'
Gabriel Claramunt
Ranch Hand

Joined: May 26, 2007
Posts: 375
Thanks for posting the solution!


Gabriel
Software Surgeon
 
wood burning stoves
 
subject: Scala Interpreter up-arrow repeat command not working