News for hackers. Stuff that matters.
Re:Why on Mac does “news://” open up Terminal from Safari / ... by smt88 on Wednesday May 05, 2021 @02:45AM (#27046910)
The news:// URL scheme is for Usenet.
Re:Why on Mac does “news://” open up Terminal from Safari / ... by philjii on Wednesday May 05, 2021 @05:22AM (#27047833)
that sounds right to me, but I still don't know why it would launch Usenet... any who! I guess we have a way to launch terminal.

Ps I just tried it with a URL and it works too, you can create an href with the news:// predicate and it launches a terminal, but I can't seem to pass anything along to the terminal. Could have been useful for CLI commands instead of the copy/paste approach.

Re:Why on Mac does “news://” open up Terminal from Safari / ... by smt88 on Wednesday May 05, 2021 @05:32AM (#27047901)
> I still don't know why it would launch Usenet

I don't think my meaning was clear.

news:// points to Usenet resources the same way https:// points to the World Wide Web. It's up to your browser and OS what actually happens when you click a news:// URL.

There are MacOS clients for Usenet in case you actually want to handle those correctly (not sure why you would though).

> I can't seem to pass anything along to the terminal

You should not be able to pass anything to the terminal this way, any more than "https://rm" would pass "rm" to your terminal.

> Could have been useful for CLI commands instead of the copy/paste approach

This would be a terrifying security risk. You should not be able to click something and have your terminal suddenly filled with someone else's text.