Re: [9fans] fd and /srv filesystem

2023-10-04 Thread Chris McGee
Thanks all for the explanations. I think I understand better now. Chris > On Oct 4, 2023, at 12:06 PM, o...@eigenstate.org wrote: > > Quoth Chris McGee : >> Hi All, >> >> I was thinking about file descriptors in the context of Plan 9. On Unix an >> fd is gen

[9fans] fd and /srv filesystem

2023-10-04 Thread Chris McGee
Hi All, I was thinking about file descriptors in the context of Plan 9. On Unix an fd is generally only usable by the current process, and child ones through a fork with some special incantation if one wants to communicate one over a domain socket. This is possibly for security reasons, avoiding

[9fans] Can acme directory listings be customized through plumber?

2021-09-15 Thread Chris McGee
Hi All, I heard somewhere that it should be possible to customize directory listings in acme via some plumber rules. I'm hoping to append the contents of a file if it exists in a particular directory below the listing. I'm new to plumber and curious if this is possible. If so, where might I look

Re: [9fans] Drawterm GPU (was: Software philosophy)

2021-08-22 Thread Chris McGee
I was thinking that another way to get access to GPU across other OSes, chipsets, etc. might be WebGL. I was going to try with one of the web frontend drawterms out there (maybe aiju's) would be a reasonable starting point to expose a gpufs and model how it would work such that someday it could be

Re: [9fans] Plan9 and Pine

2020-04-28 Thread Chris McGee
Thanks everyone for the ideas, background and links to add to my research. Cheers, Chris -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tca918503d5b19459-Ma961623aed6f9538e324bc9e Delivery options:

[9fans] Plan9 and Pine

2020-04-14 Thread Chris McGee
Hello All, I'm not sure how many on here are aware of the Pine SBC's. There are a few different variants of those. Now there are even pre-built laptops and a phone. There is a plan for a tablet too. https://www.pine64.org/ >From what I can tell the hardware is well documented, inexpensive and

Re: [9fans] a simple graphical application in Go?

2020-04-04 Thread Chris McGee
You can try this Go library by mischief and some examples in the cmd package: https://bitbucket.org/mischief/draw9/src/default/ Last I recall, it worked fine on 9front. I'm not sure about the other variants. Cheers, Chris On Sat, Apr 4, 2020 at 9:54 AM Kim Lassila wrote: > Has anyone written

Re: [9fans] PoE Support for Plan9 on RPI 4B/3B+?

2020-03-24 Thread Chris McGee
I can vouch for the fact that the Pi 1,2 and 3 work fine with a simple 12W 10/100 PoE network/power splitter. They work fine with 9front as it is mostly transparent to the OS as far as I can tell. Chris On Mon, Mar 23, 2020 at 5:23 PM Skip Tavakkolian wrote: > The PoE hat shouldn't need any

Re: [9fans] Ottawa Spring 2020

2019-11-11 Thread Chris McGee
I live nearby and was considering attending BSDCan this year. How many people do we think might be in the city around that time and interested in a get-together? I think I count 3 or 4 at the moment. There seemed to have been some interest about Plan 9 on Twitter among the BSDCan groups when I

Re: [9fans] Request for (constructive?) comments: Plan 9 : 2020

2019-10-30 Thread Chris McGee
This sounds good to me, either Ottawa or Montreal. I've never been to BSDCan. Could the meetup be part of the conference itself or would it need to be separately arranged? On Tue, Oct 29, 2019 at 4:03 PM Dave MacFarlane wrote: > On Tue, Oct 29, 2019 at 3:44 PM Lyndon Nerenberg > wrote: > > > >

Re: [9fans] Request for (constructive?) comments: Plan 9 : 2020

2019-10-29 Thread Chris McGee
It's really great to see this kind of activity. I am unlikely to be able to come unless it is north eastern US or Canada, maybe Toronto or Montreal. I know of at least one other Plan 9 tinkerer in the area. -- 9fans: 9fans Permalink:

[9fans] Pine64

2019-09-06 Thread Chris McGee
Hi All, The Pine64 group is working on cheap and documented hardware for a variety of form factors from compute modules to SBC and even laptops, tablets and phones. https://www.pine64.org It's all Arm 64. Has anyone managed to get Plan 9 running on one of these? It looks like they are interested

Re: [9fans] Plan9 on radpberry pi zero ?

2019-08-24 Thread Chris McGee
Has anyone tried putting Plan 9 on one of these MIPS based SoC’s? https://vocore.io/v2u.html The hardware is supposedly open, which might make it easier to work on drivers. Chris

Re: [9fans] Understanding /dev/draw

2019-04-18 Thread Chris McGee
Thanks David, you have saved me a bunch of work. If I were to fix/extend the project would you be interested in the changes or should I just fork it? On Thu, Apr 18, 2019 at 4:37 PM David Hoskin wrote: > > Does anyone know if David is still active in this space? > > Hi Chris, > > I'm still

Re: [9fans] Understanding /dev/draw

2019-04-18 Thread Chris McGee
Hi All, I managed to get it running after all of these years. In case anyone tries it again here's a few things that I had to do to get it to work on the latest 9front. * Copy the latin1.h header file from the bell labs distribution and copy it into /sys/src/9/port * Run ip/httpd/httpd -w

Re: [9fans] Understanding /dev/draw

2019-04-18 Thread Chris McGee
ult/ > > On Thu, Apr 18, 2019 at 7:36 AM Chris McGee wrote: > >> Hi All, >> >> I'm looking at creating an alternate filesystem for /dev/draw, /dev/mouse >> and /dev/kbd that hooks up to a web server providing HTML interfaces (e.g. >> canvas) for Plan 9 UI. I've

[9fans] Understanding /dev/draw

2019-04-18 Thread Chris McGee
Hi All, I'm looking at creating an alternate filesystem for /dev/draw, /dev/mouse and /dev/kbd that hooks up to a web server providing HTML interfaces (e.g. canvas) for Plan 9 UI. I've been reading over the manual pages, which are quite detailed, which is great, but there are some points of

Re: [9fans] UI design | enhancements.

2019-04-15 Thread Chris McGee
Hi Darren, Your goal seem to be to make the system less daunting for new users. I think there are a number of ways to accomplish this. Dressing up the UI and/or making it more like popular used interfaces might be one way to make new users feel more comfortable. One concern with doing this is

Re: [9fans] any git client?

2019-02-03 Thread Chris McGee
There is the beginnings of a client written in Go here that should work in Plan 9. https://github.com/driusan/dgit I have heard rumours of a port libgit2 somewhere. Chris > On Feb 3, 2019, at 9:32 AM, Mayuresh Kathe wrote: > > Is there any Git client available under Plan 9? > If not, is

Re: [9fans] Raspberry Pi 3 B+ image of 9front

2019-01-05 Thread Chris McGee
I have been intending to try out the new raspberry pi updates too for 9front, but haven't had the chance yet. A couple of years ago I was building the sd-card images for my raspberry pis by using qemu to bring up an x86 install of 9front and doing a cross-compile within to build the new disk

Re: [9fans] Plan 9 potential target ports (Was: PDP11 (Was: Re: what heavy negativity!))

2018-10-12 Thread Chris McGee
> I do recall, vaguely, an Olimex comment about graphics being more > accessible, but I did not make a note, the little that stuck was that > some hardware manufacturer had embraced a slightly better standard > than VESA, or some such. There may be some hardware out there that > does not have

Re: [9fans] plan 9 : any pager?

2018-10-03 Thread Chris McGee
I like how the pager (page) actually shows a page on the screen with the text you pipe to it. There's some real truth in the name. On Wed, Oct 3, 2018 at 12:34 AM Mayuresh Kathe wrote: > thanks nick. > > On Tue, Oct 02, 2018 at 08:23:47PM -0700, Nick Owens wrote: > > the pager is p(1). > > On

Re: [9fans] Is Plan 9 C "Less Dangerous?"

2018-09-06 Thread Chris McGee
Thanks Richard, This looks like it fits the bill: open, small, simple. How was it formally verified? This doesn’t seem to need any of the chisel/scala suff, which is great. How can I help with the compiler port? Which fpga board do you recommend? Chris On Sep 6, 2018, at 1:48 PM, Richard

Re: [9fans] Is Plan 9 C "Less Dangerous?"

2018-09-06 Thread Chris McGee
> What one wants is Plan 9 as a > model for what may be a family of hardware APIs. It makes sense to > promote massive parallelism, but the API to it should be sufficiently > simple for a single individual to manage. > This is the what I wonder about. Is this possible at the hardware level and

Re: [9fans] Is Plan 9 C "Less Dangerous?"

2018-09-05 Thread Chris McGee
> Take a look at greenarraychips.com and how Chuck Moore tries to > simplify the whole instead of software or hardware. > Thanks, that is a very interesting read on the topic of asynchronous and highly parallel computing. I'm not sure if the designs for these are very simple though.

Re: [9fans] Is Plan 9 C "Less Dangerous?"

2018-09-05 Thread Chris McGee
> Wasn't that the whole point of RISC? > It could be, but after having looked briefly at the size of the design for RISC-V Rocket and especially BOOM I wonder if it's all overly complicated. They even built their own high level hardware language (Chisel) that generates Verilog using Scala. Yuck.

Re: [9fans] Is Plan 9 C "Less Dangerous?"

2018-09-04 Thread Chris McGee
> I believe that the core of the problem with the C language is that is > based upon abstracting the PDP-11 instruction set. CPUs, such as Intel/AMD > x64 are vastly more complex so "optimising" C compilers are trying to make > something simple take advantage of something far more complex.

Re: [9fans] Is Plan 9 C "Less Dangerous?"

2018-09-04 Thread Chris McGee
> > Could even be that the many-eyes approach encouraged the complexity; > > in fact, that could easily be the unintended consequence. > > I suppose it made complexity seem less bad, for a while, but I was > thinking economic factors likely drove it to get more complex. Also, I get > the

Re: [9fans] Is Plan 9 C "Less Dangerous?"

2018-09-03 Thread Chris McGee
Thanks everyone. This is pretty much what I expected was the case. I just wanted to confirm my understanding. Plan 9 C was re-engineered with some focus on readable code. Readability is expected to make bugs more apparent, making it less “dangerous.” Linux is so huge and hard to read that even

[9fans] Is Plan 9 C "Less Dangerous?"

2018-09-02 Thread Chris McGee
Hi All, I'm reading this article about how they are going through the giant heaping pile of Linux kernel code and trying to come up with safer practices to avoid the "dangers" of C. The prevailing wisdom appears to be that things should eventually be rewritten in Rust some day.

Re: [9fans] Acme create new file

2018-05-13 Thread Chris McGee
> it with button 2; or type B filename as a command in that directory in a win > frame or rio window. > > >> On 13 May 2018 at 02:22, Chris McGee <newton...@gmail.com> wrote: >> Hi All, >> >> I’ve been using acme for a while and really enjoying the capab

[9fans] Acme create new file

2018-05-12 Thread Chris McGee
Hi All, I’ve been using acme for a while and really enjoying the capability in such a small (code size) tool. I’ve been creating new files by executing New to create a new window, typing the full path of the new file and then Put to save it. Am I missing an easier way to do this, perhaps via

Re: [9fans] how to undo in Rio shell window and Acme editor?

2018-05-09 Thread Chris McGee
There’s a ‘win’ command you can executed in acme to get an interactive rc shell window. > On May 9, 2018, at 11:40 AM, 刘宇宝 wrote: > > Great thanks for your idea, file oriented design is very flexible! The > prompt function may be used to automatically backup the output of

Re: [9fans] There is no fork

2018-02-12 Thread Chris McGee
Thanks everyone. This thread has been a fascinating read for me. Chris

Re: [9fans] Backgrounding a task

2017-10-24 Thread Chris McGee
> Think about multiple processes owned by multiple users running on a > cpu server. Which processes should be allowed to join which > namespaces? > > Perhaps allowing only the hostowner to join namespaces for debugging > and administration purposes would be acceptable. Ah, right. What about

Re: [9fans] Backgrounding a task

2017-10-24 Thread Chris McGee
The namespace join facility looks interesting. Do you have a patch somewhere for it? > Of course, a lot of the isolation that per-process namespaces give you > is suddenly undone by the introduction of this facility. I'm not sure if the lack of isolation is any different than what can be done

Re: [9fans] Go 1.4.3 compilation on Raspberry Pi

2017-10-11 Thread Chris McGee
There are some binaries available here if you want to use them to bootstrap: http://www.9legacy.org/download.html Chris On Oct 11, 2017, at 6:13 AM, Richard Miller <9f...@hamnavoe.com> wrote: >> I am trying to compile Go 1.4.3 on my Raspberry Pi following David's >> instructions on

Re: [9fans] Backgrounding a task

2017-10-07 Thread Chris McGee
an output for rc. > >> On Fri, Oct 6, 2017, 4:34 PM Chris McGee <newton...@gmail.com> wrote: >> Hi All, >> >> When I'm using Unix, there's a workflow that I use for long running commands >> that I'm hoping to find the equivalent in the Plan 9 w

[9fans] Backgrounding a task

2017-10-06 Thread Chris McGee
Hi All, When I'm using Unix, there's a workflow that I use for long running commands that I'm hoping to find the equivalent in the Plan 9 way of doing things. I will occasionally run a command, realize that it will take a long time to complete. I don't want to kill it. I'll just Ctrl-Z and bg

[9fans] Test, please ignore

2017-03-31 Thread Chris McGee
Test

Re: [9fans] git client-ish

2016-12-05 Thread Chris McGee
Thanks for setting this up. It's going to be really helpful for my work. Cheers, Chris > On Dec 5, 2016, at 12:14 PM, Dave MacFarlane <driu...@gmail.com> wrote: > >> On Sat, Dec 3, 2016 at 8:12 PM, Chris McGee <newton...@gmail.com> wrote: >> >> The tests

Re: [9fans] git client-ish

2016-12-03 Thread Chris McGee
Thanks for the tool. I managed to get it working on plan9front/386 Go 1.8 beta1 with a network connection. I will probably try it soon on plan9/arm. Initially, it did not compile. Here are the quick fixes that I needed to make. 1) There is no syscall.Stat_t on plan9, instead the stat.Sys()

