Ramesh,
The shell does not read from console in while your application is running. It
will read any characters left in the buffer when your application closes.
The internal Edit command gets keystrokes via:
Status = gST->ConIn->ReadKeyStroke (gST->ConIn, &Key);
How are you reading the keystrokes? Which SimpleTextIn protocol instance are
you using?
-Jaben
-----Original Message-----
From: Ramesh R. [mailto:[email protected]]
Sent: Monday, October 07, 2013 8:25 AM
To: [email protected]
Subject: [edk2] ConsoleIn behavior with Shell
Hi,
We have shell Application that would read the ConsoleIn ( Keyboard) device
data on every 500ms. Most of the time application is not receiving the data by
using SimpletextEx ReadKey Protocol, Looks like Shell gets the data before
application does. The reason why we are saying Shell gets the data because we
are able to see all the ConsoleIn device data printed once we come back to
Shell Prompt.
Could you please provide your comments on this behavior?
Thanks,
Ramesh
The information contained in this message may be confidential and proprietary
to American Megatrends, Inc. This communication is intended to be read only by
the individual or entity to whom it is addressed or by their designee. If the
reader of this message is not the intended recipient, you are on notice that
any distribution of this message, in any form, is strictly prohibited. Please
promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and
then delete or destroy all copies of the transmission.
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel