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

CTRL+A does not work #89

Closed
damemonyo opened this Issue Apr 9, 2016 · 10 comments

Comments

Projects
None yet
9 participants
@damemonyo

damemonyo commented Apr 9, 2016

CTRL+A does not work anyway. I examined this issue on bash prompt and emacs in bash window.

@damemonyo damemonyo changed the title from CTRL+A to CTRL+A does not work Apr 9, 2016

@B0073D

This comment has been minimized.

Show comment
Hide comment
@B0073D

B0073D Apr 9, 2016

I tried this after sshing into a server too, with no effect. So I'd suggest the CMD window is possibly 'catching' ctrl+a and not passing it to the shell.

B0073D commented Apr 9, 2016

I tried this after sshing into a server too, with no effect. So I'd suggest the CMD window is possibly 'catching' ctrl+a and not passing it to the shell.

@dschaefer

This comment has been minimized.

Show comment
Hide comment
@dschaefer

dschaefer Apr 10, 2016

Any thoughts on a workaround. I'm guess CMD too, but can't see how to disable it if that's possible. If not that's a big hit for emacs lovers like myself.

dschaefer commented Apr 10, 2016

Any thoughts on a workaround. I'm guess CMD too, but can't see how to disable it if that's possible. If not that's a big hit for emacs lovers like myself.

@ophiry

This comment has been minimized.

Show comment
Hide comment
@ophiry

ophiry Apr 10, 2016

I'm not sure it's related to CMD
cygwin does support CTRL+A
when executing bash from withing cygwin, CTRL+A doesn't work

ophiry commented Apr 10, 2016

I'm not sure it's related to CMD
cygwin does support CTRL+A
when executing bash from withing cygwin, CTRL+A doesn't work

@takekazuomi

This comment has been minimized.

Show comment
Hide comment
@takekazuomi

takekazuomi Apr 11, 2016

By default Ctrl + A is select all text in the current line the Command Prompt. I disabled ctrl key shortcuts from Command Prompt menu. But still CTRL+A doesn't work.

takekazuomi commented Apr 11, 2016

By default Ctrl + A is select all text in the current line the Command Prompt. I disabled ctrl key shortcuts from Command Prompt menu. But still CTRL+A doesn't work.

@zadjii-msft

This comment has been minimized.

Show comment
Hide comment
@zadjii-msft

zadjii-msft Apr 11, 2016

Member

I'm gonna tag @dethoma and @russalex on this. We've been looking at this for a while, and I'm still not exactly certain where the problem is. I know that all of the Ctrl+ characters are translated (NOT intercepted) by the console window successfully on their way down to the subsystem, but I'm not sure why specifically Ctrl+A (SOH, \x01) doesn't seem to make it out of the subsystem.

Member

zadjii-msft commented Apr 11, 2016

I'm gonna tag @dethoma and @russalex on this. We've been looking at this for a while, and I'm still not exactly certain where the problem is. I know that all of the Ctrl+ characters are translated (NOT intercepted) by the console window successfully on their way down to the subsystem, but I'm not sure why specifically Ctrl+A (SOH, \x01) doesn't seem to make it out of the subsystem.

@sunilmut

This comment has been minimized.

Show comment
Hide comment
@sunilmut

sunilmut Apr 11, 2016

Member

Thanks for your feedback. Support for CTRL+A has been added in the code but the build has not made it to flighting yet.

Member

sunilmut commented Apr 11, 2016

Thanks for your feedback. Support for CTRL+A has been added in the code but the build has not made it to flighting yet.

@sunilmut sunilmut closed this Apr 11, 2016

@takekazuomi

This comment has been minimized.

Show comment
Hide comment
@takekazuomi

takekazuomi Apr 27, 2016

It works fine on 14332. Thank you !

takekazuomi commented Apr 27, 2016

It works fine on 14332. Thank you !

@prasannavl

This comment has been minimized.

Show comment
Hide comment
@prasannavl

prasannavl Oct 3, 2017

@sunilmut

It works great on WSL now. But this is still an issue while running on Cygwin. conhost seems to be catching Ctrl+A, and selecting everything. Is there any generic way to switch this off, for instances like using it with Cygwin? I'm curious to know how the recent builds switch it off only for WSL.

prasannavl commented Oct 3, 2017

@sunilmut

It works great on WSL now. But this is still an issue while running on Cygwin. conhost seems to be catching Ctrl+A, and selecting everything. Is there any generic way to switch this off, for instances like using it with Cygwin? I'm curious to know how the recent builds switch it off only for WSL.

@michielwittkampf

This comment has been minimized.

Show comment
Hide comment
@michielwittkampf

michielwittkampf Dec 9, 2017

I'am on build 15063.726 (regular release).

CTRL-A doesn't do anything in a Bash on Ubuntu on Windows window.

Anyone else?

michielwittkampf commented Dec 9, 2017

I'am on build 15063.726 (regular release).

CTRL-A doesn't do anything in a Bash on Ubuntu on Windows window.

Anyone else?

@zadjii-msft

This comment has been minimized.

Show comment
Hide comment
@zadjii-msft

zadjii-msft Dec 11, 2017

Member

@michielwittkampf I'm gonna need some more info -

  • what keyboard layout are you using?
  • Is there an specific application that C-a doesn't work in?
    • Does C-v, C-a from the bash commandline echo ^A to the input?
    • What does pressing C-h, k, C-a in emacs display? (scerenshot would be helpful)
  • What are the contents of your /etc/inputrc file?
Member

zadjii-msft commented Dec 11, 2017

@michielwittkampf I'm gonna need some more info -

  • what keyboard layout are you using?
  • Is there an specific application that C-a doesn't work in?
    • Does C-v, C-a from the bash commandline echo ^A to the input?
    • What does pressing C-h, k, C-a in emacs display? (scerenshot would be helpful)
  • What are the contents of your /etc/inputrc file?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment