Replying to @⁨Zwuzelmaus@feddit.org⁩

Okay. Now go to File Explorer and right click to create a new text file and try to name it “con”. That’s three letters: con. You can’t do it. Not allowed. Because CON has been reserved (in every directory on every drive) for piping to and from console since MS-DOS 2 or so. (I think 2 is when they stole pipes from Unix)

Okay. Now, open just about any kind of desktop window and double click in its upper left corner. In > 9 windows out of 10 that action still closes the window even though the “close window” button was moved to the upper right corner by Windows 3. Even though a bunch of modern applications don’t even have any icon there at all any more.

Replying to @⁨pHr34kY@lemmy.world⁩

Ctrl+C and Ctrl+V for copy and paste come from non-Unix (I'd say Windows itself, but they may have stolen it from elsewhere), and so it makes sense that those two keys have other special meanings under Unix and its descendants.

Specifically, they mean "Stop what you're doing" and "The next character is to be entered without special meaning" in most shells, the most common programs that run, often as the main program, in/on a terminal.

As such, most terminal emulators in Linux GUIs reserve those keypresses for their Unix-y functions. Most of the good ones move copy and paste to Ctrl+Shift+C and Ctrl+Shift+V instead.

MS-DOS and Windows command prompts also inherit their use of Ctrl+C from Unix, by way of 86-DOS and CP/M, and were in there long before Microsoft adopted Ctrl+C for copy in a GUI, which is where those other Insert-based keybinds you mention came in.

For an example of Unix Ctrl+V, try echo hello[Ctrl+V][Ctrl+H]world in a Linux terminal shell and press Enter. You'll see the command as echo hello^Hworld and when you press Enter, it will display hellworld, because that embedded Ctrl+H is a backspace.

Replying to @⁨mkwt@lemmy.world⁩

“aux” is the same. And file ending doesn’t matter. Short version: I had this fun experience a few years back. I used cygwin and Vim for coding and used some old compiler for embedded systems. I created a file called “aux.c” in cygwin. No problem. I compiled my code. Got very strange error. Trouble shooted, tested a bunch of things. Wasted lots of hours before I figured out that “aux” was reserved on one abstraction later but not on another, so Vim/cygwin could access it. My dos compiler couldn’t. Fun times.