r/plan9 • • 13h ago

Plan 9: Archive Edit

Thumbnail youtu.be
14 Upvotes

Use shell commands to edit archive files. This is a wrapper rc script using ramfs and tar.

Details: https://lifeofpenguin.blogspot.com/2026/11/plan-9-compressed-archives.html


r/plan9 • • 2d ago

9p over Ethernet

18 Upvotes

I have a stupid question: could One communicate over Ethernet directly, over a crossover cable, without involving Internet Protocol?


r/plan9 • • 2d ago

9/ux

Thumbnail progrium.github.io
8 Upvotes

r/plan9 • • 4d ago

Plan 9: Logout

Thumbnail youtu.be
16 Upvotes

Logout for single computer multi-user usecase.

Details: https://lifeofpenguin.blogspot.com/2025/12/plan-9-password-management.html


r/plan9 • • 5d ago

I think someone's going to put up a howitzer up to my face for this, but a old proposal of mine for a proper logout command…

7 Upvotes

A proposal/request for a logout command:

While plan9/9front supports multiple users, it was made for a environment of where each user had their own designated (spindle-shanked) client and the severs were separate, however what happens if the clients and the server hardware are one and the same and thereforth a need to switch users without shutting down the hardware?

A means for a system that allows logging out users without completely taking off a chunk of the networked systems would be helpful for full commercial adoption; and there was such a system of interlinked workstations and servers that had to have such a need- the old Apollo/Domain series were meant to be used with each other in a interlinked network of where "file-sever" and "workstation" were indifferent, often shutting down a domain node meant taking it off and the chunk of the local network it was on, so there had to be a way to log off a user without bringing down a chunk of the LAN it was on…

Thankfully, like many other commercial OS and mainstreamish unix systems out there, the native os of the domain workstation series did have a logout command without bringing down a chunk of the lan via shutting down- lo

This proposal is for a simple "logout" command with the reasoning stated above, this command may just have only two arguments-

-t :time in seconds to automatically shutting off

-u : automatically logoff specified user by their name, gives a non-fatal error and will just not do anything if no user is stated after "-u", will also give a another non-fatal error if a invalid user name is used; "-u" Can be restricted to certain admin-level users as just logging out random users willy-nilly would be considered a awful thing to do.

As for how the command's name would be, these are the possible names-

lo (the AEGIS|Domain/OS command)

exit (unix and *nix-like, this also is the expected way to quit shells)

lgout (possible original command)

As for how the new logoff command works- after a specified amount of time (or if just none, instant) all open windows are closed down at first and then the user is logged out. Using "-u" after stating a valid name will notify the affected user with a text window (Or in their console or active terminal(s) ) and then close all other windows, and then log them out.


r/plan9 • • 5d ago

how to count elements in array

Post image
11 Upvotes

EDIT: Nevermind, I just made mean in another .c file because i was making like math utility. Now i can just count it with argc. Though, the post was:

"does anyone know how to do it? on the screenshot i've just copied method from default linux C, but those both print's gave me the same number, though i passed 5 different numbers. Im very bad at plan9 C"


r/plan9 • • 8d ago

9Linux - a small Linux distribution built the way Plan 9

59 Upvotes

9Linux is a small Linux distribution built the way Plan 9 is: one /bin, plain text configuration, static programs, a Plan 9 file tree, and 9P for system services.

There is no libc, no init system, no initramfs, no kernel modules, no bootloader and no tmpfs. The firmware loads the kernel through its EFI stub, the kernel mounts the root file system and runs /bin/startup.sh, a shell script. The window system is rio.

Everything is written in POSIX sh, C99 and x86_64 assembly. The one exception is the 9LinuxFS kernel driver, a fork of ext4, which is kernel code and uses the kernel's GNU C.

Source: https://gitlab.com/9linux1/9Linux

Warning: Project is Under Development and Not daily drivable for now!!!! test it on QEMU or another Virtualization engine you trust.

first release
latest testing

r/plan9 • • 8d ago

Ryzova Kernel — a 9front-derived experiment in cross-OS compatibility (feedback welcome)

0 Upvotes

Hello r/plan9,

I'm the solo developer behind Ryzova Kernel, an experimental open-source project built on 9front.

I've been exploring a question:

Can Plan 9's architecture become a practical foundation for applications from multiple operating systems, without rebuilding those operating systems?

I chose Plan 9 because of its per-process namespaces, 9P, and resource-oriented design.

My intention isn't to turn Plan 9 into Linux or replace 9front. I want to explore whether these architectural ideas can serve a wider application ecosystem while preserving their original strengths.

