5 ms·
I use it all the time! Why would you think so?
by dingo_bat 8y ago
I use it all the time! Why would you think so?
- icedchai 8y agoYou asked about the control key. Have you ever used "control-c" or "control-d" from a Unix command line?
- dingo_bat 8y agoYeah. Of course. And that's what I was referring to. There is no reason for a separate cmd key to exist. Some stuff is switched to cmd (copy, paste, select all) and other stuff stays with ctrl (ctrl+c, ctrl+d). See now I can't even remember how to close a tab in chrome. Is that cmd+w or ctrl+w? All of this is really arbitrary.
- icedchai 8y agoYes, but you originally said there was no reason for a control key to exist. The modifiers serve two different purposes: control+something is sent to the remote host, cmd+something is handled by the application.
- dingo_bat 8y agoSo if I run a long running grep and terminate it using Ctrl+c, which remote host am I sending the command to?
- icedchai 8y agoIt would be sent to whatever process is attached to the current pseudo terminal. (When I said "remote" I was more referring to the SSH scenario, but the mechanism is the same...)
- dingo_bat 8y agoOk, so that means the remote vs local logic doesn't apply. In fact none does. The demarcations are arbitrary. Cmd is randomly used and ctrl is randomly used. Even if there is a remote vs local rule, why not make ctrl do something for local programs? Do you use a separate keyboard for your ssh and another one for email? No. The keys switch contexts according to the active program.
- deleted 8y ago[deleted]