News for hackers. Stuff that matters.
Re:Dell XPS 13 Review from a lifelong Mac user by dingo_bat on Friday June 15, 2018 @10:18AM (#17319931)
I use it all the time! Why would you think so?
Re:Dell XPS 13 Review from a lifelong Mac user by icedchai on Friday June 15, 2018 @10:50AM (#17320149)
You asked about the control key. Have you ever used "control-c" or "control-d" from a Unix command line?
Re:Dell XPS 13 Review from a lifelong Mac user by dingo_bat on Friday June 15, 2018 @01:18PM (#17321547)
Yeah. 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.
Re:Dell XPS 13 Review from a lifelong Mac user by icedchai on Friday June 15, 2018 @04:03PM (#17323067)
Yes, 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.

Re:Dell XPS 13 Review from a lifelong Mac user by dingo_bat on Saturday June 16, 2018 @01:04AM (#17325949)
So if I run a long running grep and terminate it using Ctrl+c, which remote host am I sending the command to?
Re:Dell XPS 13 Review from a lifelong Mac user by icedchai on Saturday June 16, 2018 @05:34AM (#17326734)
It 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...)
Re:Dell XPS 13 Review from a lifelong Mac user by dingo_bat on Saturday June 16, 2018 @10:09AM (#17327475)
Ok, 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.