You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Chris Custine (JIRA)" <ji...@apache.org> on 2009/01/30 02:15:59 UTC

[jira] Created: (GSHELL-156) Disable system bell by default

Disable system bell by default
------------------------------

                 Key: GSHELL-156
                 URL: https://issues.apache.org/jira/browse/GSHELL-156
             Project: GShell
          Issue Type: Improvement
      Security Level: public (Regular issues)
          Components: Commands - Shell
    Affects Versions: 1.0-alpha-2
         Environment: Windows
            Reporter: Chris Custine
            Assignee: Jason Dillon
            Priority: Minor
         Attachments: nobell.patch

On WIndows, attempting to backspace at the beginning of a line causes the system bell to sound, thereby knocking many a user off their chair.  I would recommend disabling this for the sake of Windows users.  *nix systems and Mac OSX shells seem to disregard the system bell commands by default so disabling the system bell in the ConsoleReader by default shouldn't affect them adversely.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GSHELL-156) Disable system bell by default

Posted by "Jason Dillon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GSHELL-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12668766#action_12668766 ] 

Jason Dillon commented on GSHELL-156:
-------------------------------------

I'm tempted to leave it in there just to annoy windows users, *nix and Mac OSX (which is a *nix system btw) don't disregard the bell, its just easier to configure if its on or off.

I suggest you a) switch to a real operating system or b) google how to disable the bell from your cmd.exe (or whatever console app you are using).

> Disable system bell by default
> ------------------------------
>
>                 Key: GSHELL-156
>                 URL: https://issues.apache.org/jira/browse/GSHELL-156
>             Project: GShell
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Commands - Shell
>    Affects Versions: 1.0-alpha-2
>         Environment: Windows
>            Reporter: Chris Custine
>            Assignee: Jason Dillon
>            Priority: Minor
>         Attachments: nobell.patch
>
>
> On WIndows, attempting to backspace at the beginning of a line causes the system bell to sound, thereby knocking many a user off their chair.  I would recommend disabling this for the sake of Windows users.  *nix systems and Mac OSX shells seem to disregard the system bell commands by default so disabling the system bell in the ConsoleReader by default shouldn't affect them adversely.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GSHELL-156) Disable system bell using the jline.nobell system property

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GSHELL-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet updated GSHELL-156:
-----------------------------------

    Summary: Disable system bell using the jline.nobell system property  (was: Disable system bell by default)

> Disable system bell using the jline.nobell system property
> ----------------------------------------------------------
>
>                 Key: GSHELL-156
>                 URL: https://issues.apache.org/jira/browse/GSHELL-156
>             Project: GShell
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Commands - Shell
>    Affects Versions: 1.0-alpha-2
>         Environment: Windows
>            Reporter: Chris Custine
>            Assignee: Jason Dillon
>            Priority: Minor
>         Attachments: nobell.patch
>
>
> On WIndows, attempting to backspace at the beginning of a line causes the system bell to sound, thereby knocking many a user off their chair.  I would recommend disabling this for the sake of Windows users.  *nix systems and Mac OSX shells seem to disregard the system bell commands by default so disabling the system bell in the ConsoleReader by default shouldn't affect them adversely.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (GSHELL-156) Disable system bell by default

Posted by "Chris Custine (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GSHELL-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Custine updated GSHELL-156:
---------------------------------

    Attachment: nobell.patch

This is a simple patch to disable the bell globally by default.  An alternative would be to have a system prop so that someone could override this and enable it, although I am not sure why anyone would want to.

> Disable system bell by default
> ------------------------------
>
>                 Key: GSHELL-156
>                 URL: https://issues.apache.org/jira/browse/GSHELL-156
>             Project: GShell
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Commands - Shell
>    Affects Versions: 1.0-alpha-2
>         Environment: Windows
>            Reporter: Chris Custine
>            Assignee: Jason Dillon
>            Priority: Minor
>         Attachments: nobell.patch
>
>
> On WIndows, attempting to backspace at the beginning of a line causes the system bell to sound, thereby knocking many a user off their chair.  I would recommend disabling this for the sake of Windows users.  *nix systems and Mac OSX shells seem to disregard the system bell commands by default so disabling the system bell in the ConsoleReader by default shouldn't affect them adversely.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (GSHELL-156) Disable system bell using the jline.nobell system property

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GSHELL-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved GSHELL-156.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0-alpha-2