[9fans] New 9front image for raspberry pi

2016-11-29 Thread Chris McGee
Hi All, I have published a new version of 9front image for raspberry pi. This version has a draft of an interactive tutorial in acme. I hope that it can help new people like myself to discover some of the basics of the system. https://github.com/sirnewton01/rpi-9front/releases/tag/nov2016-4

Re: [9fans] Using plot(1)

2016-11-27 Thread Chris McGee
Thanks, > not sure what you mean by pipe the output, if you want to save the graph > you need to do that by grabbing the window, there could be things like > gifplot which render the plot command stream into a gif, but it doesn't (yet). Yes, this is what I was after. I'll try fetching the

[9fans] Using plot(1)

2016-11-26 Thread Chris McGee
Hi All, I’m trying graph and plot out. I have some questions. Is there a way to pipe the output of plot or do I need to pull that out of the screen/window buffer? Also, is there a way to plot on top of an existing image? I tried making a simple plot routine to draw a red unit circle with x and

Re: [9fans] Trouble finding current window directory in acme

2016-11-26 Thread Chris McGee
Thanks, that will work. Chris > On Nov 26, 2016, at 12:56 PM, Antons Suspans <an...@ml.lv> wrote: > > On Sat, Nov 26, 2016 at 12:41:21PM -0500, Chris McGee wrote: >> How does one get the /dev/acme/acme directory to be present in a normal >> document window? Alternati