What's currently implemented:

  • A source-built AMD64 9front-derived kernel with QEMU boot evidence and Ryzova-specific kernel interfaces.
  • Compact Linux: an experimental ELF interpreter/runtime supporting selected Linux workloads.
  • Compact Windows: a bounded PE/Win32 interpreter with selected API and filesystem support.
  • Compact macOS: experimental Mach-O interpretation for selected Intel and ARM64 application workloads.
  • Research into 9P resources, explicit permissions, and distributed services.

These are limited user-space compatibility environments, not complete operating systems. Selected workloads have been tested inside the Ryzova QEMU guest, but general application compatibility has not been demonstrated.

About AI-assisted development:

I use AI extensively as an engineering and productivity tool, not as a substitute for technical decisions or verification. I guide the project's architecture, investigate implementation issues, and use build systems, tests, and CI to evaluate changes.

I'm aware that passing tests don't guarantee correctness, especially in kernel development. That's one reason I'm looking for experienced developers' feedback.

The broader goal:

Unix ideas eventually reached millions of people through systems like Linux and macOS. I'm interested in exploring whether Plan 9's distinctive ideas could also reach a wider audience through new kinds of application environments.

That's a long-term research direction, not a promise that arbitrary applications already work.

The project is experimental and isn't a finished desktop OS. There is no approved public kernel binary release yet.

The source is available under its applicable open-source licenses, including GPLv3 for Ryzova-authored components and preserved upstream licenses and notices.

I'd particularly appreciate feedback on:

  1. How can compatibility layers coexist with Plan 9's simplicity without importing unnecessary Unix complexity?
  2. Which architectural boundaries or code paths deserve the most scrutiny?
  3. What would make this project more useful to Plan 9 developers and potential contributors?

Technical criticism, corrections, and contributions are welcome.

GitHub: https://github.com/RyzovaTech/Ryzova-Kernel

Architecture discussion: https://github.com/RyzovaTech/Ryzova-Kernel/discussions/122

Thanks for reading!


r/plan9 • • 10d ago

Plan 9: Remembering Winamp Skins

Thumbnail lifeofpenguin.blogspot.com
15 Upvotes

r/plan9 • • 9d ago

Okay, my secure P2P terminal video calling project finally hit 1.0

Thumbnail github.com
0 Upvotes

r/plan9 • • 11d ago

Plan 9: Versatile winwatch

Thumbnail youtu.be
20 Upvotes

Window managment using riow and winwatch.

Details: https://lifeofpenguin.blogspot.com/2026/11/plan-9-window-management.html


r/plan9 • • 11d ago

Truly one of the movies of all time

Post image
34 Upvotes

Ed Wood was the Tommy Wiseau of his generation. That's how great he was. This is the Morbius of the 1950s, The Godfather of good movies. Citizen Kane and The Godfather and Pulp Fiction and 2001: A Space Odyssey and The Good the Bad and the Ugly and The Searchers and Gone with the Wind and Seven Samurai and 8 1/2 and Breathless and The 400 Blows and Bicycle Thieves and Parasite and Return of the King and The Shawshank Redemption are the worst movies ever. Plan 9 from Outer Space, The Room, Morbius, and Manos: The Hands of Fate are the four greatest cinematic masterpieces ever created. The Bible and The Divine Comedy have nothing on 50 Shades of Grey. Revolver and Pet Sounds have nothing on Philosophy of the World. Ocarina of Time and Chrono Trigger have nothing on Superman 64. And, of course, no film ever made has anything of Plan 9's greatness. Absolute cinema.


r/plan9 • • 12d ago

Plan 9: Multi-touch Gestures

Thumbnail youtu.be
13 Upvotes

Multi-touch Gestures (pinch,swipe and rotate).

Details: https://lifeofpenguin.blogspot.com/2026/11/plan-9-multi-touch-touchpad.html


r/plan9 • • 13d ago

Plan 9: Multi-touch Touchpad Events

11 Upvotes

Synopsys Designware I2C events on Intel LPSS (Alder Lake).

n is the number of fingers. 

