Re: [edk2] ctrl+c don't work in shell

2013-10-18 Thread zhengjiewen2005
no, i don't have a startup.nsh. "abc" is nothing(no a command,just three random characters), that means if i enter the command that do not exist in the shell,the console would not response any more. zhengjiewen2005 From: Carsey, Jaben Date: 2013-10-18 23:15 To: zhengjiewen2005; edk2-devel@l

Re: [edk2] Fwd: SF.net SVN: edk2:[14788] trunk/edk2/ShellPkg/Library/ UefiShellLevel3CommandsLib/Type.c

2013-10-18 Thread El-Haj-Mahmoud, Samer
I did fixe some of these in the past, but non-ASCII characters seem to find their way back into the code. See for instance: Revision: 13448 Author: jcarsey Date: Tuesday, June 12, 2012 12:22:19 PM Message: ShellPkg: Fix en-US characters that are outside the Basic Latin character set range Con

Re: [edk2] Fwd: SF.net SVN: edk2:[14788] trunk/edk2/ShellPkg/Library/ UefiShellLevel3CommandsLib/Type.c

2013-10-18 Thread Blibbet
>> What causes these strange Unicode characters in the commit message? > > I would guess editing the commit message in something like > a word processor (for example, Outlook's email editor). > > I think maybe Chris's contributed commit message had > those unicode characters. It looks like it was t

Re: [edk2] error LNK2001: unresolved external symbol _ModuleEntryPoint

2013-10-18 Thread Andrew Fish
You can also add '-y build.log' to the build command get some feedback on how the INF and DSC files were processed. Thanks, Andrew Fish On Oct 18, 2013, at 3:53 PM, Jordan Justen wrote: > On Fri, Oct 18, 2013 at 2:10 AM, Nishit Patira wrote: >> Hey, >> >> Pasting both inf and C files for yo

Re: [edk2] error LNK2001: unresolved external symbol _ModuleEntryPoint

2013-10-18 Thread Jordan Justen
On Fri, Oct 18, 2013 at 2:10 AM, Nishit Patira wrote: > Hey, > > Pasting both inf and C files for your reference, > > INF FILE > #/*++ > # > # Module Name: > # > #DIMM.inf > # > # Abstract: > # > #DIMM is EFI based tool which returns the Channel number and DIMM number > given a physical

Re: [edk2] Fwd: SF.net SVN: edk2:[14788] trunk/edk2/ShellPkg/Library/ UefiShellLevel3CommandsLib/Type.c

2013-10-18 Thread Jordan Justen
On Fri, 2013-10-18 at 14:31 -0700, Andrew Fish wrote: > What causes these strange Unicode characters in the commit message? > Andrew Fish I would guess editing the commit message in something like a word processor (for example, Outlook's email editor). I think maybe Chris's contributed commit mes

[edk2] Fwd: SF.net SVN: edk2:[14788] trunk/edk2/ShellPkg/Library/ UefiShellLevel3CommandsLib/Type.c

2013-10-18 Thread Andrew Fish
What causes these strange Unicode characters in the commit message? Andrew Fish Begin forwarded message: > From: jcar...@users.sourceforge.net > Subject: SF.net SVN: edk2:[14788] trunk/edk2/ShellPkg/Library/ > UefiShellLevel3CommandsLib/Type.c > Date: October 18, 2013 1:53:08 PM PDT > To: edk2-

Re: [edk2] ShellPkg: Fixes for the 'type' command

2013-10-18 Thread Carsey, Jaben
reviewed-by: Jaben Carsey committed: 14788 From: Phillips, Chris J (BCS CFE) [mailto:chr...@hp.com] Sent: Friday, October 18, 2013 9:46 AM To: edk2-devel@lists.sourceforge.net; Carsey, Jaben Subject: ShellPkg: Fixes for the 'type' command Importance: High Please review the attached patch file.

Re: [edk2] ShellPkg: Fix for the 'mv' command

2013-10-18 Thread Carsey, Jaben
reviewed-by: Jaben Carsey committed: 14787 From: Phillips, Chris J (BCS CFE) [mailto:chr...@hp.com] Sent: Friday, October 18, 2013 9:28 AM To: edk2-devel@lists.sourceforge.net; Carsey, Jaben Subject: ShellPkg: Fix for the 'mv' command Importance: High Please review the attached patch file. Fix

Re: [edk2] ShellPkg: Fixes for the 'ls' command

2013-10-18 Thread Carsey, Jaben
reviewed-by: Jaben Carsey committed 14786 From: Phillips, Chris J (BCS CFE) [mailto:chr...@hp.com] Sent: Friday, October 18, 2013 9:06 AM To: edk2-devel@lists.sourceforge.net; Carsey, Jaben Subject: ShellPkg: Fixes for the 'ls' command Importance: High Please review the attached patch file and

Re: [edk2] ShellPkg: Fix 'edit' command file type display

2013-10-18 Thread Carsey, Jaben
reviewed-by: jaben carsey committed 14785 From: Phillips, Chris J (BCS CFE) [mailto:chr...@hp.com] Sent: Friday, October 18, 2013 8:59 AM To: edk2-devel@lists.sourceforge.net; Carsey, Jaben Subject: ShellPkg: Fix 'edit' command file type display Importance: High Please review the attached patch

Re: [edk2] ConsoleIn behavior with Shell

2013-10-18 Thread Carsey, Jaben
I do not see that is confirmation. All the shell code is in EDKII tree. Can you run it with debugger and watch the reading of keys directly? -Jaben -Original Message- From: Ramesh R. [mailto:rame...@ami.com] Sent: Friday, October 18, 2013 10:20 AM To: edk2-devel@lists.sourceforge.net

Re: [edk2] ConsoleIn behavior with Shell

2013-10-18 Thread Ramesh R .
Hi Jaben, Thanks for your reply. Please check the below test report. 1) Launch the application that displays the Key Uni code and Scan code using Conplitter readKey function. The application comes out when the "Enter" Key is pressed 2) Pressed "a", "b", "c","d","Enter Key"(many times) 3) We

