Ramesh,

I cannot think of why that would happen.  Which revision of the shell are you 
using?

Is there anything odd about the launch of the application?  For example 
redirecting input to/from a file or anything like that?

-Jaben

-----Original Message-----
From: Ramesh R. [mailto:rame...@ami.com] 
Sent: Monday, October 07, 2013 9:28 AM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] ConsoleIn behavior with Shell

Hi Jaben,

  Thanks Jaben.  We are getting the Key using System table ConIn like how 
Internal EDIT command gets the Keystroke.

To reproduce the issue on your side,

1) Boot to Shell Prompt.
2) Launch UEFI OS installation
3) It would ask "Press any key to proceed installation" . This time press any 
key, sometime you would see it won't proceed with installation and once it 
comes back from Shell prompt you would see the same Key gets printed .

Thanks,
Ramesh

-----Original Message-----
From: Carsey, Jaben [mailto:jaben.car...@intel.com]
Sent: Monday, October 07, 2013 9:24 PM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] ConsoleIn behavior with Shell

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:rame...@ami.com]
Sent: Monday, October 07, 2013 8:25 AM
To: edk2-devel@lists.sourceforge.net
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
edk2-devel@lists.sourceforge.net
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
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

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
edk2-devel@lists.sourceforge.net
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
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to