• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

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!
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic