Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Scala Interpreter up-arrow repeat command not working

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
***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'
 
Ranch Hand
Posts: 376
Scala Monad
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for posting the solution!
 
When you have exhausted all possibilities, remember this: you haven't - Edison. Tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic