News for hackers. Stuff that matters.
Re:What typing ^D does on Unix (2009) by zeveb on Tuesday September 06, 2016 @03:36PM (#12438690)
^D, Ctrl+D and C-d are all different ways of saying the same thing. There's nothing particularly neutral about Ctrl+D, any more than there is about using the word 'water' to mean the substance of which the oceans are mostly comprised — it's just another dialect's term.
Re:What typing ^D does on Unix (2009) by zippergz on Tuesday September 06, 2016 @03:46PM (#12438762)
The button on the keyboard literally says "control" or "ctrl" on it. How could that possibly not be easier to figure out than "^" or "C-"?
Re:What typing ^D does on Unix (2009) by JdeBP on Wednesday September 07, 2016 @05:01AM (#12441750)
Look at the confusion that surrounds "Strg" for this very same key.

Also note that on some keyboards it has the U+2638 character engraved.

Re:What typing ^D does on Unix (2009) by qwertyuiop924 on Tuesday September 06, 2016 @03:52PM (#12438803)
C stands for control.
Re:What typing ^D does on Unix (2009) by Declanomous on Tuesday September 06, 2016 @03:46PM (#12438757)
The same argument you made could be used if the author used the unicode codes for Ctrl+D, which I find to be an indication that the argument was a bit weak. The article itself is written in English, and to expand upon your metaphor, tt would be strange to use the term agua to refer to water in an English article. Language is really based around what people use, so using what people know is generally considered good communication. If you use something different it's considered good form to explain why. Each representation you chose is effectively shorthand for the English phrase 'Control + D', just with different stylistic representations. People are much more familiar with Ctrl+D to refer to the key combination of Control and D.

Anyways, I had the same issue when I first started using Linux. It probably took me over a year to realize the caret stood for ctrl, and that's only because I accidentally typed it in something that printed the codes literally.

Re:What typing ^D does on Unix (2009) by jrlocke on Tuesday September 06, 2016 @03:39PM (#12438715)
It's not about neutrality, it's about ease of understanding. For me at least, when speaking about something that can be entered into a keyboard ^D is less obvious than Ctrl+D–I need to press the key labeled "control" to issue the proper command, the key labeled "^" will not suffice.
Re:What typing ^D does on Unix (2009) by joosters on Tuesday September 06, 2016 @04:36PM (#12439117)
To be really pedantic (sorry! I'm not complaining about your comment), your keyboard does not have any key labelled 'control', it is always (AFAIK) abbreviated as 'ctrl'. Which is really weird to me, as it's hardly a big word needing abbreviating, and keyboards often have other long words written on the keys ('delete', 'page down', and so on).

On top of that, the shortened 'ctrl' is really a terrible abbreviation. It's not obvious that it stands for 'control' and I would guess that most non-techy people would have no idea that it means this word. Plus, it's near to another key with multiple letters ('alt'). The overall effect is that 'ctrl' appears to just be a jumble of letters with some esoteric meaning. A really odd design decision. Why not just put 'control' on the key and be done with it?

Re:What typing ^D does on Unix (2009) by patrick8 on Tuesday September 06, 2016 @04:54PM (#12439226)
You're incorrect, especially for the typical reader here. A good chunk (maybe not over 50%, but its gotta be close) of the regular readers on this site use Macs. Most Mac keyboards, including the ones on the Macbook Pro, spell it out. Same for most non IBM/IBM-PC compatible keyboards.
Re:What typing ^D does on Unix (2009) by dancek on Tuesday September 06, 2016 @05:09PM (#12439304)
I'm typing on a MacBook Pro that has "ctrl".

Not sure I've ever seen a Mac keyboard that said "control", but maybe that's because I've mostly seen Finnish keycaps.

Re:What typing ^D does on Unix (2009) by JdeBP on Wednesday September 07, 2016 @05:10AM (#12441790)
Enjoy this picture of an Apple keyboard that says "control": https://commons.wikimedia.org/wiki/File:Apple_Keyboard.JPG
Re:What typing ^D does on Unix (2009) by jonknee on Tuesday September 06, 2016 @05:16PM (#12439347)
Look in the menu bars and you'll only see ^ describing the shortcuts.
Re:What typing ^D does on Unix (2009) by joosters on Tuesday September 06, 2016 @07:30PM (#12439995)
I'm typing on a mac keyboard too. It has 'ctrl', 'esc', but 'delete' is written in full.
Re:What typing ^D does on Unix (2009) by jrlocke on Tuesday September 06, 2016 @09:00PM (#12440351)
My mid 2014 MBP control key is labeled "control"
Re:What typing ^D does on Unix (2009) by kaeruct on Tuesday September 06, 2016 @04:58PM (#12439246)
Re:What typing ^D does on Unix (2009) by joosters on Tuesday September 06, 2016 @07:33PM (#12440018)
How odd! My mac keyboard is a similar design, but has 'ctrl', and has no writing on the shift keys, caps lock and so on. The only unabbreviated word it has is 'delete'.

Perhaps the standard is something to do with the country (mine is a UK layout).

Re:What typing ^D does on Unix (2009) by Zarel on Tuesday September 06, 2016 @08:46PM (#12440296)
Yes, it does. Not sure why, but:

http://i.imgur.com/vvQNuQX.jpg

Re:What typing ^D does on Unix (2009) by caf on Tuesday September 06, 2016 @08:14PM (#12440177)
Even then though, why is it obvious that you don't need to press the key labelled + as well?
Re:What typing ^D does on Unix (2009) by jrlocke on Tuesday September 06, 2016 @08:59PM (#12440340)
All I know is that in my youth ^ sent me to google befuddled a few times while + never did
Re:What typing ^D does on Unix (2009) by Rangi42 on Tuesday September 06, 2016 @03:39PM (#12438711)
But Ctrl is easier to figure out from context, since it's a multi-character Googlable symbol that's even printed on the key.
Re:What typing ^D does on Unix (2009) by vram22 on Wednesday September 07, 2016 @07:32AM (#12442409)
> ^D, Ctrl+D and C-d are all different ways of saying the same thing.

Right, and the classic book The Unix Programming Environment (by Brian Kernighan and Rob Pike) uses ctl-d.