Hi,

if I type something like the following into the shell:

set BLUE something

echo %BLUE% 

it's defining a variable and prints out the variable. If I hit the
up-key to see the command history the second string gets formatted. It
is blue after the blank and only the string "echo LUE%" is visible.

Also if I type %BLUE% into the shell before defining it with set, I'm
getting the string defined in STR_SHELL_NOT_FOUND, but the "command"
%BLUE% is also displayed in the color blue and only LUE% is visible. 

After investigating the issue, I found the two functions  ShellPrintEx
and ShellPrintHiiEx which are always called when some output is made
from the shell. This two functions treat every occurrence of the flags
%N, %H, %E, %B, %V as flags and not as text. I think that's ok, but in
the two cases described above, I think it isn't a good idea.

Is this behavior the intention of the designer or is this a bug?

Thanks for help,
Stefan
_______________________________________________
ads-tec GmbH
Sitz: 70771 Leinfelden-Echterdingen
Registergericht Stuttgart HRB 224527

Geschaeftsfuehrer:
Dipl.-Ing. Thomas Speidel
_______________________________________________
Diese E-Mail enthaelt vertrauliche und/oder rechtlich
geschuetzte Informationen. Wenn Sie nicht der richtige
Adressat sind oder diese E-Mail irrtuemlich erhalten
haben, informieren Sie bitte sofort den Absender und 
vernichten Sie diese E-Mail. Das unerlaubte Kopieren,
jegliche anderweitige Verwendung sowie die unbefugte
Weitergabe dieser Mail sind nicht gestattet.
_______________________________________________

This e-mail may contain confidential and/or privileged
information. If you are not the intended recipient (or have
received this e-mail in error) please notify the sender
immediately and destroy this e-mail. Any unauthorized
copying, disclosure, distribution or other use of the
material or parts thereof are strictly forbidden.
_______________________________________________


------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to