Re: [9fans] Binary format

2010-02-17 Thread Stuart Morrow
On 2/17/10, Steve Simon wrote: >> And another important feature of shared libraries is, that when >> some lib is updated, importing programs dont have to be recompiled. >> What's the Plan9 solution here ? > > We recompile the relevant executables. also, plan 9 uses filesystems for many things tha

Re: [9fans] Magic Mouse in 9vx?

2010-02-28 Thread Stuart Morrow
On Sun, Feb 28, 2010 at 3:27 AM, Anthony Sorace wrote: >        The multi-touch stuff added to plan9ports to make the Apple Magic > Mouse work is really nice; I confess I didn't really believe Russ when he > described it as feeling natural, but it does. It's pretty easy to forget > about the mecha

Re: [9fans] more little hardware

2010-03-17 Thread Stuart Morrow
On 3/16/10, John Floren wrote: > Shame it doesn't have a cell phone radio built in, or Ron and I might > have just what we needed for the 9phone. I'm been using the same phone since 2003 - the only phone I've ever owned - so I obviously don't care (or know) much about "smart phones". I don't ev

Re: [9fans] more little hardware

2010-03-17 Thread Stuart Morrow
On 3/17/10, Charles Forsyth wrote: > as to hardware/software: i'm often struck at how badly hardware > designers still misunderstand how the software will want to see things, > and not just on things like the openmoko. I'm often struck at how badly software designers still misunderstand how the u

Re: [9fans] recreational programming of an evening

2010-03-21 Thread Stuart Morrow
On 3/21/10, ron minnich wrote: > What's interesting to me about this is that > I can not imagine even attempting this on any other os or windowing > system. It was just too easy on Plan 9 however. > > ron so, are you basically saying that linux is a complex operating system, and it just takes a

Re: [9fans] APE notes

2010-04-13 Thread Stuart Morrow
On 4/13/10, tlaro...@polynum.com wrote: > - se d(1) does not support single character duplication : \{m,n\}---I Just to clarify, it's Plan9's libregexp that doesn't support {n,m} quantifiers. stuart

Re: [9fans] Persistent font in Acme.

2014-11-06 Thread Stuart Morrow
The way most congruent with the system might be to have $font a 2-variable (like prompt), to have you favourite fixed- and variable-width fonts both settable in the obvious place: your profile. Completely unrelated programs could conceivably reuse this trick.

Re: [9fans] Factotum vs SASL

2014-12-01 Thread Stuart Morrow
> The guy in front of the console should authenticate as a normal user But you do authenticate to Plan 9 as a normal user. On one node you're the hostowner, but to the *system* you authenticate as a normal user. One guy on here lately was actually attaching to his fileserver as none. A "system" is

Re: [9fans] Rc port.

2019-01-24 Thread Stuart Morrow
> feature i would ove: something equiv to a PS1 line so i know what > folder i'm in. Can I do that with $prompt? IIRC, with es you can get persistent history, and control your prompts with arbitrarily complex logic, all without building stuff into /bin/es. You can do it with es code in esmain or y

Re: [9fans] Rc port.

2019-01-25 Thread Stuart Morrow
> I just wanted the shell, not the whole thing You should post it to suckless. I recall a thread years ago discussing what the ‘official’ shell of the suckless project ought to be. Rc went completely unmentioned for at least about half of the thread, although they can’t possibly have been unawar

Re: [9fans] Rc port.

