/r/plan9
Plan 9 from Bell Labs
Related subreddits:
Public moderation log:
/r/plan9
And not a moment too soon. I’ve been working on my own 9grid for experiments
https://github.com/LoupLobet/yates
Hey I juste finished writing a 9p fs that serves mutex for inter-program synchronization over network. Thoughts and advices ? Does this really make sense?
Thanks a lot :) !
Background: factotum is running as a standalone 9front instance, go code can connect but i cant seem to get to the point it can auth. I've been trying to watch drawterm to see what its doing but some of the process is still a mystery.
1.) Consistently get ERANGE ("Result to large") when attempting to write a key to /mnt/factotum/ctl but reads of the file succeed returning empty (i.e. no keys stored). Is there a step needed beyond starting factotum and mount -t 9p before keys can be written?
2.) Is there a standard way to perform p9any negotiation from plan9port tools (from MacOS an/or Linux) prior to the TAuth message?
3.) Is there documentation about the byte formatting of the individual messages for the p9any negotiation steps and the initial TAuth (preferably including which parts are encrypted with the agreed upon session key once the exchange establishes one)?
Hi all,
I'm wokring my way through Ballestero's text on plan 9, and I've gotten to the project in chapter two where you write a C program that creates environment variables.
My program is working as expected, and putenv() is creating environment variables inside the /env folder after execution, andt if I cat the file I can see that it was correctly written.
However, doing 'echo $foo' does not echo the newly created variable unless I launch another instance of rc (which presumably causes the /env to be re-read due to the fork). Is there a step I'm missing to update environment variables written by C programs?
edit: I apologize if my explanation above is somewhat nonsensical as I wrote it late in the evening after staring at source code for hours. I did a better job explaining my issue in this comment
I recall seeing ports of Hugs and nhc98 but just wanted to ask if anyone has tried running/porting https://github.com/augustss/MicroHs on Plan 9 (legacy/9front)?
I have been playing with a virtual machine running 9front for a few days now...
[1]
from what i have read about them programs like zuke and treason simply play the file and have no way of immidiate controll (rewinding, fast forwarding ect...)
Why is this the case, it sounds like a trivial problem... what am i missing, is there a technicical limitation ? Was no one intrested ?
[2]
Why isnt the mouse wheel exploited ?
Programs such as mpv on linux show the intuitive and effective nature of using the scroll wheel for selection and navigation.
Is it because of legacy of the os in an era without scroll wheel prominence ?
if so will we need another spritual sucessor to plan9/inferno/forks ?
Hi! I've installed 9front on a Mac Pro 1.1 and I'm having trouble getting the network up and running. The issues I'm facing are:
DHCP works when booting into MacOS on the same machine. So far I've tried both ethernet ports on the Mac Pro and tried with different cables. I've tried a different router. I've checked that that there are no MAC address filters enabled on the router.
What could be causing the "phy 1 wedged" state, and how can I resolve it? Are there any known issues with the i82563 driver in 9front for Mac Pro 1.1? 3. Is there a way to force IPv4 configuration or bypass the PHY issue?
I've collected more detailed diagnostic information which can be found here:
https://pastebin.com/GsXmGX8S
Any help or direction would be greatly appreciated! Thank you!
I am currently running a Linux machine. I am looking to use 9front in live usb before switching to it fully and using vmx for all the bad (but sadly required) programs.
I put the iso on the flash drive with the help of dd ( I am guessing cat iso > usb/data only works on plan 9 as it didn't on Linux )
now i boot into the prompt in the image
tyiping boot doesn't work because bootfile is unset
and i can't set the bootfile as i dont have access to the location of the usb
When i try to install using makebootfat the system doesn't boot
what do i do ?
you can ignore the logo it is a remnant from the bootscreen that is not cleared
Hello. I am trying to install 9front on a USB drive to be booted on my Thinkpad T480, but after installation, the system cannot find plan9.ini, saying "no config" and I cannot figure out what commands to put into the prompt. Is this a common issue with newer Thinkpads? If you need more information please ask but I don't know what else to put here. I'm trying to boot via legacy mode, and the installation USB boots fine, only the installed USB that won't boot.
I need coreboot to use a cpu that my bios doesn't support and wan't to run plan9 on hardware i do not know how to do this and the best option i've found is to use grub which officially doesen't support plan9 is there any known way to do this properly?
Edit: going to try using SeaBios like on an old chromebox i had if it doesen't work let this be a lesson to future readers
Something like `ex -s`, but with Sam command language.
From acme(1)
:
Commands may be given extra arguments by a mouse chord with buttons 2 and 1. While holding down button 2 on text to be executed as a command, clicking button 1 appends the text last pointed to by button 1 as a distinct final argument.
I use a laptop. Most of the time, I do not have a mouse with me. Not being able to execute or simulate this particular chord is very inconvenient.
I can simulate the 1-2 and 1-3 chords by first selecting text and then, without letting go of the touchpad button, typing either Control or Alt. But I do not now how to simulate the 2-1 chord.
I work with Acme as shown on the screenshot.
In short, I do not know how to save the commands I use to work with the
project (top-right window) in a file. If I run Put .acme/guide
, it
works. However, if I select the whole line, as shown in the screenshot,
and execute it, Acme saves the window body in .acme/guide\n
, \n
being the literal line feed symbol. I do not understand why this happens,
is it possible to fix this issue, is there another approach.
To demonstrate the problem I'm trying to solve, here's an analysis of what exactly is depicted in the screenshot:
the right column.
There can be a lot of commands. I save them in a file named "guide".
The project directory is /home/azat/hello/
. The guide is located
inside /home/azat/hello/.acme/
. To make commands work within the
project's directory, the window tag should be set to something like
/home/azat/hello/
.
put /home/azat/hello/
inside the window tag, and load the content of
the guide into the window body. Notice <cat .acme/guide
inside the
window's scratch area. Tricky, but it does the job.
run Put .acme/guide
, it works. However, if I select the whole line,
as shown in the screenshot, and execute it, Acme saves the window body in
.acme/guide\n
, \n
being the literal line feed symbol.
>cat .acme/guide
. But I do not know how to select thewhole window body.
I use the current build of plan9port.
My approach is similar to how win
handles window tags. The name in
the tag doesn't represent the actual file, but indicates the directory
in which commands are run. However, I do not need a terminal, most of
the time. And I need a method to save my commands.
Looking at the 9front website i notice they fall over themselves to make sure the world knows they are not racist homophobe nazis. Shouldn't that just be a given? I was curious is there were past problems on the matter so the community feels the need to make sure to wave a flag. Any ideas?
When making changes to my lib/profile
file, I would like to "reload" it similar to linux where I can exec source $HOME/.bashrc
. I know that 9front is different since the rio session is based on the profile (I think).
Is there an easy way to reload the profile
file without doing fshalt -r
to just reboot?
I'm having trouble getting 9front to boot on a pi400. I've found and tried numerous confit.txt examples but so far none of them are working. I'm currently getting a firmware not found error.
Hi, I'd like to lurk around and learn from plan9 users. Is the 9fans Discord server still online? All the links I found were expired.
I know there's IRC... I just don't have a bouncer and I'm not connected that much.
Has anyone attempted to install (plan)9(front) on the newer MS surface with the Qualcomm ARM cpu?
With drivers for the cell modem, it could be a dream machine...
Plan9 has like 38 syscalls, which means that all other operations available via syscalls in OSs like Linux must be done in terms of file operations, and that can lead to a lot of open/close syscalls, so there's not only the overhead of the context switching but also whatever bookkeeping operations the kernel makes with the file descriptors.
So, instead of only making 1 context switch to get access to a certain functionality, now a program must make 3 context switches and 2 bookkeeping operations on the file descriptors to get the same.
So I'm wondering what's the impact of this overhead, and if (and what) actions have Plan9 done to mitigate it.
Often when i try to start a web-browser in 9legacy/9front, it never works due to the webFS not being initiated beforehand. webFS is needed for any HTML browsers in plan9, but when i'd tried looking for a way to start webFS, results came up empty.
Is there a simple foolproof way to start up webFS? While i had more experience with plan9 over the years, i'm still new in some aspects, and one of those is starting up a virtual filesystem (that in ways acts like a driver on other systems) like webFS.
Hey everyone, just got around to my first bare-metal install of 9front last night. Are there any useful settings or programs to change/build post-install? I've already set up wifi.