[9fans] Trouble finding current window directory in acme

2016-11-26 Thread Chris McGee
Hi All, I’m in the process of writing an interactive tutorial for plan9/acme. I’m hoping to demonstrate how to execute a command on a text file that uses the current selection as input. According to the acme manual page there should be a /dev/acme/acme (or /mnt/acme/acme) directory that

Re: [9fans] How to take a portion of a screenshot

2016-11-23 Thread Chris McGee
I tried to write an rc script that would make a screen video as an animated gif. I have something that almost works, but ran into a few problems/limitations. * I can’t seem to find a way to have an incrementing loop counter in rc shell (best I could do is check the size of a growing list

Re: [9fans] How to take a portion of a screenshot

2016-11-23 Thread Chris McGee
Thanks Richard, That is the kind of thing I was looking for. And yes, it's one of the reasons I'm liking plan 9. Each piece does one thing we'll. Chris On Nov 23, 2016, at 11:06 AM, Richard Miller <9f...@hamnavoe.com> wrote: >> I'm working on some documentation and would like to include a

Re: [9fans] Plan 9 5th Edition

2016-11-21 Thread Chris McGee
This one might be adapted to work for gitlabs. It only supports read only type commands: clone, checkout, pull. http://9legacy.org/9legacy/tools/git It could be a start. Chris > On Nov 21, 2016, at 10:08 AM, Wes Kussmaul wrote: > > > > On 11/21/2016 03:46 AM, Sigrid

Re: [9fans] Plan 9 5th Edition

2016-11-20 Thread Chris McGee
I like the idea of focusing on the functionality, not specific software, that could go into a 5th edition. It seems that stepping back and rethinking popular industry trends led to some of the unique and interesting decisions that gave us plan9 in the first place. Here is what I'd like to see

Re: [9fans] Plan 9 5th Edition

2016-11-17 Thread Chris McGee
There's also Gogits. https://github.com/gogits/git I haven't tried it yet. Chris > On Nov 17, 2016, at 11:16 AM, Dave MacFarlane <driu...@gmail.com> wrote: > >> On Wed, Nov 16, 2016 at 6:53 PM, Chris McGee <newton...@gmail.com> wrote: >> For git, there's a wrappe

Re: [9fans] Plan 9 5th Edition

2016-11-17 Thread Chris McGee
ast builds > (or used to). > >> On Thu, 17 Nov 2016 11:16:20 -0500, Dave MacFarlane <driu...@gmail.com> >> wrote: >> >>> On Wed, Nov 16, 2016 at 6:53 PM, Chris McGee <newton...@gmail.com> wrote: >>> For git, there's a wrapper script for github a

Re: [9fans] Plan 9 5th Edition

2016-11-16 Thread Chris McGee
A C compiler that supports the latest spec would be nice as long as it doesn't sacrifice compile times. I like how quickly the system can recompile itself. Maybe extend pcc to include new features? Go works pretty well and is on its way to be a supported platform. I use it quite frequently on

Re: [9fans] Hack font for plan9

2016-11-16 Thread Chris McGee
Thanks for checking it out. I'll check the tool for sizing problems. Chris On Nov 16, 2016, at 9:27 AM, Steve Simon wrote: >> I have converted the open source font called Hack to plan 9 font format. > > Thats nice, not sure if I will switch, I will try it for a week or

[9fans] Hack font for plan9

2016-11-15 Thread Chris McGee
Hi All, I have converted the open source font called Hack to plan 9 font format. It's designed to render source code and is working well for me. https://github.com/sirnewton01/plan9-font-hack/releases I used the this tool to convert it. https://github.com/sirnewton01/ttf2plan9 I hope that

Re: [9fans] Making available a pre-compiled go binary for Miller's plan-9 Pi image (Chris McGee)

2016-11-13 Thread Chris McGee
Thanks David, Will you add new Go releases there as they come out so that we can bootstrap from previous releases? Also, the Git script is working quite well for me. Thanks for that too. Chris > On Nov 13, 2016, at 1:07 PM, David du Colombier <0in...@gmail.com> wrote: > > I've updated the Go

Re: [9fans] 9front on raspberry pi

2016-11-07 Thread Chris McGee
> On Nov 7, 2016, at 6:44 AM, arisawa wrote: > > by the way I said about raspi 1 >> the display size is 1920x1200. >> when I try to resize a window, the mouse cursor flips and it is difficult to >> resize. > This phenomenon was stopped when I connected lan cable. > I

Re: [9fans] 9front on raspberry pi

2016-11-06 Thread Chris McGee
Hi All, I have cleaned up some of the concurrency code and USB. The new release is here: https://github.com/sirnewton01/rpi-9front/releases/tag/nov2016-2 Thanks, Chris

Re: [9fans] 9front on raspberry pi

2016-11-02 Thread Chris McGee
Apologies Richard for misspelling your last name. Chris > On Nov 1, 2016, at 9:35 PM, Chris McGee <newton...@gmail.com> wrote: > > Hi All, > > I have released an experimental 9front raspberry pi image that I use for my > cluster. > https://github.com/sirnewton01/

Re: [9fans] 9front on raspberry pi

2016-11-02 Thread Chris McGee
Thanks, I'm thinking that could be related to USB problem making the mouse jump around. Chris > On Nov 2, 2016, at 8:05 AM, arisawa <aris...@ar.aichi-u.ac.jp> wrote: > > hello Chris, > >> 2016/11/02 20:17、Chris McGee <newton...@gmail.com> のメール: >> &g

Re: [9fans] 9front on raspberry pi

2016-11-02 Thread Chris McGee
> but something weird. > term% mount -a '#G' /dev > mount: can’t open '#G': permission denied > I don’t know the reason. Maybe you want to use bind instead? > > using large display is frustrating... > my portable HDMI display of 1280x800 works fine. > What's wrong with the large display?

Re: [9fans] 9front on raspberry pi

2016-11-02 Thread Chris McGee
unsteady on usb device. usb keyboard is sometimes accidentally >> detached. >> >> >>> 2016/11/02 14:05、arisawa <aris...@ar.aichi-u.ac.jp> のメール: >>> >>> thanks, i will try. >>> >>> is this for pi1 or pi2 or both? >>>

Re: [9fans] 9front on raspberry pi

2016-11-02 Thread Chris McGee
times accidentally > detached. > > >> 2016/11/02 14:05、arisawa <aris...@ar.aichi-u.ac.jp> のメール: >> >> thanks, i will try. >> >> is this for pi1 or pi2 or both? >> >>> 2016/11/02 10:35、Chris McGee <newton...@gmail.com> のメール: >&

[9fans] 9front on raspberry pi

2016-11-01 Thread Chris McGee
Hi All, I have released an experimental 9front raspberry pi image that I use for my cluster. https://github.com/sirnewton01/rpi-9front/releases/tag/nov-2016 Highlights: -Latest 9front release 2016-10-27 -Merged in Richard

Re: [9fans] Making available a pre-compiled go binary for Miller's plan-9 Pi image (Chris McGee)

2016-11-01 Thread Chris McGee
fine afterwards. Chris > On Oct 30, 2016, at 9:47 PM, Stanley Lieber <s...@9front.org> wrote: > > Chris McGee <newton...@gmail.com> wrote: > >> I tried this command with both go 1.7.3 and master branches. Both fail >> right after “ Building packa

Re: [9fans] Plan9 usage but used to parallel MPI on linux..

2016-10-30 Thread Chris McGee
I would be interested in manuals or papers on this subject as well. Plan9 is well suited to distributed computing with its per process namespaces and network transparent resource access. Do grid computing projects built on plan9 use the built-in OS facilities such as cpu and 9p or do they

Re: [9fans] Making available a pre-compiled go binary for Miller's plan-9 Pi image (Chris McGee)

2016-10-30 Thread Chris McGee
I tried this command with both go 1.7.3 and master branches. Both fail right after “ Building packages and commands for host, plan9/386” with an error “install: ./install not found.” It seems like the go bootstrap tool is trying to call a binary called “install” but there are none on my

Re: [9fans] Making available a pre-compiled go binary for Miller's plan-9 Pi image (Chris McGee)

2016-10-29 Thread Chris McGee
To cross compile with make.rc do you just set GOARCH and GOOS and just run it? > On Oct 29, 2016, at 2:46 PM, David du Colombier <0in...@gmail.com> wrote: > > > Maybe cross compile isn't working with Go on plan9 yet? > > I don't know about bootstrap.sh, but cross-compiling works fine on Plan 9

Re: [9fans] Making available a pre-compiled go binary for Miller's plan-9 Pi image (Chris McGee)

2016-10-29 Thread Chris McGee
Thanks David, These binaries are great as a starting point to compile newer versions of Go. I almost fully automated the preparation of my 9front rpi sd card images. Cross compiling from plan9 386 to plan9 arm using the bootstrap fails with this error: Install: './install' not found Maybe

Re: [9fans] Making available a pre-compiled go binary for Miller's plan-9 Pi image

2016-10-28 Thread Chris McGee
Thanks David, I will give this a try. Chris On Oct 28, 2016, at 2:58 AM, David du Colombier <0in...@gmail.com> wrote: >> you have to have an n-1 version of Go to compile n > > You have to bootstrap from Go >= 1.4. > > If you want to build the current Go source from scratch on plan9/386, >

Re: [9fans] Making available a pre-compiled go binary for Miller's plan-9 Pi image

2016-10-27 Thread Chris McGee
I was thinking about this myself. I'm more in favour of a script that downloads the go source and compiles it since it seems to be more in the spirit of plan9. The trouble is that Go has made it harder to do now that you have to have an n-1 version of Go to compile n. This started with 1.5 but

Re: [9fans] libtask

2016-10-18 Thread Chris McGee
on of the go-p9p, it says "A modern, performant 9P > library for Go.". I'm guessing "modern" refers to being implemented in Go. > Any pointers on how performance was measured or what it was measured against? > > > >> On Tue, Oct 18, 2016 at 11:32

Re: [9fans] libtask

2016-10-18 Thread Chris McGee
If you're interested in Go, this 9p library has worked reasonably well for my servers. https://github.com/docker/go-p9p > On Oct 18, 2016, at 1:31 PM, Iruatã Souza wrote: > > https://github.com/iru-/lua9p > >> On Thu, Oct 13, 2016 at 3:47 PM, yy

Re: [9fans] 3D graphics as a filesystem

2016-10-12 Thread Chris McGee
gt; if 9p file exists it supports mode of that name to transfer to gpu. It helps > if you have DooM handy to try writing it in rc. > > >> On Oct 12, 2016 4:06 PM, "Chris McGee" <newton...@gmail.com> wrote: >> Hello All, >> >> I am looking at the specs

[9fans] 3D graphics as a filesystem

2016-10-12 Thread Chris McGee
Hello All, I am looking at the specs for a GPU and was thinking about something analogous to /dev/draw, but for 3D graphics. Kind of like OpenGL except exposed as a filesystem so that it is network mountable and programmed in any language (even rc). Does anyone know if this kind of thing has

Re: [9fans] "The Name Game"

2016-10-07 Thread Chris McGee
Very nice introduction. > On Oct 7, 2016, at 7:05 PM, Skip Tavakkolian > wrote: > > A wonderful and entertaining talk by Charles about key ideas in Plan 9 and > Inferno. > > https://youtu.be/3d1SHOCCDn0 > > Thanks also to Ron for posting it. >

Re: [9fans] Cpu command and namespace

2016-10-06 Thread Chris McGee
Thanks Skip, That's the part I was missing. I thought that the current namespace is preserved after cpu command on the remote. But then I realize that it would be difficult to remap the bin namespaces to a different cpu architecture. I suppose that I can always bind over what I want from

[9fans] Cpu command and namespace

2016-10-05 Thread Chris McGee
Hi All, I tried running a cpu server using aux/listen1 on one of my plan9 machines and running cpu from another to connect to it. I set auth to none for now. When I connected I noticed that the namespace was the local namespace of the server, not the namespace of the client before connecting.

Re: [9fans] 9P - Meaning of iounit

2016-10-03 Thread Chris McGee
Thanks Richard, James, Chris > On Oct 3, 2016, at 11:05 AM, Richard Miller <9f...@hamnavoe.com> wrote: > > term% lookman iounit > man 2 fcall # fcall(2) > man 2 iounit # iounit(2) > man 3 proc # proc(3) > man 5 0intro # 0intro(5) > man 5 open # open(5) > man 5 read # read(5) > >

[9fans] 9P - Meaning of iounit

2016-10-03 Thread Chris McGee
Hello All, I am learning the 9p protocol and implementing a 9P server. After reading the 9p manual page, the types of messages and much of the overview is clear. There are a number of items that are less clear. For example, it took some time to figure out how to provide a directory structure

Re: [9fans] Terminal possibliities...

2016-10-02 Thread Chris McGee
I believe that it is documented somewhere on Russ Cox’s website or on plan9port. Basically, you can hold down the ctrl or alt keys while clicking/dragging to simulate the same action with the middle or right mouse button. I think that chording is possible too by holding down both ctrl and alt

Re: [9fans] Terminal possibliities...

2016-10-02 Thread Chris McGee
Is there any interest in putting these p9port style keyboard modifiers into p9bl or 9front? It might be a good backup for when I don’t have a true three button mouse kicking around. Chris > > Since I'm on a macbook with a one-button touchpad I end up using > the keyboard modifiers plus the

[9fans] 9p - meaning of iounit

2016-10-02 Thread Chris McGee
Hello All, I am learning the 9p protocol and implementing a 9P server. After reading the 9p manual page, the types of messages and much of the overview is clear. There are a number of items that are less clear. For example, it took some time to figure out how to provide a directory structure

Re: [9fans] Terminal possibliities...

2016-10-01 Thread Chris McGee
acks would work. :) > > On Sat, Oct 1, 2016 at 4:59 AM Chris McGee <sirnewton...@yahoo.ca> wrote: > I found some $4 voltage regulators that will convert 18v Lithium ion drill > batteries to power my Pi. Could be useful for field work.

Re: [9fans] Terminal possibliities...

2016-10-01 Thread Chris McGee
> I forgot the thinkpad also has an inbuilt battery. Good for mobility > and against flaky power in development countries. I found some $4 voltage regulators that will convert 18v Lithium ion drill batteries to power my Pi. Could be useful for field work.

Re: [9fans] Terminal possibliities...

2016-09-30 Thread Chris McGee
It would be interesting to hear how this works out in practice. The bandwidth requirement is probably so low compared to typical traffic from a hotel, compared even to smart phones. > On Sep 30, 2016, at 3:49 PM, James A. Robinson wrote: > > Is anyone here using Plan 9

Re: [9fans] Questions on the browser as a platform if plan 9 had gained marketshare

2016-09-22 Thread Chris McGee
Wow, That sounds cool. Thanks, Chris > On Sep 22, 2016, at 6:49 PM, michaelian ennis > wrote: > > Not exactly what you meant but Coraid did implement a something like this > that had 9p on it. Sort of. It was an ARM based PCIe card spoke 9p over > something

Re: [9fans] IP Multicast - Results

2016-09-20 Thread Chris McGee
extra rows for assigned IP addresses. Does anyone know if this is a 9front specific deviation or if the man page is just way out of date? Chris > On Sep 17, 2016, at 7:53 AM, Chris McGee <sirnewton...@yahoo.ca> wrote: > > I recompiled with the latest in hg. I'm still not

