News for hackers. Stuff that matters.
Re:Plan 9 Desktop Guide by rcarmo on Wednesday October 06, 2021 @05:59AM (#28771128)
This is by far the most comprehensive Plan 9 walkthrough I've read in the past couple of years.

I've been running a Raspberry Pi as an all-in-one Plan 9 setup for a long while now (as a sort of catch-all minimalist dev environment/console), and the two main showstoppers for me have been:

- The reliance on a three button mouse, which makes it impossible to use Plan 9 on a modern laptop without finagling with modifier keys (no, I don't want to go back to using a mouse, thanks).

- The utter lack of any minimally usable browser (I know, the browser would be larger than the OS, but it is a major issue for any kind of work today).

It is an excellent system to dig into and learn from, but there are many paper cuts when using it daily: SSH/terminals work differently, VNC/Remote Desktop clients are... weird, etc. (rd sort of works, and sort of doesn't, and without it really working I can't even read documentation online unless it's plaintext).

All in all, this is a great thing to see as I hope new things are built atop Plan 9 (when it makes sense), but as a minimal desktop environment I've moved to Openbox + xterm + Firefox, and have been pondering setting up Chromium OS on a beefier Raspberry Pi, since most "consoles" are just web-based these days anyway...

Re:Plan 9 Desktop Guide by Kototama on Wednesday October 06, 2021 @06:07AM (#28771193)
It's probably unfair to compare Plan9 to "modern" operating systems. Why not talk about everything it got right and smart instead of all the things which behave differently than what our expectations set?
Re:Plan 9 Desktop Guide by Cloudef on Wednesday October 06, 2021 @08:08AM (#28772128)
The strong point of plan9 is the universal IPC. This kills the need for a separate clients and servers that communicate with their own protocols to get access to remote resource. You can simply import / export anything, this isn't limited to static content as daemons can also export virtual resources. It also makes lots of programs unnecessary as traditional shell tools can access and modify resources and even system settings. Sort of like sysfs on linux but more on steroids.

Plan9 was also far ahead with sandboxing by having namespaces, which means you can expose restricted views of the "filesystem" to each process. Since in plan9 there's no ioctls and every resource access is simply read/write syscall (even networking!), restricting the "filesystem" is all you need to restrict what a process can do on your system.

Re:Plan 9 Desktop Guide by pjmlp on Thursday October 07, 2021 @02:01AM (#28782685)
No it wasn't.

UNIX world had sandboxing via stuff like Tru64 and HP-UX vaults, while the cloud kind stuff kind of traces back to IBM System 360 capabilities, later improved in z/VM.

Re:Plan 9 Desktop Guide by nix23 on Thursday October 07, 2021 @03:20AM (#28783237)
>cloud kind stuff kind of traces back to IBM System 360 capabilities

Yes true with VM/370 (today called z/VM) released in 1972, but it's not directly the same, however pretty impressive what IBM did (in the past)

One can test-drive it from here:

http://www.vm370.org/vm

Re:Plan 9 Desktop Guide by rcarmo on Wednesday October 06, 2021 @06:10AM (#28771210)
I'm just pointing out the shortcomings I found. I've been using it and keeping tabs on resources for Plan 9 and Inferno since 2014:

- https://taoofmac.com/space/os/plan9

...so I do know a lot about it in practice. It's just that, also in practice, nearly ten years of tinkering with it have been mesmerising, mostly fun, but not useful enough for my particular use cases. YMMV.

Re:Plan 9 Desktop Guide by gonzus on Wednesday October 06, 2021 @07:37AM (#28771850)
I want to answer trying to interpret the GP. For me, I want to be able to tinker with Plan 9. I love everything I have read about it. But I also need a practical environment where this is possible. I would love to be able to do minimal (frugal?) development work on a pi running Plan 9, but the lack of a browser, an editor that feels familiar (at least for a while, until I learn the ropes) and the languages I want to tinker with, it is very hard to get going.
Re:Plan 9 Desktop Guide by nix23 on Thursday October 07, 2021 @03:21AM (#28783246)
Try 9Front, they have two browsers ;)
Re:Plan 9 Desktop Guide by enriquto on Wednesday October 06, 2021 @02:43PM (#28776689)
You can install it on a virtual machine and start playing.
Re:Plan 9 Desktop Guide by ThinkBeat on Wednesday October 06, 2021 @09:09AM (#28772681)
Plan9 is a more "modern" operating systems than UNIX. WindowsNT is also a more modern operating system than UNIX.

In so far as when they were created long after UNIX. And Plan9 certainly was at some point hoped to be a successor.

That did not happen.

and the new ideas they had.

Re:Plan 9 Desktop Guide by jhbadger on Wednesday October 06, 2021 @06:45PM (#28779430)
Although Windows NT was in many ways a version of the operating system VMS that failed against UNIX including having the same main architect, Dave Cutler, who hated everything about UNIX and who refused to learn from its success. Plan 9 on the other hand was created by some of the very same people who created UNIX. It learned from UNIX and while it failed, it failed because to most people UNIX was "good enough" and the improvements of Plan 9 weren't compelling enough to switch.
Re:Plan 9 Desktop Guide by pjmlp on Thursday October 07, 2021 @02:02AM (#28782701)
Mostly because VMS was commercial and UNIX free beer.

History would have played quite differently had AT&T been allowed to sell UNIX from the get go.

Re:Plan 9 Desktop Guide by cesarb on Wednesday October 06, 2021 @08:26AM (#28772285)
> The reliance on a three button mouse, which makes it impossible to use Plan 9 on a modern laptop without finagling with modifier keys

Some modern laptops which have both a touchpad and a trackpoint or similar have two sets of mouse buttons, with the top one (for the trackpoint) having three buttons. The Wikipedia article (https://en.wikipedia.org/wiki/Trackpoint) has a list of models (note however that, for some models, it's optional so you can have it either with or without the trackpoint) and a couple of pictures of these laptops with two sets of mouse buttons.

Re:Plan 9 Desktop Guide by eldersnake on Wednesday October 06, 2021 @07:39AM (#28771870)
I've only been trying Plan 9 (via 9front) the past few days, just in a VM, but I agree about the mouse. My mouse hand cramps up very easily, and I've become so accustomed to keyboard driven interfaces (I use dwm as my window manager, for example) it almost feels weird using a mouse so much.

Definitely a very interesting system though.

Re:Plan 9 Desktop Guide by butterisgood on Wednesday October 06, 2021 @07:53AM (#28771979)
Some people in the community are playing around with a rio replacement.

https://shithub.us/sigrid/riow/HEAD/info.html

This has some keyboard shortcuts etc.

Re:Plan 9 Desktop Guide by shadowgovt on Wednesday October 06, 2021 @11:36AM (#28774412)
+1 on the browser issue. So much of basic development these days requires a browser (I'm even using one to read this Plan 9 Desktop Guide) that not having one hosted by the OS moves the OS from "Desktop development" to "Embedded system development" for all practical purposes for me.
Re:Plan 9 Desktop Guide by anthk on Wednesday October 06, 2021 @12:13PM (#28774842)
Browsrs? Just get this and read it with page.

https://doc.cat-v.org/plan_9/9.intro.pdf

Re:Plan 9 Desktop Guide by shadowgovt on Wednesday October 06, 2021 @02:23PM (#28776430)
Sorry, I never received this suggestion on Plan9 because I can't read Hacker News without a browser... ;)

(... and so on and so on. HTTP, as a protocol, has eaten the world. A "desktop" anything without a native browser in it really sticks out.)

Re:Plan 9 Desktop Guide by ori_b on Wednesday October 06, 2021 @03:13PM (#28777048)
Turns out that you can browse hacker news (and a lot of the internet) fairly well from both netsurf and mothra.

[Posted from 9front.]

Re:Plan 9 Desktop Guide by anthk on Wednesday October 06, 2021 @03:29PM (#28777235)
A PSP, Lynx or Opera Mini 4 user agent may do wonders.

webfs(4) supports custom ones.

Re:Plan 9 Desktop Guide by anthk on Wednesday October 06, 2021 @03:26PM (#28777205)
>HTML, as a protocol

Ahem.

Re:Plan 9 Desktop Guide by shadowgovt on Wednesday October 06, 2021 @03:46PM (#28777485)
Thank you; corrected. :)
Re:Plan 9 Desktop Guide by jjuel on Wednesday October 06, 2021 @12:56PM (#28775395)
> The reliance on a three button mouse, which makes it impossible to use Plan 9 on a modern laptop without finagling with modifier keys (no, I don't want to go back to using a mouse, thanks).

Thinkpad ;)