My 2¢ on the subject of native awk.
The only "native" features I have wanted are:
utf-8 clean - honestly I don't know if it is
alreay but my suspicion is that it is not.
an input parsing mode which respects rc tokenizing rules,
this would make things like du -a | a
I did some work on linuxemu last year, trying to extend it to work with the
current
linux kernel API. I am happy to share this if you want it. I have diverged from
cinap's
origional a little but for what are (I feel) good reasons.
As far as I know it emulates only X86 32bit linux on exactly that
Anyone succeeded in getting 9vx to take its root from a remote
plan9 file server? There is a mail from RSC from 2009 but he
indicates it is untested, I was just wondering if anyone got it
to work and have a command like they could share?
-Steve
> 1920x1200 mode on native Plan 9
Not quite there but I use a Dell 2007fp MONITOR at work at 1600x1200x16 driven
from
an NVida GeForece MX-200. Sadly this is has a VGA rather than DVI connector
so its a bit soft. I keep it because I like the fact that the MX-200 is
accelerated which is worth havi
I was always happy with it but when experimenting with another
machine (using the vesa driver) connected to the DVI input of
the monitor - I was shocked by how much better it looked.
-Steve
I wonder if the new gcc will be written in cfront compatible
c++ - that would work... ☺
-Steve
I am intrigued by go but I mostly write embedded code for a day job
and I believe go doesn't really cover that space well. The other
part of my job is image processing which would be apropriate for Go
but my employer has mandated c++ so that is the end of that.
I do have a few honest questions abo
> if mk understood 8c's construct ``#pragma lib "libbio.a"'' and used it to
> link
> correct libraries, it could be said to understand the actual dependencies as
> expressed by code.
> of course, the deeper you go into this rabbit hole, the closer you get to
> something resembling GNU autotool
For the supported hardware list,
I use the 9front broadcom driver with a
vid/did = 14e4/1696
Broadcom BCM5782 Broadcom NetXtreme Gigabit Ethernet
-Steve
> Is it slow only for me?
9p doesn't play very well with high(er) latency networks, so much depends
on router perfornace and the geographic distance between you and the labs.
if you are unlucky enough to have your IP routed over satalite links
the performance will be very poor.
Having said all th
If anyone is interested I have (re)ported rc(1) to linux
together with the few tools that are unique to plan9: p(1)
mc(1) and ls(1).
ls may seem a strange choice but I access Linux over ssh
from plan9 and want to be able to do things like "ls ../port" and
get the files listed with the ../port/ pat
I realise I have misrepresented this work, the Linux port of rc(1)
was Geoff Collyer's work, both the earlier port some years ago and
a recent update which makes the port work again. I provided a minor
patch or two.
There has been a win32.c in the labs distribution of rc(1) for years
but it has ne
Thinking of tackeling ghostscript again but failed at the first hurdle,
it needs autotools to build...
Anyone attempted this?
-Steve
what the subject says, anyone put their venti (those that use it)
on a solid state disk?
-Steve
> Russ Cox wrote a
> mkfile for it when he ported it to Plan 9.
thanks,
yes I looked at ghostscript a year or two ago but they seem
to have changed their directory layout and modifying the mkfile
was not straightforward.
My need is for postscript to pcl6 for the printer we have, currently I
run
> Also, weeks ago I send a mail to cont...@plan9.bell-labs.com without response.
> I would like to share some ape ports and dictionaries for dict.
I don't believe that address is used much any more.
the usual technique is to email geoff at plan9..bell-labs.com
and ask for a contrib directory and
At one time the SSE support in the labs kernel was incomplete,
it contained just enough that people actually needed so its possible
that the full state of sse is not being saved/restored.
I haven't experimented with recent kernels, things may wll have changed,
but it might be somthing to check.
-
> maia% ssh2 mmac
> connect is 0
> Fingerprint: 80 0A FC 62 42 E1 22 5B 81 EE 2D 21 B2 BC EE 75
> Authentication methods: publickey,password,keyboard-interactive
> Authentication by password succeeded.
> Last login: Wed May 29 08:43:52 2013 from maia
>
> -bash$
I do this a lot.
I find p9
> how do you keep all those different regular expressions straight? :-)
This is indeed the biggest pain.
that and searching through the manual of GNU stuff looking for the option you
want,
even the usage seems to run to several pages these days.
-Steve
Linuxemu runs all its linux api emulation inside a note handler,
now it does no specific SSE code (its the linux SSE code that was
troublesome here), but if there are any sse library functions in
plan9 (like memmove) then linuxemu may run them from a note handler.
Just an opinion from a different
What I don't userstand is how do we do better
than anecdotal evidence; unless we write everything
in Z (haeven forbid).
I suppose we have some measures like "XYZfs is simpler
so its less likely to have bugs' or age 'ABCfs is so old
the bugs are more likely to have been be found', but these
are sti
I bought a SuperMicro X7SLA-H a few years ago, 2 1.6Ghz Atoms with 2xGbE,
though only 2GB of RAM. This is my home auth/cpu/file server.
I am very happy with it, it does have a small fan for the glue logic chip
but the cpu is passively cooled. I have this in an mini-ITX case with a pair or
mirrored
I do somthing similar, though my solution is rather crufty.
I connect linux box using ssh from plan9, I also have a sftpfs
session from plan9 mounted at /n/linux
I have my own script called make on a which runs /bin/make and
pipes the output through sed. sed rewrites the absolute paths
(I have to
Hi,
I have a shiny new UK usb keyboard but am unable to use
it as one of the keys cannot be mapped using kbmap (|\);
I'am typing this on a grubby old ps2 keyboard.
The key in question seems to generate 0x0e 0x56 on keydown and
0x0e 0xd6 on keyup. This appears to be exactly this problem:
> A quick fix is to bring up mallocz bits in
> /sys/src/ape/lib/mp/port/libc.h into agreement with the rest.
I would say this is the correct fix.
> Replacing _MALLOCZ back with mallocz within APE realm seems to me a
> better option to consider.
I don't think this is better. APE generally tries v
>> Having said this what about setmalloctag() getcallerpc(), etc etc.
>
>It is internal to the libraries and is not exposed to the APE apps, right?
But because getcallerpc() is not prefexid by an underscore or file scope,
by the "rules" it is poluting the namespace of the APE app.
Its a minor thi
> Short of setting up that 800lb gorilla known as NFS and using Plan 9's
> nfs client, how might one share files on a *nux system with Plan 9?
I use sftpfs from contrib, this needs nothing other than ssh on the
linux box. I used this all day every day and it has been rock solid.
-Steve
Good to know,
BTW, if you get any problems with cifs and I may get time to sort it out.
I also gave an smb2 client on my list but the complications of the auth
it seems to require have halted progress.
-Steve
> I found a quite strange effect with cifs (plan9 bell labs edition).
> I use cifs to mount werc installations from p9p linux servers.
> Cifs is needed here, as the virtual hosted machine does not support nfs.
> Maybe I should switch to another userspace filesystem, but for now its cifs.
> Any n
> Aram's point, obviously, is not that working on nix is insulting.
> Pretending you are a better judge than the whole world on whether
> something is 'ready to be shared' is insulting. Unless you have
> lawyers pointing metaophorical guns at your job, in which case just
> say that.
Good
In case anyone here doesn't knw a few of the papers from the
10th edition where put here http://plan9.bell-labs.com/10thEdMan/
by DMR.
My 2¢ worth - I would be interested to see the source of the raster graphics
command '2500' purely because I have had to do VTR control myself and it would
be amus
Anyone used forsyth's atmel compiler (other than himself of course)?
If so anyone tried building code for an arduino card,
This is the one that appeals to me:
http://store.arduino.cc/eu/index.php?main_page=product_info&cPath=11_12&products_id=245
I just need to do some GPIOs and even a rasberry
Hi all
It has long been an irritation that Brdline returns failure (to match the
end of line token) at end of file if the file does not end with a newline.
This is correct but annoying.
does anyone had a neat snippet of code which ensures we parse the
last line correctly?
For files on the files
Hi,
Compiling open source software with 8c I see:
"reg DI left allocated"
I haven't unpicked the code from all its #defines to see
what is actually causing this, and I assume the answer is just
to simplify the code but done anyone have an explanation as
to what might have happened?
Than
I am not keen on the menu less idea, but being a sam-ista
its not surprising.
I did play with the chording patch to sam but never trained
myself fully. I also find it odd that sam doesn't do the
autoscroll that rio and windows/macos do these days.
Maybe I will have a hack at that somewhen.
I lik
I am trying to build for arm (for my PI) but I cannot
link the linker or the compiler
hugo% objtype=arm
hugo% cd /sys/src/cmd/5l
hugo% mk install
5l -o 5.out asm.5 list.5 noop.5 obj.5 optab.5 pass.5 span.5 enam.5 compat.5
elf.5
lock: undefined: ainc
(813) BL ,ainc+0(SB)
unlock: undefined:
there seem to be some debug prints in the source of sam on sources,
some of which are not actually pushed (in replica's database) yet,
yet others are.
term; sam
fixname: /sys/src/cmd/sam/~~sam~~
fixname: /sys/src/cmd/sam/~~sam~~
getfile: /sys/src/cmd/sam/plan9.c
loadflist: /sys/src/cmd/sam/plan9
Long shot but anyone ever looked at porting vpnc (ipsec + xauth)
to plan9? I'am not sure if it would work with our corperate
network but if it is compatible I might try and find the time
to try a port. I reckon I could steal some bits from sshnet for the
local network endpoint. and graft on a facto
I asked about the linux app VPNC a few days ago, however plan9 already has
an IPsec implementation, it would need (at least) l2tp to speak Windows VPN
and maybe xauth as well (I haven't done much research yet).
Anyone used ipsec and have some example code?
Anyone tried anything similar?
-Steve
Abaco can nolonger follow googles links as they now redirect through
googles own servers so they can "help" you.
anyone fixed abaco to follow such links?
-Steve
> works just fine on 9front
I sould have guessed :-)
I will look at the diffs.
-Steve
Hi,
I have the ac97 driver referenced recently on 9fans
and can report it working nicely on
Intel Corporation ALC850 Realtek AC'97 , 8086/24d5
My only problem is it spells sample rate as 'rate' and
expects it to be written to /dev/audioctl whilst
the usb audio and soundblaster spell it 'speed' an
Don't know if this helps at all but I did an arm build a few weeks ago
and its all working fine.
-Steve
Subject i2c and gpio
I need an i2c driver for plan9, anyone implemented
one in the past and have opinions on what they should
look like?
I have to revisit some old code but I wrote a driver for
another OS which implemeted 255 virtual files in /dev/i2c/*
one for each possible address (well there
Whilst porting some code from the net I came across
the attached, rather obscure, code.
run as:
larch% 8c -D 'STATIC=static' t.c && 8l t.8 && 8.out
7878
larch% 8c -D 'STATIC=' t.c && 8l t.8 && 8.out
0
I think it is tickling a bug in 8c, though
I may be just sh
> this code is not correct. it breaks the anti-aliasing rules.
Yep, I see.
Its pretty crufty code, the original had #ifdefs for big and little endian.
I will see if I can push some nicer code fix upstream.
Thanks for the analysis.
-Steve
Whne I looked at Go - maybe 2 years ago, I could not see why
plan9 would not adopt go's 8c/8l and libbio.
obviously others disagree as they have not been back-ported,
but why not? - I'am not trolling, genuine question.
For me, at the time, go's ability to produce (limited) windows 32bit
executabl
> just downloading a torrent with the mp3's seems simpler
> than swapping cd's. :)
Just beware, in my experience of this (for research purposes,
yes really!) many, if not most CD images in WAV or PCM format
are in fact decodes of MP3s, and many of these where low bitrate
MP3s which are nasty.
per
i don't understand this claim. all standard audio cds are in pcm format.
I was not clear.
If you download wav or raw pcm files via bittorrent et al the tel-l-tail
signature of MP3 encoding can often be found. i.e the files which claim to be
rips
directly from CDs are in fact decoded low bitrate
Sorry everyone,
I should have caught up with the thread before replying.
Its late and I should go to bed.
-Steve
Hi,
In order to get remote access through a firewall I
currently have a script which I run on the inside
of the firewall which posts a file descriptor I
can mount from home.
while(~ true true){
cpu -h home -c 'rm -f /srv/work ; srvfs work /mnt/term ; while() sleep
600 '>[2] /dev/null
There is no usb wifi suppotrt in plan9 (unless you know different).
Surfing around I found a candidate for a reasonable well documented
device if anyone has the time and enthusism.
The RT2571w - a PDF of a datasheet giving register level programming is
on the net, and there is a bare metal embedd
Dues plan9 support the guruplug display,
i.e. can I use one as a terminal.
My Raspberry pi is a revelation, but it would be nice
to have a bit more grunt and Gb ether.
-Steve
I have no desire to develope c++ code on plan9 but if there was a simple way to
cross compile c++ applications for plan9 that would be great - firefox being
the obvious one.
This has been done to death, and the closest we ever came to it (IMHO) was
cinap's linuxemu - this allowed you to run the li
set the tabstop environment var in your $home/lib/profile e.g.
tabstop=8
-Steve
But this is just one major piece among many.
Perhaps for you but not for me, the only thing is really missi s a browser.
Very occasuinally I need to edit word documents but this is rare
enough that I don't really care.
-Steve
> Try the Delete key.
Check keyboard(6) and rio(1).
also note the key does auto filename completeion.
Beware: these are all features of rio, if you have no rio, e.g.
just a text console, none of this works, not even del
(non-labs distributions not withstanding).
-Steve
There is too much to learn, so one must be selective.
Much published is not worth learning.
Plan9 is worthy.
Persevere!
Almost a haiku...
-Steve
PS: Been on the whiskey, sorry. Merry Christmas everyone.
FWIW
vi does run on plan9 - fgb did a curses port and
vim runs under that, various people turn in their graves
if you try to use it however.
there is also a lockable screensaver called screenlock(1)
what kind of MPEG support do you want? Audio support is not bad,
I have a port of an aac audio de
> i have a norio around somewhere
who he?
-Steve
Trying to do a pull today for the first time in ages and dns
doesn't seem to find sources.cs.bell-labs.com any more.
with the GPLing of plan9 as the labs plan9 distribution moved
to google code or sourceforge, and I missed the message?
-Steve
Porting stuff from the net (under ape) which wants to use IEEE floats.
i.e. ieee754_float32_t, powf(), fabsf() and log10f().
I could map these to plan9 floats and call the double version
of the transient functions, but is there a better solution?
-Steve
FWIW I have a Dell keyboard (kb1421), and an IBM/Lenovo mouse (m-u0013-o) and
they work fine on my Pi.
You are connecting them directly to the PI aren't you? - if you want to use a
USB hub
it must be a powered one it seems - the Pi can supply very little current on its
USB interface.
-Steve
i can confirm vic is human and predates LLMs by many years. he has been a
contributor to plan9 for as long as i can remember.
people, be kind.
-Steve
> On 7 Oct 2024, at 5:10 am, vester.thac...@fastmail.fm wrote:
>
> No need for a DeLorean, Eli. This fits perfectly on a CD-ROM. ;-)
>
> http
if you need to synchronise two streams you could timestamp them.
the timestams need not be realtime they could be just an unsigned event number.
applications can then match up the timestamps if they need to.
i am not saying this is a perfect solution, but its an alternative approach.
-Steve
personally i would avoid having curses (on plan9), and all that depends on it -
but perhaps i am too dogmatic.
re cfront
this really is a relic, i never even managed to get vlong support into it
(which in needed for “modern” plan9.
there was a commercial c++ compiler for plan9 at one point, b
do you have ethernet on your embedded systems? i did embedded development using plan9 as my desktop for years. being able to mount the embedded system is a great thing.i just compiled u9fs for the embedded system and it just worked.at one point we had a multiplexed terminal and file sharing interfa
hi,
does the go compiler and runtime work on 9front, specificly, does it work on
the raspberry pi?
thanks,
-Steve
--
9fans: 9fans
Permalink:
https://9fans.topicbox.com/groups/9fans/T6fe601aa30dd8c2b-Mfe15d84b3bb487392d62ac25
Delivery options: https:
an alternative suggestion:
how about writing an app like upas/debug which could analyse your installation
and attempt to diagnose problems (and even suggest man pages to look at).
personally i have found auth/debug very useful, though i still had situations
that it couldn’t help with.
just an
i haven’t tried this but i suspect you can put a single quote in by doubling it.
e.g.
data_matches ‘[abc’’]def’
which should match any of
adef
bdef
cdef
‘def
one of the many wonderful things about plan9 is its uniform escaping and regex
rules
-Steve
---
we could call it 9news :-)
> On 18 Jan 2025, at 11:58 am, Bakul Shah via 9fans <9fans@9fans.net> wrote:
>
> Random thought:
> May be this can be extended/evolved into a "displayPDF kernel", which
> can open up other uses such as a GUI, a better windowing system etc.
>
> I'm sure you guys must
24th, 2025 at 5:04 PM, Bakul Shah via 9fans <9fans@9fans.net> wrote:
I see go1.23.5.plan9-{386,amd64,arm}.tar.gz on go.dev/dl/. Presumably you can cross-build for arm64?See also this long thread: https://github.com/golang/go/issues/57540 On Jan 24, 2025, at 12:23 AM, Steve Simon
a few years ago i brought libsec from 9front over to the 4th edition (richard
miller’s pi port) and used that to give ssh2 some more modern / widely accepted
encryption algos.
it was fairly straightforward, there was an another library dependency though i
cannot remember what now (sorry). it wa
i used foils, a venerable package for plan9 presentations:
http://www.quintile.net/pkg/foils.tbz
i rather liked the look but perhaps it is not to your taste:
http://www.quintile.net/papers/9win-foils.pdf
-Steve
--
9fans: 9fans
Permalink:
https://9fans
have a great time all,
i would be there but its my twin’s birthday,
and then my wedding anniversary.
next time i hope.
-Steve
--
9fans: 9fans
Permalink:
https://9fans.topicbox.com/groups/9fans/Ta7d6598050e24831-Ma9a59954ee350f250f94cce5
Delivery option
if its the libc tokenize(2) then it does shell like tokenizing (rc that is) so you can use single quotes to quote stuff, and a double single quote to embed one single quote.-SteveOn 1 Jun 2025, at 8:41 am, f...@p9f.org wrote:
I just reviewed the code that handles the command line on rpi where sys/
It is very rare that I agree with an email so vehemently!
Sadly I no longer use plan9 (I appear to have become a go programmer on a Mac).
However during the 15 years I used it daily as my desktop I learnt a huge
amount and added/fixed quite a bit.
I miss it and hope to come pack to it one day, i
maybe i am remembering ancient unix but isn't the zero the inter-variable separator?-SteveOn 4 Jun 2025, at 5:37 pm, ron minnich wrote:anyway, I found it, when you do this in rc:x=yrc writes a trailing null. Not sure that's needed, but it's what it does. I'm going to strip trailing nulls in the c
i think you are better off emailing the 9front community. i can tell you how to do this using the labs distro (you just set the environment variable upasname), but 9front’s email is based on the 9atom/coraid code which is rather different.sorry not to be more help,-SteveOn 7 Jun 2025, at 4:11 pm, p
it might be interesting to add coraid’s work to the timeline - their core code
is not released but it begat 9atom. i expect Brantly will be happy to supply
some major releases.
there was also nCube but i know little if what they did (other than make VOD
servers) or anything that might remain fr
901 - 980 of 980 matches
Mail list logo