Re: [9fans] Questions on the browser as a platform if plan 9 had gained marketshare

2016-09-20 Thread Chris McGee
> Would this be fast enough for what we experienced back then with early > websites, however? What with the stats on how people close or click away from > a tab within N seconds if it hasn't fully loaded yet, I'd think that having > to compile at all could've been prohibitive to people taking

Re: [9fans] Questions on the browser as a platform if plan 9 had gained marketshare

2016-09-20 Thread Chris McGee
I was thinking more along the lines of hardware implementation of 9P minus any OS. For example, a disk serves up a filesystem via 9P or an Ethernet device serving a /net with 9P. Chris > On Sep 20, 2016, at 2:16 AM, David Pick <d.m.p...@qmul.ac.uk> wrote: > >> On 19/09/16

Re: [9fans] Questions on the browser as a platform if plan 9 had gained marketshare

2016-09-19 Thread Chris McGee
If plan 9 had taken off I wonder if there would be peripherals with built-in 9P support. For example, a network adapter that you can mount into /net/etherxyz over USB, PCI using a 9P connection. No driver needed, except to communicate with the bus. Also, external storage (hdd, ssd) with a

Re: [9fans] Questions on the browser as a platform if plan 9 had gained marketshare

2016-09-19 Thread Chris McGee
> > > You just mount search engine, route planning tool, or even shopping site > > and echo commands into the ctl file. > > I hadn't thought of this - was more thinking on the user union mounting, say, > google.com/bin into their bin directory and running a google operation. The > concept

