New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should not beep on backspace with cursor at start of line #422

Closed
craiglandis opened this Issue Aug 16, 2016 · 6 comments

Comments

Projects
None yet
5 participants
@craiglandis

craiglandis commented Aug 16, 2016

Beep on backspace with cursor at start of line should not be the default behavior for the default EditMode (-EditMode Windows), but it currently is that way in PowerShell 5.1 (Win10 1607 14393.51).

Right now people are forced to figure out that they must do things like put Set-PSReadlineOption -BellStyle None in their PowerShell profile, or run net stop beep + sc config beep start= disabled, to stop the beeping, as it does not honor the Sounds control panel "No Sounds" scheme, and beeps anyway.

If this change was only intended for -EditMode Vi, maybe as parity, then it should only be the behavior for that edit mode, but should not be the default behavior for -EditMode Windows.

See also http://superuser.com/questions/1113429/disable-powershell-beep-on-backspace

@lzybkr

This comment has been minimized.

Show comment
Hide comment
@lzybkr

lzybkr Aug 16, 2016

Owner

Beeps are annoying. @srdubya - is this really expected in vi mode?

Owner

lzybkr commented Aug 16, 2016

Beeps are annoying. @srdubya - is this really expected in vi mode?

@srdubya

This comment has been minimized.

Show comment
Hide comment
@srdubya

srdubya Aug 17, 2016

Contributor

I just fired up Bash on Ubuntu on Windows with "set -o vi" and it beeps under this circumstance. With that said, I have no objection to taking it out or making it an option which defaults to off.

Contributor

srdubya commented Aug 17, 2016

I just fired up Bash on Ubuntu on Windows with "set -o vi" and it beeps under this circumstance. With that said, I have no objection to taking it out or making it an option which defaults to off.

@gwojan

This comment has been minimized.

Show comment
Hide comment
@gwojan

gwojan Aug 17, 2016

I vote for making it an option... 👍 😄

I'm trying to keep the default behavior as close to bash, cygwin, etc.

gwojan commented Aug 17, 2016

I vote for making it an option... 👍 😄

I'm trying to keep the default behavior as close to bash, cygwin, etc.

@lzybkr

This comment has been minimized.

Show comment
Hide comment
@lzybkr

lzybkr Aug 17, 2016

Owner

I just noticed it beeps in emacs mode mode on bash - so it's consistent - it definitely shouldn't beep in Windows mode.

I'm not a fan of too many configuration options. If the only justification is to keep behavior as close as possible to bash, then I'll probably just remove the beep. If there is a better justification, I'll reconsider.

Owner

lzybkr commented Aug 17, 2016

I just noticed it beeps in emacs mode mode on bash - so it's consistent - it definitely shouldn't beep in Windows mode.

I'm not a fan of too many configuration options. If the only justification is to keep behavior as close as possible to bash, then I'll probably just remove the beep. If there is a better justification, I'll reconsider.

@FaustoNascimento

This comment has been minimized.

Show comment
Hide comment
@FaustoNascimento

FaustoNascimento Dec 19, 2016

Any news on this? It's a (very annoying) bug that's been there for a rather long time now and no updates here...

I've been "forced" to disable the beep service in the office, as it was annoying everyone around me. I realize that I can disable it via Set-PSReadlineOption and a PS profile, but that's just another workaround, not a real fix.

FaustoNascimento commented Dec 19, 2016

Any news on this? It's a (very annoying) bug that's been there for a rather long time now and no updates here...

I've been "forced" to disable the beep service in the office, as it was annoying everyone around me. I realize that I can disable it via Set-PSReadlineOption and a PS profile, but that's just another workaround, not a real fix.

@lzybkr

This comment has been minimized.

Show comment
Hide comment
@lzybkr

lzybkr Dec 19, 2016

Owner

I'm just busy with other things, hopefully I'll get a new release out with some important fixes soon

Owner

lzybkr commented Dec 19, 2016

I'm just busy with other things, hopefully I'll get a new release out with some important fixes soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment