Re: Terminal program in Java. Linux raw mode

Discussion in 'Java' started by Joshua Cranmer, Aug 9, 2010.

  1. On 08/08/2010 01:31 PM, Kari Laine wrote:
    > I have inspected this little with google and it seems I would have to
    > set the terminal in raw mode. Default is cooked. But all I find is asm
    > and c examples how to do this. I would like not to have platform
    > dependent code. Is there any way to read keyboard raw in Java?


    You can find some Java curses libraries, which should allow you full raw
    access to the keyboard in Java (basically, it allows you to make a full
    UI in the console). Google gets me here:
    <http://sourceforge.net/projects/javacurses/>.

    --
    Beware of bugs in the above code; I have only proved it correct, not
    tried it. -- Donald E. Knuth
     
    Joshua Cranmer, Aug 9, 2010
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John J Lee
    Replies:
    3
    Views:
    550
    bruno at modulix
    Dec 1, 2005
  2. gaurav kashyap
    Replies:
    3
    Views:
    6,726
    Paul Boddie
    Oct 31, 2008
  3. Andreas Leitgeb
    Replies:
    2
    Views:
    815
    Arne Vajhøj
    Aug 10, 2010
  4. Steve
    Replies:
    2
    Views:
    977
    edicionsdigitals.com edicions digitals xarxa socia
    Dec 7, 2010
  5. Ari Brown

    Terminal Session Raw Mode

    Ari Brown, Jul 30, 2007, in forum: Ruby
    Replies:
    1
    Views:
    123
Loading...

Share This Page