Solved

Defining function keys in console environment

Posted on 2004-09-15
4
192 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 86

Assisted Solution

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

Accepted Solution

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

Expert Comment

by:CEHJ
ID: 12103059
8-)
0
 
LVL 37

Expert Comment

by:zzynx
ID: 12109566
Thanks
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses

734 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