this post was submitted on 09 Feb 2024
89 points (94.1% liked)
Linux
48655 readers
564 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The thing about "it's a heavily ingrained part of the eco system" is that, it really is. We're not talking about user habits here, we're talking the whole ecosystem of software that expects it to work that way: the kernel, the shells, SSH, the terminal emulators, the virtual consoles.
Under the hood, those aren't keyboard shortcuts, they're control characters and you make those with Ctrl plus a key, and it's handled by the kernel itself so you'd have to run a custom kernel on every machine you use just so you can use Ctrl+C for copy.
So, on the wire those have to stay. You can configure your terminal emulator to maybe swap Ctrl and Super as super doesn't mean anything for a terminal. That's pretty much how things happen to be on macOS, since copy/paste is Super+C/V. Then your Ctrl key is free for anything you might want.
Some extra docs about all the codes: it's far from just ^C: https://man7.org/linux/man-pages/man4/console_codes.4.html
Isn't it enough just to instruct stty to take the new shortcut, instead of running a custom kernel? Is there anything left out by doing this?
idk it's weird to have
^C
,^M
and other control characters and have one be ctrl+shift+c and the other be control+mIt shouldn't be too difficult to remap them all to the ctrl+shift equivalent. I just have to make sure I get all of them.
Very interesting! Was always annoyed by the Ctrl+Shift+C