3 ms·
So the causal chain would be: 1. Notice a URL scheme dict:// 2. Try to type 'dict' into a terminal, on the off chance there's a command-line tool with the sam
by jmillikin 2y ago
So the causal chain would be:
1. Notice a URL scheme dict://
2. Try to type 'dict' into a terminal, on the off chance there's a command-line tool with the same name (would you do this for https:// https:// and expect the same outcome?)
3. Be running a distribution that modifies the user's shell environment to suggest packages related to unknown commands
4. Actually install and run that command
5. Be running tcpdump or wireshark at the same time to notice that the `dict` command is reaching out to the network, as opposed to doing some sort of local lookup in /usr/share/dict
6. Figure out from the network traffic that the tool is using a dictionary-specific protocol as opposed to just making an HTTP request to dictionary.com or whatever.
--
Nah, the only way someone would know (or even suspect!) that dict:// is somehow related to an ancient Unix command-line tool is prior knowledge, and it's unreasonable to expect the article author to have somehow intuited such an idea.
- deleted 2y ago[deleted]
- kragen 2y agoright, the causal chain would be that the author already used the dict command and had at some point read the man page, which begins DICT(1) DICT(1) NAME dict - DICT Protocol Client SYNOPSIS (...) DESCRIPTION dict is a client for the Dictionary Server Protocol (DICT), (...) but, yeah, not everybody has that background which is fine! nobody is born knowing all the unix commands
- bubblesnort 2y agoHTTP is the weird protocol here. Lots of protocols were named after the program (or vice versa). finger, ftp, ssh, talk, telnet, tftp, maybe whois too?
- kragen 2y agoalso gopher. mail and dns are two other exceptions tho