[edk2] ShellPkg: Fixes for the 'type' command

2013-10-18 Thread Phillips, Chris J (BCS CFE)
Please review the attached patch file. Fixes for the 'type' command: - Better handling to skip byte order mark in Unicode files. - Only display valid ASCII characters. - Change to use ShellPrintEx() instead of Print(). - Print each character instead of %s to avoid possible overrun when not NULL t

[edk2] ShellPkg: Fix for the 'mv' command

2013-10-18 Thread Phillips, Chris J (BCS CFE)
Please review the attached patch file. Fix for the 'mv' command when destination starts with '\'. Thanks, Chris ShellPkg: Fix for the 'mv' command when destination starts with '\'. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chris Phillips mailto:chr...@hp.com>>

[edk2] ShellPkg: Fix 'edit' command file type display

2013-10-18 Thread Phillips, Chris J (BCS CFE)
Please review the attached patch file. Fixes 'edit' command to correctly display ASCII or UNICODE for the file type. Thanks, Chris ShellPkg: Fixes 'edit' command to correctly display ASCII or UNICODE for the file type. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by

Re: [edk2] ShellPkg: Shell application launch, argument handling, and version fixes

2013-10-18 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey And committed. 14784 From: Phillips, Chris J (BCS CFE) [mailto:chr...@hp.com] Sent: Friday, October 18, 2013 7:40 AM To: edk2-devel@lists.sourceforge.net; Carsey, Jaben Subject: ShellPkg: Shell application launch, argument handling, and version fixes Importance: High

Re: [edk2] ctrl+c don't work in shell

2013-10-18 Thread Carsey, Jaben
Do you have a startup.nsh file ? What is "abc" running? From: zhengjiewen2005 [mailto:zhengjiewen2...@163.com] Sent: Thursday, October 17, 2013 7:01 PM To: Carsey, Jaben; edk2-devel@lists.sourceforge.net Cc: Carsey, Jaben Subject: Re: RE: [edk2] ctrl+c don't work in shell Importance: High Hi, ca

Re: [edk2] ConsoleIn behavior with Shell

2013-10-18 Thread Carsey, Jaben
You could put break points in the shell code that does the console in reading and see if it's getting activity during your application's run. You can also run the "edit" command. If that application can catch the keystrokes, instead of the shell, then I think it could confirm that the shell is

Re: [edk2] NTFS partition driver and partition imaging

2013-10-18 Thread Sergei Antonov
On 15 October 2013 21:31, Hicks, Evan R wrote: > Has anyone developed an NTFS filesystem driver for UEFI? Yes. http://blog.paragon-software.com/?p=2951 This is a read-write NTFS driver. -- October Webinars: Code for Perf

Re: [edk2] error LNK2001: unresolved external symbol _ModuleEntryPoint

2013-10-18 Thread Nishit Patira
Hey, Pasting both inf and C files for your reference, INF FILE #/*++ # # Module Name: # #DIMM.inf # # Abstract: # #DIMM is EFI based tool which returns the Channel number and DIMM number given a physical address. # # Notes: #BASE_NAME - names the output file (mount.efi here) #

Re: [edk2] error LNK2001: unresolved external symbol _ModuleEntryPoint

2013-10-18 Thread Li, Elvin
MdePkg\Library\UefiApplicationEntryPoint definitely implements _ModuleEntryPoint, so link error seems strange to me... If you could send out the skeleton of your .c and .inf files which could reproduce your issue, it would be great. From: Nishit Patira [mailto:nishitpat...@gmail.com] Sent: Frid

Re: [edk2] error LNK2001: unresolved external symbol _ModuleEntryPoint

2013-10-18 Thread Nishit Patira
I added the library class UefiApplicationEntryPoint in INF file and in C file . Yet, the error still persists Regards, Nishit Patira On Fri, Oct 18, 2013 at 12:39 PM, Li, Elvin wrote: > Do you do this in your code? > > **1. **UefiApplicationEntryPoint in [LibraryClasses] in the INF

Re: [edk2] error LNK2001: unresolved external symbol _ModuleEntryPoint

2013-10-18 Thread Li, Elvin
Do you do this in your code? 1. UefiApplicationEntryPoint in [LibraryClasses] in the INF file? 2. include in the C file? Thanks Elvin From: Nishit Patira [mailto:nishitpat...@gmail.com] Sent: Friday, October 18, 2013 2:48 PM To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] e