2019-01-25 Thread Stuart Morrow
I take back the stuff where a directory can be a command - it interacts weird with $path: you’d do `..’ thinking it’s the same as `cd ..’, except it’s actually `cd /bin/..’. > is there a buildable version of es any longer? I just found http://wryun.github.io/es-shell/ I’ve never actua

Re: [9fans] Plan9 and Pine

2020-04-14 Thread Stuart Morrow
> then we have a hardware line capable of running it There was never any reason why whoever wanted to do phone stuff couldn't just run 9vx on those Atom phones from Lenovo. -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tca918503d5b1945

Re: [9fans] Plan9 and Pine

2020-04-16 Thread Stuart Morrow
re: Ori. I understood OP to be talking about doing a new, phone-specific UI. -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tca918503d5b19459-M1888d7610bfd5b2e63cb5821 Delivery options: https://9fans.topicbox.com/groups/9fans/subscripti

Re: [9fans] Acme fonts

2020-11-20 Thread Stuart Morrow
a.k.a. twitalics -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T9673b88bfb3c3d3b-Mebf727ef2c439ab357e56fe2 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Re: [9fans] Raspberry Pi 4 stability dependent in RAM

2020-11-20 Thread Stuart Morrow
> Is this lightning bolt a hardware feature? Like, it overlays it on the > display, even on Plan 9? Well yes, but actually no: https://ownyourbits.com/2019/02/02/whats-wrong-with-the-raspberry-pi/ There's an OS involved. Also I ordered a 1GB compute module without thinking of this thread. -

Re: [9fans] Raw ethernet on 9vx

2020-12-09 Thread Stuart Morrow
If you're using the 9front userspace you might want to throw the 9front kernel's port directory at 9vx and rebuild (I haven't tried this). Not that that has anything to do with your current problem. I wonder why it says DHCP failed instead of no success with DHCP. Can't help you with the tun/tap

Re: [9fans] 9Front / cwfs64x and hjfs storage

2021-01-07 Thread Stuart Morrow
On 29/12/2020, sirjofri wrote: > ori's new filesystem What's this? and why is it needed? Hjfs already fixes the worst thing about cwfs already (needing to copy files from one partition to another on the same disk). Though speaking of new file servers, the Irssi /upgrade trick would be good to ha

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

2021-01-14 Thread Stuart Morrow
Try copying the .dtb *and* the start4 and fixup4. -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T0178132f3d2ed689-M9f2c8a9a58f03931b399b823 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

2021-01-15 Thread Stuart Morrow
Might as well note here that the USB on the CM4 is the USB-C on the 4B. A found (just now) forum thread confirms that the CM4 actually has an XHCI and just doesn't expose it at all. Nothing on this in the datasheet. -- 9fans: 9fans Permalink: https://9fans

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

2021-01-18 Thread Stuart Morrow
On 18/01/2021, Mack Wallace wrote: > the Caps Lock and Num Lock keys not functioning. (The caps lock acts like a > control key, num-lock does nothing - I presume it’s a mapping issue). Yeah, they're not supposed to work; see keyboard(6). I don't know the reason; either someone just didn't like lo

Re: [9fans] sam label and rio snarf buffer

2021-07-20 Thread Stuart Morrow
You'll need to reinvent (or change, at least) plumbing if you want multiple editors, be it one per file or one per project. -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tc809ad6007ccd2bd-Mfc05d179050f78c209653739 Delivery options: http

Re: [9fans] sam label and rio snarf buffer

2021-07-20 Thread Stuart Morrow
> Have you seen ptrap(4) in 9front? Yes, Ori mentioned it in 0intro, the Plan 9 podcast -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tc809ad6007ccd2bd-M9582240260310aa609582fc5 Delivery options: https://9fans.topicbox.com/groups/9fans

Re: [9fans] A few more questions about sam

2021-08-06 Thread Stuart Morrow
On 06/08/2021, o...@eigenstate.org wrote: > man 6 regexp: http://man.9front.org/6/regexp I wonder if it would be good if libregexp itself could look for a fixed string the way Plan 9 grep does: '*foo' is foo. I've found myself wanting this in Mothra. Can't remember the circumstance. It might be

Re: [9fans] How to setup wifi on raspberry pi 4

2021-08-11 Thread Stuart Morrow
On 11/08/2021, Richard Miller <9f...@hamnavoe.com> wrote: > /sys/doc/net/net.pdf Heads up: spends alot of time on STREAMS, which are not a part of Plan 9. The FQA also links to that paper with no such forewarning. -- 9fans: 9fans Permalink: https://9fans.

Re: [9fans] OAuth2 in factotum

2021-08-18 Thread Stuart Morrow
On 18/08/2021, Keith Gibbs wrote: > Hell, there are cool things I wish were 9front [unless they were snuck in], > like some of sigrid's keyboard system tweaks and theming hacks. No. The base system would then have two completely different ways to set font. ---

Re: [9fans] OAuth2 in factotum

2021-08-18 Thread Stuart Morrow
> No. The base system would then have two completely different ways to set font. Although looking up the font is pretty centralised (in initdraw) so who actually cares what the specific mechanism is. -- 9fans: 9fans Permalink: https://9fans.topicbox.com/gr

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

2021-08-22 Thread Stuart Morrow
On 22/08/2021, Eli Cohen wrote: > deep learning is another interest of mine too. hardware support is a > big deal for that... some kind of support for GPUs would be nice. > people have discussed that for years... hardware drivers are difficult > and important to do correctly! There's virtio_gpu,

Re: [9fans] porting projects...

2021-09-04 Thread Stuart Morrow
On 04/09/2021, hiro <23h...@gmail.com> wrote: > it's worth doing the plan9 specific protocol anyway. > mainly bec. it could be very simple to implement, between multiple > plan9, given that /dev/mouse is already network transparent. I can't think how Plan 9 would work as a server (as in, the machi

Re: [9fans] porting projects...

2021-09-06 Thread Stuart Morrow
On 06/09/2021, Skip Tavakkolian wrote: > To be clear, the discussion is about sharing a Plan 9 term's > mouse/keyboard with non-Plan 9 machines/displays. I know. See previous post. > The usual way is to layer file-servers to build up the namespace that > you need. I know. > The extended (freera

Re: [9fans] porting projects...

2021-09-06 Thread Stuart Morrow
On 06/09/2021, Paul Lalonde wrote: > It does look like this would need raw mouse state to get the DX/Dy data > instead of absolute screen positions. You could detect when it's at the edge, make it invisible (as screenlock does), make it visible (on the box that doesn't have the mouse plugged in)

Re: [9fans] dp9ik port

2021-09-30 Thread Stuart Morrow
On 30/09/2021, vic.thac...@fastmail.fm wrote: > As it is a 9front specific question, you might consider posting to the > 9front mailing list. No, he's talking about https://9fans.topicbox.com/groups/9fans/Tc82939f1fda0e479-M59dae010f6c9ef6b52216a94/patches-from-9front ---

Re: [9fans] Boot CD chokes

2021-12-30 Thread Stuart Morrow
On 29/12/2021, Sigrid Solveig Haflínudóttir wrote: > 9front wiki has some too, for example: http://wiki.9front.org/unix2plan9 Needs chgrp for chown. -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T5888591114a7cf34-Mbc07198f25bb4b9a140a

Re: [9fans] Boot CD chokes

2022-01-01 Thread Stuart Morrow
On 01/01/2022, vic.thac...@fastmail.fm wrote: > I am simply grateful to see Plan 9 (4th edition),... and other distributions > have an > open-source license. There is comfort knowing we can modify and create. And the older stuff, since to my knowledge it wasn't otherwise available. Space war has

Re: [9fans] acme and sam - mouse suggestions?

2022-03-22 Thread Stuart Morrow
On 01/02/2022, Ben Hancock wrote: > as well but have yet to become adept at the trackpoint. Do you find > you're able to sweep lines as easily using it in acme as with a physical > mouse? A trackpoint isn't a real three-button mouse by Acme's standards. "A real three-button mouse" is something th

Re: [9fans] acme and sam - mouse suggestions?

2022-03-22 Thread Stuart Morrow
> That scroll button nonsense is a function of the Windows driver. On all > Thinkpads the buttons present as a normal three-button mouse, with > left, middle, and right-click. Using a better operating system, or > failing to install the Trackpoint drivers, leads to normal > functionality. I'm awa

Re: [9fans] 9vx

2023-06-26 Thread Stuart Morrow
> Another interesting project would be seeing if it could be > modified to work as a 64-bit binary but still running a 32-bit environment > on the inside... https://pdos.csail.mit.edu/papers/vx32:usenix08/#:~:text=The%20recent%2064,bit%20host%20application. This needs to happen. I'd use it. ---

Re: [9fans] VCS on Plan9

2024-04-19 Thread Stuart Morrow
On Fri, 19 Apr 2024 at 10:09, Edouard Klein wrote: > I love it when I discover that something down on my todo-list has > already been done, [ ... > ... ] > > https://9p.io/wiki/plan9/divergefs/ It's been done *twice*: https://git.sr.ht/~kvik/unionfs -- 9fa

Re: [9fans] 3-button mouse

2010-05-05 Thread Stuart Morrow
Perfit mouse. I've never used one or anything, but it's what the thread asks for. http://www.contourdesign.com/ stuart

Re: [9fans] Good sample GUI code (window creation, management,

2012-12-19 Thread Stuart Morrow
On 12/19/12, Luke Evans wrote: > I'm sure I could search all the sources for various examples of such > things, but does anybody know of a good (preferably concise) sample > that demonstrates the correct way to write GUI apps in Plan 9? Russ Cox had a page full of trivial graphics programs to lea

Re: [9fans] Good sample GUI code (window creation, management,

2012-12-19 Thread Stuart Morrow
On 12/19/12, Dustin Fechner wrote: > Do you mean this site? > http://pdos.csail.mit.edu/~rsc/plan9.html Yep, click.c was the one I was thinking of specifically. I remember reading that - I was a C virgin at the time, I "knew" C but was never really brave enough to try it before I got Plan 9. I

[9fans] What's up with $home? And a security question.

2013-02-23 Thread Stuart Morrow
I'd like to dedicate this email to all the programs that don't know how to expand environment variables. See*, $path is no longer in the environment (more or less): it's a union of all the relevant executables at a known place: /bin. What's a good reason for your home to be in the environment ins

Re: [9fans] What's up with $home? And a security question.

2013-02-23 Thread Stuart Morrow
On 24/02/2013, andrey mirtchovski wrote: > i think you're misunderstanding what private namespaces do, Fuck, yes. Sorry. The idea seemed so perfect in my mind, and so "obvious" that it didn't seem necessary to actually test it. > but rather than explain why nobody else can see your 'local file

Re: [9fans] What's up with $home? And a security question.

2013-02-23 Thread Stuart Morrow
I know that about /tmp. I know devenv too. By the way, have you ever noticed that the *env libc functions only allow accesses to env files with names of length 100 - strlen("/env/") - sizeof '\0', while rc allows names of up to 256 characters? I'm not too concerned about that one, just saying it

Re: [9fans] What's up with $home? And a security question.

2013-02-23 Thread Stuart Morrow
On 24/02/2013, Erik Quanstrom wrote: > When do you expect environment variables to change underfoot? I wouldn't. Just because something stupid _can_ happen doesn't mean it _should_ (you can tab through form fields instead of using the mouse, but then you lose the ability to type a tab...) But I

Re: [9fans] What's up with $home? And a security question.

2013-02-23 Thread Stuart Morrow
Sorry. What I meant was that rc's already-open file descriptors for the pipefile'd file aren't affected by the bind, so for an rc to be affected you need to run a new one. I saw this as being analogous to how it sees environment variables. I'm not interested in environment variables anyway, it'

Re: [9fans] What's up with $home? And a security question.

2013-02-23 Thread Stuart Morrow
So I read in New Scientist one time that being awake for more than a certain amount of hours is the same as being lightly drunk. I shouldn't be on the Internet at all really right now.

Re: [9fans] FAT32 question

2013-03-27 Thread Stuart Morrow
substfs, trfs

Re: [9fans] Fsctotum per user instances?

2013-04-08 Thread Stuart Morrow
Tip: Any time someone says read auth.ps, take it to mean read nauth.pdf; auth.ps; nauth.pdf, where nauth.pdf is the slides at swtch.com In others words, read overview; details; summary. I find the auth stuff to be some of the harder stuff to fully understand, the existence of this thread corrobor

Re: r9 etc (Re: [9fans] V Programming Language (vlang)

2024-10-06 Thread Stuart Morrow
On Sun, 6 Oct 2024 at 05:46, Bakul Shah via 9fans <9fans@9fans.net> wrote: > Though, the plan9 experiment is now over 35 years old. I wish any rewrite (of > a rewrite) would consider how the computing culture has changed since then > and try to address today's challenges somehow. And also conside

Re: [9fans] NIX experience

2024-12-28 Thread Stuart Morrow
On Sat, 28 Dec 2024 at 04:44, Cyber Fonic wrote: > Whilst there are many HPC workloads that are well supported by GPGPUs, we > also have multi-core systems such as Ampere One and AMD EPYC with 192 cores > (and soon even more). > I would think that some of the Blue Gene and NIX work might be rele

Re: [9fans] NIX experience

2025-01-07 Thread Stuart Morrow
On Tue, 7 Jan 2025 at 04:24, Ben Huntsman wrote: > > So basically there's no getting 9vx to work on modern Mac OS (on Intel, I > don't mean ARM)? > > That's truly unfortunate. BoxedWINE exists and works, so I don't see that there can't be a "9pcemu". And yes, "unfortunate" is right - drawterm e

Re: [9fans] NIX experience

2025-01-07 Thread Stuart Morrow
But what about the name collision with the other Nix OS? On Mon, 6 Jan 2025 at 03:57, Ron Minnich wrote: > > I think it's ok to start with NIX, not NxM. > > On Sun, Jan 5, 2025 at 10:45 AM Stuart Morrow wrote: > > > > On Sun, 5 Jan 2025 at 16:39, Ron Minnich wro

Re: [9fans] Virtio 9P driver

2025-01-31 Thread Stuart Morrow
No. Also, 9P.L is not merely "9P with 1000 extra messages" as you might think (https://github.com/harvey-os/harvey/pull/1002), so you'd probably want to translate that in userspace, like it's NFS or something. QEMU, at least, also supports .u. -- 9fans: 9f

Re: [9fans] usb9pfs: network booting without the network

2025-02-11 Thread Stuart Morrow
On Mon, 10 Feb 2025 at 23:46, sirjofri wrote: > I especially also thought of some hardware factotum, a usb thumb drive > which only serves a factotum as a filesystem and can do all the authentication > and security stuff without ever leaving the device. We'd need to figure out > how to store the s

Re: [9fans] usb9pfs: network booting without the network

2025-02-11 Thread Stuart Morrow
Oh yeah, the linux.pdf thing should have been Inferno, too. "Portability" by emulation seems like cheating, but many Linux midwits will eat it up and believe "Linux is portable / Linux is simple / everything is a file" through sheer repetition like how many Americans seem to believe they're a uniqu

Re: [9fans] NIX experience

2025-01-04 Thread Stuart Morrow
> This has been a very interesting discussion, thanks all. My offer > remains: if anyone wants to revive NIX, I am happy to help. Am I the only one who sees that the Fastcall stuff would be good for bringing some devices out of the kernel (that are devs only for performance reasons)? And then, cl

Re: [9fans] NIX experience

2025-01-05 Thread Stuart Morrow
On Sun, 5 Jan 2025 at 16:39, Ron Minnich wrote: > take that 2011 code, bring it to your plan 9 system, and see if But https://github.com/rminnich/nxm has 410 commits after 2011? My understanding was NIX and "NxM" aren't really different things, that they can be understood as just a name change si

Re: [9fans] NIX experience

2025-01-05 Thread Stuart Morrow
On Sun, 5 Jan 2025 at 20:15, wrote: > not sure I have any devices so performance critical that I'd want > to dedicate a core to them. Benchmarks would be interseting. The curried syscall stuff came before the execac stuff. You were the one wanting userspace devdraw.

Re: [9fans] NIX/regen

2025-01-14 Thread Stuart Morrow
Are you aware vmx is inherently single-core On Tue, 14 Jan 2025 at 18:01, Paul Lalonde wrote: > > Credit where credit is due: this is made possible by the outstanding work the > 9front crew have done at making a stable working distribution with all the > bells and whistles - drawterm from my va

Re: [9fans] plan 9 for linux users

2025-02-21 Thread Stuart Morrow
On Fri, 21 Feb 2025 at 00:17, Dworkin Muller wrote: > Plan 9's mostly single-character names, with no > apparent connection to what they correspond to, > have completely flummoxed me more times How is it different from flags? -- 9fans: 9fans Permalink: ht

Re: [9fans] What was the "new graphics model" for Plan 9 going to be?

2025-03-03 Thread Stuart Morrow
I always assumed that was just devdraw. -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tfc8b47278b4115ae-M42fd7b27664f39411382a8f9 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Re: [9fans] acme Newcol question

2025-03-03 Thread Stuart Morrow
Sounds like https://ipn.caerwyn.com/2009/05/lab-95-acme-side-by-side-diff.html -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T3a35d096ff6b0b1a-M6b9398fe6cfbea444f0592de Delivery options: https://9fans.topicbox.com/groups/9fans/subscript