[Mono-bugs] [Bug 655677] New: csharp shell gets in bad state

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Nov 24 03:21:52 EST 2010


https://bugzilla.novell.com/show_bug.cgi?id=655677

https://bugzilla.novell.com/show_bug.cgi?id=655677#c0


           Summary: csharp shell gets in bad state
    Classification: Mono
           Product: Mono: Compilers
           Version: 2.8.x
          Platform: x86-64
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: msafar at novell.com
        ReportedBy: s_lessard at yahoo.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; en-us)
AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4

It's very easy to get the C# Shell into a state where it will not allow me to
run any of the built-in commands like help; ShowVars(); or quit; As a result
the user cannot exit out of the shell process without killing the process.


Reproducible: Always

Steps to Reproduce:
1. Run the csharp shell
2. enter the following. Press the enter key after each line (including the
blank lines) up to step 3 below.
    exit

    ;



    quit;
    help;

3.


Actual Results:  
User can't run any of the built-in commands including the quit; command and
thus cannot exit the csharp shell


applejacks:~ slessard$ csharp
Mono C# Shell, type "help;" for help

Enter statements below.
csharp> exit
      >  
      > ;
{interactive}(1,2): error CS0103: The name `exit' does not exist in the current
csharp>  
csharp>  
csharp>  
csharp>  
csharp> quit;
csharp> help;
csharp>  


Expected Results:  
user execute built-in commands and can exit the shell cleanly

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list