Sending        gshell-console/src/main/java/org/apache/geronimo/gshell/console/JLineConsole.java
Transmitting file data .
Committed revision 740396.

> Disable system bell using the jline.nobell system property
> ----------------------------------------------------------
>
>                 Key: GSHELL-156
>                 URL: https://issues.apache.org/jira/browse/GSHELL-156
>             Project: GShell
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Commands - Shell
>    Affects Versions: 1.0-alpha-2
>         Environment: Windows
>            Reporter: Chris Custine
>            Assignee: Guillaume Nodet
>            Priority: Minor
>             Fix For: 1.0-alpha-2
>
>         Attachments: nobell.patch
>
>
> On WIndows, attempting to backspace at the beginning of a line causes the system bell to sound, thereby knocking many a user off their chair.  I would recommend disabling this for the sake of Windows users.  *nix systems and Mac OSX shells seem to disregard the system bell commands by default so disabling the system bell in the ConsoleReader by default shouldn't affect them adversely.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (GSHELL-156) Disable system bell using the jline.nobell system property

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GSHELL-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet reassigned GSHELL-156:
--------------------------------------

    Assignee: Guillaume Nodet  (was: Jason Dillon)

> Disable system bell using the jline.nobell system property
> ----------------------------------------------------------
>
>                 Key: GSHELL-156
>                 URL: https://issues.apache.org/jira/browse/GSHELL-156
>             Project: GShell
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Commands - Shell
>    Affects Versions: 1.0-alpha-2
>         Environment: Windows
>            Reporter: Chris Custine
>            Assignee: Guillaume Nodet
>            Priority: Minor
>             Fix For: 1.0-alpha-2
>
>         Attachments: nobell.patch
>
>
> On WIndows, attempting to backspace at the beginning of a line causes the system bell to sound, thereby knocking many a user off their chair.  I would recommend disabling this for the sake of Windows users.  *nix systems and Mac OSX shells seem to disregard the system bell commands by default so disabling the system bell in the ConsoleReader by default shouldn't affect them adversely.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GSHELL-156) Disable system bell by default

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GSHELL-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12669535#action_12669535 ] 

Guillaume Nodet commented on GSHELL-156:
----------------------------------------

Though it would not harm to have a system property to control that.  We can leave the current behavior as is in gshell and switch it off in servicemix ...

> Disable system bell by default
> ------------------------------
>
>                 Key: GSHELL-156
>                 URL: https://issues.apache.org/jira/browse/GSHELL-156
>             Project: GShell
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Commands - Shell
>    Affects Versions: 1.0-alpha-2
>         Environment: Windows
>            Reporter: Chris Custine
>            Assignee: Jason Dillon
>            Priority: Minor
>         Attachments: nobell.patch
>
>
> On WIndows, attempting to backspace at the beginning of a line causes the system bell to sound, thereby knocking many a user off their chair.  I would recommend disabling this for the sake of Windows users.  *nix systems and Mac OSX shells seem to disregard the system bell commands by default so disabling the system bell in the ConsoleReader by default shouldn't affect them adversely.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GSHELL-156) Disable system bell by default

Posted by "Chris Custine (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GSHELL-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12668773#action_12668773 ] 

Chris Custine commented on GSHELL-156:
--------------------------------------

I hear you, I'm a Mac.  ;-)  I was just trying to fix this in ServiceMix 4 kernel (https://issues.apache.org/activemq/browse/SMX4KNL-137) but now I looked closer and you are right about the terminals, some just have audible bell switched off by default.  I'm fine with closing this as "won't fix" if you want to leave it as is.

> Disable system bell by default
> ------------------------------
>
>                 Key: GSHELL-156
>                 URL: https://issues.apache.org/jira/browse/GSHELL-156
>             Project: GShell
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Commands - Shell
>    Affects Versions: 1.0-alpha-2
>         Environment: Windows
>            Reporter: Chris Custine
>            Assignee: Jason Dillon
>            Priority: Minor
>         Attachments: nobell.patch
>
>
> On WIndows, attempting to backspace at the beginning of a line causes the system bell to sound, thereby knocking many a user off their chair.  I would recommend disabling this for the sake of Windows users.  *nix systems and Mac OSX shells seem to disregard the system bell commands by default so disabling the system bell in the ConsoleReader by default shouldn't affect them adversely.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.