Re: [9fans] Questions on the browser as a platform if plan 9 had gained marketshare

2016-09-17 Thread Chris McGee
Hi, I have been pondering the same kind of thing myself lately. In an alternate bizarro universe, what would the web look like that is modelled more around plan 9 concepts. Heres my fantastic take on this. First, there is a focus on simplicity of implementation and interface over flashiness

Re: [9fans] IP Multicast - Results

2016-09-17 Thread Chris McGee
I recompiled with the latest in hg. I'm still not having success with the multicast. I'm going to start adding debugging to figure out what's going on. Chris

Re: [9fans] IP Multicast - Results

2016-09-16 Thread Chris McGee
Ooh thanks. In hg? Chris > On Sep 16, 2016, at 5:26 PM, cinap_len...@felloff.net wrote: > > updated the code for multicast and promisc mode in nusb/ether... > > -- > cinap >

Re: [9fans] IP Multicast - Results

2016-09-16 Thread Chris McGee
Thanks Alex, Cinap, Right, the Pi uses USB for its built in nic. I wanted to make sure that I have narrowed down where the missing functionality is. It sounds like I need to have a look at how multicast filtering works with supported PCI nic cards and apply that to nusb/ether. Chris

Re: [9fans] IP Multicast - Results

2016-09-16 Thread Chris McGee
Yes, same here. Both are wired directly to a dumb switch using link local addresses. No router. I tried 225.0.0.1 port 1234 on both ends. I cant figure out what the contents of the buffer is. Just random bytes? It is weird that the ifc number gets filled in after pinging the multicast

Re: [9fans] IP Multicast - Results

2016-09-15 Thread Chris McGee
Hi Alex, I tried the mcastsend and mcastrecv on my two raspberry Pis running 9front. Im seeing similar routes as in my own experiment without the interface number, tagged as 4m for IPv4 multicast. I can ping each device from the other using their unicast addresses. Unfortunately, it doesnt

Re: [9fans] IP Multicast - Results

2016-09-15 Thread Chris McGee
Thank you Alex, I will give these a try tonight. I'm happy to hear that multicast can work and it's likely just some silly mistake on my end. Chris > On Sep 15, 2016, at 12:23 AM, Alex Musolino wrote: > > I was playing around with multicast on 9front the other week and >

  1   2   >