• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 216
  • Last Modified:

Defining function keys in console environment

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
chelince
Asked:
chelince
  • 2
  • 2
2 Solutions
 
CEHJCommented:
Don't think you can AFAIK
0
 
zzynxSoftware engineerCommented:
Agree.
Also, in a console environment everything is buffered until you press <Enter>
0
 
CEHJCommented:
8-)
0
 
zzynxSoftware engineerCommented:
Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now