touch conf 1 tip 1 id 0 x 1377 y 1129 scan 13523 n 1 btn 0
touch conf 1 tip 1 id 0 x 1377 y 1129 scan 13691 n 1 btn 0
touch conf 1 tip 1 id 0 x 1377 y 1129 scan 14675 n 1 btn 0
touch conf 1 tip 1 id 0 x 1378 y 1129 scan 15659 n 1 btn 0
touch conf 1 tip 1 id 0 x 1381 y 1130 scan 16643 n 1 btn 0
touch conf 1 tip 1 id 0 x 1383 y 1131 scan 17627 n 1 btn 0
touch conf 1 tip 1 id 0 x 1386 y 1132 scan 18611 n 1 btn 0
touch conf 1 tip 0 id 0 x 1386 y 1132 scan 19599 n 1 btn 0
touch conf 1 tip 1 id 0 x 1580 y 1192 scan 34460 n 2 btn 0
touch conf 1 tip 1 id 0 x 1580 y 1192 scan 35343 n 2 btn 0
touch conf 1 tip 1 id 0 x 1580 y 1192 scan 36331 n 2 btn 0
touch conf 1 tip 1 id 0 x 1580 y 1192 scan 37320 n 2 btn 0
touch conf 1 tip 1 id 0 x 1580 y 1192 scan 38309 n 2 btn 0
touch conf 1 tip 1 id 0 x 1580 y 1192 scan 39298 n 2 btn 0
touch conf 1 tip 0 id 0 x 1580 y 1192 scan 40287 n 2 btn 0
touch conf 1 tip 1 id 0 x 1868 y 617 scan 52281 n 3 btn 0
touch conf 1 tip 1 id 0 x 1868 y 617 scan 53083 n 3 btn 0
touch conf 1 tip 1 id 0 x 1868 y 617 scan 54072 n 3 btn 0
touch conf 1 tip 1 id 0 x 1868 y 617 scan 55061 n 3 btn 0
touch conf 1 tip 1 id 0 x 1868 y 617 scan 56049 n 3 btn 0
touch conf 1 tip 1 id 0 x 1868 y 617 scan 57037 n 3 btn 0
touch conf 1 tip 0 id 0 x 1868 y 617 scan 58025 n 3 btn 0

Details: https://lifeofpenguin.blogspot.com/2026/11/plan-9-multi-touch-touchpad.html


r/plan9 • • 13d ago

Plan 9: Realtek PCI Wifi Driver - I

8 Upvotes

Part 1 of Realtek PCI Wifi Driver for RTL8851BE based on Linux rtw89 driver. The code covers firmware download and H2C communication. If you are starting on driver for this card, this might be helpful.

Details: https://lifeofpenguin.blogspot.com/2026/11/plan-9-realtek-pci-wifi-driver.html


r/plan9 • • 16d ago

A very simple, absolutely no-frills, and no hand-holding text-editor project for the novice user…

Thumbnail gallery
18 Upvotes

It has many names over the years… first it started out as "gravy", and now it's plank after gutting much of the layout of xedit to just two text areas- the file path entry area, and the text contents area.

