No, at the moment I don't have a patch for this issue.

Thanks,
Stefan

-----Ursprüngliche Nachricht-----
Von: Carsey, Jaben [mailto:[email protected]] 
Gesendet: Donnerstag, 4. April 2013 17:14
An: [email protected]
Betreff: Re: [edk2] ShellPrintEx and ShellPrintHiiEx formating flags

This is the first report of this.  I do not know what the priority of this will 
be given.

Do you want to submit a patch file to fix the error?

Thanks,
-Jaben

-----Original Message-----
From: Mutschler Stefan [mailto:[email protected]]
Sent: Thursday, April 04, 2013 8:10 AM
To: [email protected]
Subject: Re: [edk2] ShellPrintEx and ShellPrintHiiEx formating flags

Are there any plans to fix this issue in future?

Thanks,
Stefan

-----Ursprüngliche Nachricht-----
Von: Carsey, Jaben [mailto:[email protected]]
Gesendet: Donnerstag, 4. April 2013 16:32
An: [email protected]
Betreff: Re: [edk2] ShellPrintEx and ShellPrintHiiEx formating flags

That is a side effect.

-Jaben

-----Original Message-----
From: Mutschler Stefan [mailto:[email protected]]
Sent: Thursday, April 04, 2013 6:54 AM
To: [email protected]
Subject: [edk2] ShellPrintEx and ShellPrintHiiEx formating flags

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel
_______________________________________________
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel
_______________________________________________
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to