Control+Space (aka C-@ aka NUL) is not being sent #16763

Closed
opened 2026-01-31 05:22:07 +00:00 by claunia · 5 comments
Owner

Originally created by @eej71 on GitHub (Feb 12, 2022).

Windows Terminal Preview Version: 1.13.10395.0

Windows Version: [Version 10.0.19043.1466]

User Action:
Connect to a bash prompt. Run od -c to see the exact characters that are received.
Type in Control '@' (Control Shift 2 on a US keyboard)

Expected Result:
The od -c invocation should look like this.

od -c
^@^@^@^@^@^@
0000000  \0  \0  \0  \0  \0  \0  \n

That's the output that I receive when I do the test through putty.

Actual Result:
Nothing. The invocation of od -c is unaware that anything has been sent.

Comments:
I know this issue has some history so I can appreciate if its something that is not easily resolved.

Originally created by @eej71 on GitHub (Feb 12, 2022). **Windows Terminal Preview Version**: 1.13.10395.0 **Windows Version**: [Version 10.0.19043.1466] **User Action**: Connect to a bash prompt. Run od -c to see the exact characters that are received. Type in Control '@' (Control Shift 2 on a US keyboard) **Expected Result**: The `od -c` invocation should look like this. ``` od -c ^@^@^@^@^@^@ 0000000 \0 \0 \0 \0 \0 \0 \n ``` That's the output that I receive when I do the test through putty. **Actual Result**: Nothing. The invocation of `od -c` is unaware that anything has been sent. **Comments**: I know this issue has some history so I can appreciate if its something that is not easily resolved.
claunia added the Resolution-Duplicate label 2026-01-31 05:22:07 +00:00
Author
Owner

@j4james commented on GitHub (Feb 13, 2022):

Ctrl+Space works for me, but it seems that's not the case for everyone. I think this is probably covered by issue #11721.

@j4james commented on GitHub (Feb 13, 2022): Ctrl+Space works for me, but it seems that's not the case for everyone. I think this is probably covered by issue #11721.
Author
Owner

@LaDyRAW commented on GitHub (Feb 13, 2022):

Don't know how to enter in Windows terminal, where to go and when I tipe @ when i am tipping apt-get and other. I'm not sure what to do. Want to learn more about security and terminal services security but I need help from someone who understands all staff about it. Thank you for your time.

Get Outlook za Androidhttps://aka.ms/AAb9ysg

@LaDyRAW commented on GitHub (Feb 13, 2022): Don't know how to enter in Windows terminal, where to go and when I tipe @ when i am tipping apt-get and other. I'm not sure what to do. Want to learn more about security and terminal services security but I need help from someone who understands all staff about it. Thank you for your time. Get Outlook za Android<https://aka.ms/AAb9ysg>
Author
Owner

@eej71 commented on GitHub (Feb 13, 2022):

I wonder if there's a difference in the particular ssh binaries that we are running from within the Windows Terminal powershell environment that is getting in the way. My hand wavy thought process is - I wonder if the Windows Terminal is handling it, but hands it over to the ssh process which then promptly drops it on the floor.

@eej71 commented on GitHub (Feb 13, 2022): I wonder if there's a difference in the particular ssh binaries that we are running from within the Windows Terminal powershell environment that is getting in the way. My hand wavy thought process is - I wonder if the Windows Terminal is handling it, but hands it over to the ssh process which then promptly drops it on the floor.
Author
Owner

@zadjii-msft commented on GitHub (Feb 14, 2022):

Yea, I'd suspect that this is a problem with your particular SSH client / server. We're definitely capable of sending NULs on Ctrl+Space, but NULs are hard and there's a lot of pieces in the system. We should continue the discussion in /dup #11721

@zadjii-msft commented on GitHub (Feb 14, 2022): Yea, I'd suspect that this is a problem with your particular SSH client / server. We're definitely capable of sending NULs on Ctrl+Space, but NULs are hard and there's a lot of pieces in the system. We should continue the discussion in /dup #11721
Author
Owner

@ghost commented on GitHub (Feb 14, 2022):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Feb 14, 2022): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#16763