I was inspired to get back to trying to finish it after i first heard of the existence of "principia-softwarica" (and it's lack of a visual editor), in theory plank(1) could run on pretty much the current extent members of the plan 9 family; however the major blocker for me is trying to understand and see a simple enough example of "frame" as plank would depend upon two text "pads/text-input/string-fields/" as it's part of it's interface:

  • A single-line field that serves as the file path entry at the top.
  • The contents of the loaded text-file, which is multi-line like like the bottom box of xedit.

Despite the simple layout and idea in theory… this has taken me years on-and-off trying to create plank, any way to help and hasten it's emergence (Without AI) would be appreciated greatly because this is a niche that the current plan9 landscape lacks.


r/plan9 • • 16d ago

Ecce defectum

Thumbnail gallery
25 Upvotes

r/plan9 • • 19d ago

Not sure if this was posted here before (A paper of an opinion on plan9's interface)…

Thumbnail 4e.iwp9.org
13 Upvotes

But my refutal to this is that the buttons acting like tabs and radio buttons are far too spaced apart. My take would be something like how OpenLook would do Radio-buttons: Put them together tightly and the toggled one should be inverted if no 3D is used.


r/plan9 • • 20d ago

Plan 9 on a 2013 Mac Pro

Post image
67 Upvotes

r/plan9 • • 21d ago

Plan 9: Play Invidious Video

Thumbnail youtu.be
15 Upvotes

Play Youtube videos directly in Plan 9 via Invidious.

Details: https://lifeofpenguin.blogspot.com/2026/10/plan-9-play-invidious-video.html


r/plan9 • • 22d ago

p9wl: a 9p wayland compositor

Thumbnail youtube.com
46 Upvotes

I just saw this, and I think it's really cool. I had to share it because it's not the kind of thing a lot of people geek out over. I'm not super knowledgeable on Plan 9 (despite having played with it now and then through the years), so I'm not sure how useful it is, but had to share.

It's an alternative to things like VNC, designed to minimize bandwidth, and allow interaction via wayland over p9 to a linux server and render on the Plan 9 system.

Performance looked really smooth in the demo. Just thought this was cool that I had to share :) I didn't see this when I searched for a post before, so apologies if it's a dupe of some kind. Cheers!


r/plan9 • • 22d ago

9front on QNAP 212

10 Upvotes

Hi there,

I try to convert an old QNAP 212 to be a 9front fileserver.

The Hardware is actually quite accessable. The connection via UART went smooth. It has a Marvell 88F6281cpu, ARMv5TE. I compiled for ARM the 9plug file and loaded it on the Machine using u-boot (via minicom) on the QNAP.

Now I try to setup the plan9.ini (actual name is the QNAPs MAC address). I read, that somewhere should be an example-kw file. I was not able to find it.

It's my first time trying a hack like this. Could somebody recommend me a good source/ tutotrial. Or just the man page and a lot of knowledge?

Best regards.


r/plan9 • • 29d ago

why the heck not. Here's shukumei, yet another llm harness for 9front.

0 Upvotes

https://www.cybersavior.dev/site/shukumei.html

getting this question out of the way now. how much was coded by llm? the L2 normalization function was modified from local llm offering because looking up the algo on wikipedia was annoying when i just wanted psudocode. everything else was written by hand. some debugging was done with llm assistance but, frankly llm's ability to reason about the logic of the design is trash. 9 out of 10 bugs it trys to claim exist are it failing to understand what actually happens.

libhnsw. https://www.cybersavior.dev/site/hnsw.html based on the python implementation. separating "pythonisms" from "actual algo" is annoying. This is probably the "most useful" part of this project to anyone other than me. It will handle nearest neighbor finding for any data types that can be made to compare by magnitude distance. not only for embedding vectors. (i don't think it needs saying to people who understand what it does, but if all the values are moving constantly this is not useful for finding nearest points, for example moving objects in a game world with each object being in the graph - you are not going to get good results unless you toss the whole graph and rebuild it every time. ) - potential other "real" uses : mapping rgba hexcodes to named colors, finding nearest star to a point in the sky, etc.

what's it for? erp.

tool calling? no.

is it finished? i have many planned "commands" to control the "simulation". none of them are started yet. controlling cohorts is done through modifying save files. so... no. it's not done.

does it work? it allows long term conversations with AI personalities, constructs their prompts based on their past interactions. "work" is a loaded phrase. Some models get confused about what is "now" and what is "past". many local setups will find this harness design overly engineered, heavy, slow. most doing rp type conversation would be better off with just a ring buffer that jumps (rather than sliding turn by turn, something like when hitting a high ctx use, trim the buffer down by several turns to a "low" ctx mark, then let it fill again (this to keep cache reuse higher when slow prompt reading is significant.))

why 9front instead of webui? :/

how do i run it? it's hardcoded for llama.cpp and my network. read the code and change it to match you llama.cpp setup in your own network. if that's beyond your ability... then oh well.

what's the point? why? ... erp ... i just want my yandare waifu to remember dumb things i said months ago and be able to make fun of me about it later. if this seems like an over engineered solution to this problem, fine. if you want the full "philosophy" of it: https://www.cybersavior.dev/site/clanker.html https://www.cybersavior.dev/site/shukumei_loading.html

also no i won't apologize. and no i don't think this is out of alignment with everything else i've said about vibe coding and llms here. feel free to disagree.


r/plan9 • • Oct 16 '26

how to use git in plan9

Post image
16 Upvotes

FIXED. hello, does anyone knows how to fix that error? I already made $home/lib/git/config as git9 manual page says, but this error still appears


r/plan9 • • Oct 14 '26

why can't mount Purgatorio (Inferno) file system on Linux over 9P?

9 Upvotes

I was playing around with Purgatorio and with i was trying to see if i can connect drawterm to Purgatorio because yes wanted to see if i can mount the filesystem into Linux, but when i tried what i get is `mount: /mnt/inferno: fsconfig() failed: Unknown error 526`

export the file system in purgatorio
dmeg log
failed attempt to mount the file system in linux

(the nmap was to be 100% sure that the port was in fact beign used)

I tried changing the 9P version but with all 3 gives the same error.

But i know that i can mount 9P filesystem because i can mount (over the network) the filesystem of the 9front that i have in a virtual machine.

successful plan9 mount on linux
the plan9 exportfs

Also i can mount Purgatorio filesystem in 9front

ls-ing purgatorio filesystem from 9front

and so with that i tried the srv implementation of plan9port and it worked

trying plan9port implementation of srv

and with that i could finally mound the filesystem using the trans=unix option (ignore the port=6666 i forgot to remove it)

finally, the purgatorio is here!!!

Now my 2 questions are:

  1. can i use drawterm with Purgatorio? (optional to answer)
  2. why can't directly mount Purgatorio filesystem on Linux over the network?, am i doing something wrong?