Please review the attached patch file. Fixes the shell so output redirection works for the 'mode' command. EX: 'mode > modes.txt'
When running 'mode' from shell, it will output the available text modes. However 'mode > modes.txt' did not show any modes. This is because the ConOut handle in the SystemTable is replaced with a special handle to do the output to a file. This patch will basically save the original ConOut handle and pass the QueryMode call thru to the original handle so it works as expected. Thanks, Chris ShellPkg: Fixes the shell so output redirection works for the 'mode' command Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chris Phillips <chr...@hp.com<mailto:chr...@hp.com>>
moderedirect.patch
Description: moderedirect.patch
------------------------------------------------------------------------------ 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=60135991&iu=/4140/ostg.clktrk
_______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel