Solved

Defining function keys in console environment

Posted on 2004-09-15
4
158 Views
Last Modified: 2010-03-31
My java app takes input from users with a readLine() statement.  Can I define function keys to spell out specific strings to that input pipe?  Or how can I trap/disable or otherwise configure those keys while in a console environment?
0
Comment
Question by:chelince
  • 2
  • 2
4 Comments
 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 25 total points
Comment Utility
Don't think you can AFAIK
0
 
LVL 37

Accepted Solution

by:
zzynx earned 25 total points
Comment Utility
Agree.
Also, in a console environment everything is buffered until you press <Enter>
0
 
LVL 86

Expert Comment

by:CEHJ
Comment Utility
8-)
0
 
LVL 37

Expert Comment

by:zzynx
Comment Utility
Thanks
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Updating Java 9 87
java set up 1 46
pairs challenge 5 44
Eclipse IDE - Cannot copy/paste from console output 8 58
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This video teaches viewers about errors in exception handling.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now