Re: [9fans] searching advice

2021-04-12 Thread Mack Wallace
I recently stumbled through the process of compiling u9fs for a linux machine and then connecting to it from a 9front computer. Perhaps that will work? u9fs is a program for linux / unix that allows plan 9 boxes to connect with 9fs. The source for it was in /sys/src/cmd/unix in the ‘labs version

Re: [9fans] Plan9 on Raspberry Pi 400?

2021-01-20 Thread Mack Wallace
Just wanted to update. I was able to download the new main.c and compile a new kernel. 4GB of ram is now recognized. Thank you! > On Jan 19, 2021, at 4:52 AM, Richard Miller <9f...@hamnavoe.com> wrote: > >> Sometimes I wish we'd stuck to the clunky original IBM 3270-style keyboard... > > My ra

Re: [9fans] Plan9 on Raspberry Pi 400?

2021-01-18 Thread Mack Wallace
Thank you Michael for the kernel, it worked well. Skip for your config.txt, and certainly Richard for all your efforts porting 9 to the pi, and trying to keep it up to date. I have a 9front server - I had tried compiling a new kernel (of the 9front variety) there, but with lackluster results (

Re: [9fans] Plan9 on Raspberry Pi 400?

2021-01-15 Thread Mack Wallace
r and needs an >>> additional property mailbox call for loading the xHCI firmware after PCIe >>> reset. >>> >>> Some code to load the firmware can be found in the circle bare-metal >>> library (l. 88ff): >>> https://github.com/rsta2/circle/blob/Step42.1/l

Re: [9fans] Plan9 on Raspberry Pi 400?

2021-01-15 Thread Mack Wallace
400 never provides those messages. Regards, Mack > On Jan 15, 2021, at 1:44 PM, Mack Wallace wrote: > > Dear Skip, > > That pushed the ball forward significantly, but I still have issues. (But > thank you, every little advancement helps.) So with that flag, I was able to &g

Re: [9fans] Plan9 on Raspberry Pi 400?

2021-01-15 Thread Mack Wallace
7; as > Richard instructed in the sources. Pi4 works ok without it, pi400 doesn't. > > > On Thu, Jan 14, 2021, 3:39 PM Mack Wallace <mailto:mac...@mapinternet.com>> wrote: > Thank you for the reply Stuart, but no luck. > > I did download Mr. Miller’s image. It

Re: [9fans] Plan9 on Raspberry Pi 400?

2021-01-14 Thread Mack Wallace
Thank you for the reply Stuart, but no luck. I did download Mr. Miller’s image. It would not boot at all until I replaced the files that you mention, but the kernel in that image locks up after detecting the fourth core of the CPU. However, from that failure I learned that those files, (start_c

[9fans] Plan9 on Raspberry Pi 400?

2021-01-14 Thread Mack Wallace
I recently purchased a Raspberry Pi 400, which is supposed to be a Raspberry Pi 4 already inside a keyboard. I thought it would be great to get a plan 9 terminal on it. However, I am having some trouble; and I don’t know if it is specific to the Pi 400, myself, or both. The Pi 400 is the Raspbe

[9fans] Couple of questions - not sure where best to ask

2020-10-14 Thread Mack Wallace
Hi all, I am trying to set up a super simple wiki that can be used by either the web, or bulk editing through acme. Wikifs seems to address this quite well. However i have run into a number of questions across various Plan 9 platforms and am not sure if they all should be in separate e-mail thr

Re: [9fans] rc scripts, how to get spaces in array elements generated by command output?

2019-01-05 Thread Mack Wallace
> On Jan 5, 2019, at 6:52 PM, Anthony Martin wrote: > > Mack Wallace once said: >> My question: Is there a way to take the string output of a command that >> contains spaces and make it a single element of an array in rc script? >> >> [...] >> >> Ho

Re: [9fans] How does one read a file line by line in an rc script?

2019-01-05 Thread Mack Wallace
Thanks... I'm running Bell Labs Plan 9 in Virtualbox. (I’m not sure how to get the version from the os or from rc) I copied and pasted the snip directly into a script with only that in it - same error as before:“rc (testread): variable name not singleton!” As for the second part - I will move

Re: [9fans] How does one read a file line by line in an rc script?

2019-01-05 Thread Mack Wallace
> > > try > > cat $1 | while(line=`{read}){ > echo $line > } > > no doubt you cam do without the cat but i am unsure off hand where to put the > redirect in and i am not on plan9 just now. > > -Steve > > On 5 Jan 2019, at 10:34 pm, Mack Wallace <

[9fans] How does one read a file line by line in an rc script?

2019-01-05 Thread Mack Wallace
Another, probably more stupid question - How does one read a text file line by line in an rc script. In bash this works: #!/bin/bash while read line do echo $line done < $1 I’ve tried: #!/bin/rc while (line=`{read $1}) { echo $line } Which produces the first line of the file

[9fans] rc scripts, how to get spaces in array elements generated by command output?

2019-01-05 Thread Mack Wallace
I apologize if this is not the correct forum for this question. However, since I am trying to write a script in Plan 9’s rc shell, this seemed to be the best place to go - as most scripting resources are based on bash, and I could not find the answer in the rc references I could find. - and I’m