> is anyone working on this or has done a deep dive? it looks doable.
No but it looks intriguing.
-Steve
FWIW I use ssh2 daily to connect to linux machines,
command line and using sftpfs to get file access.
> one problem with ssh2 is the fact that it doesn't do keyboard interactive at
> all
One more - sshnet is not yet ported to ssh2, though this is on my list of
things to do.
-Steve
The short answer is no.
there is the pf9 package which would probably be the
best starting point.
https://bitbucket.org/knieriem/pf9
I have a similar but less complete toolkit myself, and I
still run 32 bit plan9 tools on windows.
-Steve
I have finally got around to porting p9p's stats(1),
I renamed it nstats(1) for now.
It is split into two parts, nstats(1) the GUI, and auxstats(1)
which collects the performance data.
backends supplied for plan9, linux, and windows (at present).
You will need my dos(1) command line access to wi
>03 июня 2014 г., в 18:09, Steve Simon написал(а):
>
>> I have finally got around to porting p9p's stats(1),
>> I renamed it nstats(1) for now.
>
>> http://plan9.bell-labs.com/contrib/steve/nstats.tbz
>
>/sources between .com and /contrib.
Indeed, my ba
Glenda's world weary cousin
https://pbs.twimg.com/media/BpZjUjXIYAIJiua.jpg
-Steve
sadly if fossil overflows it is terminal.
having said this you can refresh your fossil from the last snapshot,
so not everything has gone, but the rule is don't let fossil overflow.
your venti size sounds very big. Perhaps you have a lot of media files,
but remember that duplicate files are merge
> - timesync. i saw this issue one in 2008, so i don't remember much about it.
I think this was a bug in cron. When the time lept forward as timesync corrected
the time at boot cron would try to run all the intervening events and hang the
machine.
cron now ignores time changes if they are big.
> I wasn't thinking "I would need a big venti", more "I only need a small
> fossil". My train of thought was because the fossil size is used to store
> the unarchived files after which they can be gotten from venti that it
> might be practical to only have the fossil be big enough to store the
> m
> if a process exits and is then run again, it will always be re-read
> from storage. (since channel comparisons factor in to finding
> an image.) only if the lifetime overlaps will the cached image be
> used.
The one place where I can imagine lots of cache hits is when running
parallel mk jobs
Subject p9p and writable strings
Anyone built p9p recently, how do you cope with modern gcc
which now places all string constants in a readonly section
in the executable, and there is nolonger an option to prevent it.
the two main offenders I have found so far are mktemp() and cleanname().
In sev
The ones that have bitten me have been ed, du and ls.
I fixed cleanname not to restamp the terminating zero on the string
if its already there which makes cleanname(".") work (for ls).
du's problem is wrapped in String.h issues and I haven't dug any more.
ed is exactly as you say.
I assumed the
Welcome to a clean and simple OS.
At home I run a supermicro dual 330 atom motherboard which
I use as a combined cpu and auth serevr. I think this is a
X7SPA-H-D525 though I honestly don't remember the part and don't
want to open it up to look.
I have a raspberry pi as a terminal - this works wo
> What is your feeling of pi as a Plan9 terminal?
> such as display size, speed etc.
I use ( am using now) a pi for a plan9 terminal.
it is not very quick, I would not compile on it,
but then that is not what a terminal is for.
If you accept that it is only a terminal then it is superb.
It boots
> As I said before, we
> have to save power as possible as we can
I have a dual atom motherboard, a Supermicro X7SLA-H
which is rather old now, but it still works fine.
This is my cpu, auth, file, dns soa, and smtp/imap
server.
It has two mirrored enterprise grade 500Gb drives
from different manu
I am working on linux from my plan9 terminal
quite a bit these days.
If I have some app on linux which spews a lot of
text over the ssh link, hitting interrupt takes a long
time to stop the text.
The problem is not teh interrupt iself but that ssh does not
flush the incomming tcp buffer.
Is ther
It is a shame if there are bugs in eqn - tbl has one or two also
but the source is there and it is all fixable. You could submit a patch.
You mention the DWB eqn (neqn I assume) - the plan9 eqn is (i believe)
a direct descendent of that and the solaris one a cousin so by comparing
code the bug may
There are several plan9 repositories as there are several distribuitions,
however I am pretty sure all these keep in sync with the labs (bell labs)
code so I would suggest you start with that (unless somone else on this list
shouts).
from plan9 its just a case of:
9fs sources
ls /
> I'd rather say that p9p software is the source these days.
I wouldn't agree, p9p is a fork, much stuff gets ported both ways,
though some changes may have been missed.
I still use troff and tbl on plan9, occasionally I use eqn, last week
for the first time in ages.
I know there are some bugs b
> What are the bugs in tbl you found?
Mmm, I was worried you might ask that. I have an old document
that used to layout incorrectly, however I just tried it and it
is now fine - I wonder if the bug has been fixed ☺
The problem I had was a small - 1/23 inch, misalignment of
vertical edges of tab
I have had a look, found a copy of the doc from 1996 and failed to reproduce
the problem.
I withdraw the accusation - tbl you are without bugs.
Sorry for the noise.
BTW: for troff related stuff I should mention http://www.troff.org is a good
resource.
-Steve
> Anyone knows speed controlable SFX power supply?
When I built my home server I tried hard to make it low power and quiet.
I bought a 600 watt "green power" 80% branded PSU.
I also replaced the case fan and cpu fan with Fractal Design Silent fans.
Sadly the cpu fan (I have a dual atom MB) is
> Is it a font issue or something?
exactly.
It is rare to find a unicode font that has _very_ wide coverage,
though some plan9 fonts are better than others in this respect.
This is not somthing I have used much so hopefully someone will
chime in with font suggestions.
-Steve
I want to process some dated logfiles in awk.
gawk has date, strftime and mktime but Brian's does not.
plan9 has date(1) but there is no tm2sec(1), unless it
is called somthing I didn't expect.
Anyone found somting I could not in the plan9 distribution?
-Steve
> I'd be happy to know the results of attempting a gawk port via APE. :-)
Not sure Al, Peter, or Brian would forgive me :-)
Though if memory serves it has been done already.
-Steve
> i'm not sure what your particular problem domain is since you don't say
True.
Strftime is a red herring (sorry), I can use and "date" | getline
to generate pretty much any date string I need.
The issue is more going the other way. tm2sec in awk is quite complex
and hids many pitfalls if you
> seconds(1)
Marvelous, on two levels:
that it exists and I can use it.
that it diodn't imagine it
Thanks Kurt.
-Steve
> to make a hammertime (http://en.wikipedia.org/wiki/U_Can't_Touch_This)
> you can subtract 1990 from parsed date instead.
Oh no.
Thats going to be stuck in my head for hours now ☺
-Steve
Years ago The Commander and Bart Locanthi used JIT
in the form of some C that write machine code into an
array of chars, cast it to a function pointer, and called it.
(I appologise if the details are not correct but this is the idea).
I have a need for such a thing again - trying to speed up
a com
Can you trace this a bit more into cifs?
cifs is one of mine and I use it daily without problems, though I
never migrated from sam to acme, so perhaps I just don't see your issue.
I remember that smb/cifs does have weird timestamps some of which are
only changed on 2 second boundries - though the
FYI
bill and trog are lifted from the names the dossrv file system generates,
I assume bill is Bill Gates and trog is from the film [1], dos and by
association cifs use old file structures which live under a rock.
I needed a last modifier name and chose boyd as a little tribute to him,
a man who
Hi,
My new ISP supports ipv6, so I thought I would have a go.
I know next to nothing about ipv6 and it would be great
to have a /lib/ndb/local to study.
anyone got one they would be willing to share.
Thanks,
-Steve
I am trying to listen to multicast DNS packets
but when I try to configure the IP interface it fails,
what am I missing?
I do this (multicast with promiscuous)
snprint(addr, sizeof(addr), "%s/udp!*!*", Netdir);
if((cfd = announce(addr, dir)) < 0)
sysfatal("%s canno
Hi,
I am still having problems and would be interested if you
have any suggestions.
the BT engineer came and switched me to a different pair
between the DP and the green cab.
This has improved things quite a bit the low bitrates I was seeing
but I am still seeing many disconnects.
Once the engi
I assume you are running the pi as a terminal.
at startup the script $home/lib/profile is run.
at the end of the processing in this (not necessarly the end of the file) it
does somthing like "exec rio -s -i startup". This starts the window manager
and runs the script called startup.
I would
I am fairly sure the problem is to do with RAM size rather than the raspberry
pi per-se.
4000 messages takes up a lot of space - and upas stores messages in RAM.
Personally I save needed mail messages in named archives and try to keep the
number
of messages in my inbox doen to the 10s.
Erik has
> Much as I love Plan9, only a masochist would use it for email
Interesting, thats me then I guess - though I have never
thought of myself in those terms.
I send mail using mail(1)/marshal(1), never had a problem with it.
To receive mail I use faces which I find much more useful
than most modern
Ok,
I don't use acme so most of those issues don't appear for me.
Also, I do run a server so mail is delivered to my machine and I
connect to it from iphones/ipads/etc etc when I want to use
those devcies. Most often I just use plan9 to read mail.
searching in nedmail is more limited I agree, yo
Under plan9 the user who boots a machine has rights to its filesystem,
so unless you are accessing a remote plan9 file server which is running
an auth server I doubt your problems are to do with administration rights.
Somtimes plan9 will produce slightly misleading error messages, permission
denie
Hi,
Definitely not a raspberry pi thing.
I use a raspberry pi at home as a terminal and start auth/fgui from my
startup script just as you are retuing to do.
Try replicating my environment:
Attached are my scripts:
startup - what I call riostart
logwin - starts first terminal
> cpu: can't dial: plan9.lanl.gov: The operation completed successfully.
You using cinap's cpud for windows?
> calendar: can't open /usr/glenda/lib/calendar: '/usr/glenda/lib/calendar'
> does not exist
You just need to create it.
touch /usr/glenda/lib/calendar
see calendar(1)
-Steve
Thought this might be of interest to 9fans, I would do the
port myself if I had the skils and experience but i
don't believe I have.
http://www.bananapi.org/p/product.html
-Steve
Can you send the complete log when sending the email.
You can prevent the window that appears when sending mail
by teaching factotum the passwords for your mail provider.
Just so we can see the complete conversation with gmail
and get a better understanding of what went wrong.
I assume you have
> i've been contemplating making my auth server a 9picpu booting from local,
> but SD reliability is the drawback.
I believe the pi will run with an external flash or hard drive, abet slowly
and using a powered USB hub.
you could boot the kernel from the sd card but mount the external
device ever
> - Plan9: don't enable periodic snapshots in Fossil to avoid it getting
> corrupt
This is no longer true, this long standing bug was fixed about a year ago.
Can you remember where you saw the documentation saying snapshots where
still broken?
-Steve
> is there anyone using plan9 as their only system for development activities?
Not sure if this counts.
I use plan9 at work though most of the code I write is for windows (server
apps),
Linux and embedded, so Plan9 becomes a glofified IDE for me.
Having siad this it is an excellent IDE that is
> I never knew that there was a known bug there:
> got my frist Plan9 this summer.
> I enabled snapshots on my Pi this summer and
> got a corrupt file system within hours.
Ah,
Thanks for the info.
I wonder if this is more to do with flash card reliability and the pi than
fossil
and snapshots
rc using backquote to parse strings, e.g:
hugo% s=`{echo a b c}
hugo% echo $#s $s(1)
3 a
This is fine
hugo% s=`{echo 'a b' c}
hugo% echo $#s $s(1)
3 a
This is also fine, a b and c are just two fields when they
enter echo but they leave the appear t
the compilers use a very simple allocator which is designed for speed
rather than efficiency - as i remember it never frees anything and just
allocates from a heap.
it also works if you use libc's malloc and that will allow you to link big
things
(like gs) on small memory machines. in reality mem
I am trying to parse a stream from a tcp connection.
I think the data is utf8, here is a sample
20 2d 20 c8 65 73 6b fd 20 72 6f 7a 68 6c 61 73
which when I print it I get:
- e s k r o z h l a s
^ ^
missingmissing
the
I am struggling with the plan9 assembler syntax
and its error messages, Anyone spot my silly?
This is my code
TEXTcount_leading_zeros+0(SB),0,$0
MOVLn+0(FP),BX
BSRLBX,AX
MOVL$31,BX
SUB BX,AX
RET ,
which gives
Anyone ported the xz compressor/decompressor which
is gaining traction these days?
-Steve
anyone have an example of doing a simple web page with a POST form,
I want somthing like the wiki, but just a single page of text
that can be edited in a form using a POST method.
on plan9 of course.
I know I am being lazy and I just need to RTFM but if somone has a recipie
already done that work
Thanks Skip, thats great.
-Steve
I have some very un-plan9 3rd party libraries which rely on a
#define to do byte swapping for endianess.
Anyone have a neet recipie for mk to d3etect the
current machines endianess?
I know, I feel dirty just asking but what can I do,
there is too much code to rewrite them properly.
off to get my
A while back there was some discussion of the ether performance of the PI
under plan9 being significantly poorer than under linux.
Did anyone get anywhere looking at this issue?
-Steve
Re: Ether speed
I was just asking in case there was a perfmormance improvment to be had for
free.
To be honest, the ether performance is not really a limiting feature of the
pi for me, if fact the cpu and ether are a fair match for each other.
A significantly faster cpu would upset this balance
I am trying to use some micro sd cards with plan9.
Thse are kingston SDC4/4Gbsp cards (4Gb) for embedded stuff.
usbfat: won't recognise them and usb/disk with debug on grumbles
8.out: startdevs: opening #0 /dev/usb/ep7.0
8.out: opendev 0x4b618 /dev/usb/ep7.0
8.out: /dev/us
I am fairly sure there was multicore support in the MIPS
kernels for the big challange machines they had at the labs.
-Steve
I haven't tried your code (sorry, I tend to use native plan9 as my GUI).
I do remember those days and there was a worthwhile patch to add a scrolling
list of files on the samfans list - I think rob was unhappy with the UI
but it was so useful that plan9's sam got the change; I'am not sure if the
X
See /n/sources/patch/maybe/usb-short-desc
That works a treat,
thanks Cinap, Richard, and Erik.
-Steve
I am on my Pi terminal now.
I have a Dell KB1421 keyboard and an
IBM M-U0013-0 (3 button optical) mouse.
-Steve
If anyone else but me uses it I now have HLS (HTTP Live Streaming)
working in my internet radio app, I have a little more tweeking to do
before I release it but if anyone wants to play give me a shout.
The people most interested are likely to be in the UK where the BBC shut
down their Shoutcast st
Not a solution but this is my hack:
This file is $home/bin/rc/startup, envoked by
'exec rio -s -i startup' in $home/lib/profile
--
#!/bin/rc
rfork e
scr=(`{cat /dev/draw/new >[2]/dev/null || status=''})
height=$scr(12)
y1=`{echo 'int(' $height '*' 0.12 '
I am getting an error from leak(1):
:2: (error) mainmem used but not set
Anyone seen such, understand, or even know where its coming from?
-Steve
> That's ape with ape/pcc, which is ANSI-compliant, not a port of the
> non-compliant base compilers (6c, 8c, etc.).
This is true, however pcc is just a driver that runs cpp and
pipes its output to 8c (assuming you are on a 386).
hugo% cd /sys/src/ape/cmd
hugo%
hugo% pcc
http://www.independent.co.uk/arts-entertainment/films/news/gregory-walcott-dies-the-blameless-actor-who-couldnt-shake-off-being-a-part-of-the-worst-movie-ever-10128828.html?icn=puff-9
-Steve
There was a hook to allow you to use 2 button mice with plan9 which used
(as I remember) the shift key to make button 3 bring up the menu normally
used for button 2.
I cannot make this work any more but I have a usb mouse and keyboard,
perhaps it was a feature of the PS2 mouse/keyboard drievr?
An
hi,
Trying to debug a driver using acid.
none of the mkfiles in /sys/src/9 contain rules
to make .acid files, why?
Does noone use acid -k -l kernel ?
is there a way to generate these files I have missed?
-Steve (confused of Winchester).
Hi,
I want to drive a small (180x32 pixel) VFD display from plan9.
It talks i2c and can be driven as a text or graphics device.
One irritation is it aligns bitmap bytes verticaly. i.e. the display's
memory map appears to be a tradational 32x180 pixel display.
I am going to talk to this from a ras
> wsys: https://bitbucket.org/yiyus/devwsys-prev/
Mmm, not sure this is what I want.
I want the Pi to run plan9, and run a seccond display
(the vfd) on plan9 completely in user space.
It is an interesting project.
Personally I still harbour a wish to get a cpu server
running on windows - probab
I confirm - my old performance is back.
Thanks very much David.
-Steve
Its looking like I may be sintting in fronto of windows for a while
Anyone suggest a version of sam, B, and 9term which works on win64?
I don't think I need any of the other command line tools as I have them already.
-Steve
It would be easy to extend test to add these features,
you could submit a patch if you feel strongly.
To be honest I have never had the need for inequalaties,
perhaps I have been lucky.
-Steve
> Oops :)
> Sorry, I didn't notice that there under the -eq entry.
ditto :-(
As I said, never used em.
-Steve
Where is the one true source of drawterm for windows?
/sys/src/cmd/unix/drawterm ? swtch.com? elsewhere?
-Steve
> https://github.com/0intro/drawterm
This version does populate /mnt/term with c: which the one on swtch.com does
not,
I believe this is because of an old but that caused "ls /mnt/term" to crash
drawterm.
However it doe snot seem to handle cut and paste between windows and plan9
any more.
Anyo
> Are there even enough plan 9 users on earth to generate a "stream" with
> a current strong enough to swim against?
Awww, there are enough of us to make a conga surely...
-Steve
Hi,
I cannot get vmware to work with plan9. The display is either not detected,
and reports
/bin/aux/vga: vgactlw: : bad VGA control message "type
message"
and offers a text install, or it hangs hard.
anyone got plan9 to work (with VmWare workstation 11).
In the meantime I have got v
FWIW I run dns(1) for internet facing DNS, but not for my
internal network, which is why I didn't reply.
I have had only one DNS failure in about 5 years - and that was last week -
it stopped responding to AXFR zone transfer requests.
just a different user experience - it works very well for me.
Not sure what checking you need, you can check your NDB was parsed as you
suspected
by running zonefresh against it and comparing the results with your ndb -
zonefresh
is in my contrib.
-Steve
In case it is of interest I have a json parser in the form of:
/n/sources/contrib/steve/libjson.tbz
there is also
/n/sources/contrib/steve/json.cmds.tbz
Which is just jb - a beautifier ☺
Finally, jirafs - which gives filesystem access to a
Jira fault tracking database. It is a
ftpfs works fine for me.
I tried it against
ftp.sunet.se,
username=anaonymous,
password=your-email-a...@domain.dom
and /n/ftp contains stuff.
Its worth realising ftpfs gets its directory listing by parsing the output
of the ls command in the ftp protocol, so it has parser
nstats in my contrib as promised.
its a slightly modified port of russ's code from p9p that
uses a GUI frontend and an OS specific backend.
I added the OS type and a rough performance guide to the
top line (if the window is wide enough) as we had quite a
few servers on different OSs and it was ve
I need a small computer to bridge two networks.
I thought of a raspberry pi with a usb ethernet dongle.
Anyone tried this? Any suggestions of known working usb
ethernet dongles?
-Steve
> Why do you need a computer, a hub is not good enough?
Its to straddle inside to outside of a restrictive firewall, I want to make
sure no
packets can jump from one to another, however you can import(1) the outside
interface
if you can login from inside (I think I got that the right way round
Anyone stripped rsc's libtask for use on a bare metal embedded system,
I'am about to do it but if somone already has I could steal it.
-Steve
FWIW: fgb did a stirling script called config which sets up some
environment and runs configure under ape. It doesn't always work but often gets
close
to generating a config.h as linux intended.
-Steve
The system I am trying to add libtask to has no runtime other than libc.
Corrently it is an even based system that uses a "min main loop" and
a twisty maze of nested state machines that all look the same.
Hence my desire to add co-routines + channels (i.e. exactly what libtask is)
to it. I have n
I have been very very impressed with the performance of the pi2,
really quite a usable machine - though it is still a terminal.
-Steve
the usb disk driver does not seem to support partitions,
Am I doing somthing wrong, or is that just how it is?
e.g.
cherry% ls /dev/sdU0.0/
/dev/sdU0.0/ctl
/dev/sdU0.0/data
/dev/sdU0.0/raw
cherry% disk/fdisk -p /dev/sdU0.0/data > /dev/sdU0.0/ctl
c
Hi,
Todays problem is getting a USB serial device to work with plan9 on a raspberry
PI.
I have several dongles which seem to reprisent two chipsets.
One is recognised by the USB driver and it starts usb/serial for me,
sadly It just seems to receive a single character constantly.
The other is n
Richard has an i2c and spi driver for the pi. I grafted the inferno i2c file
system interface on top of Richards driver, though the sub addressed reads are
awaiting my return from holiday.
there is a pi gpio and pwm driver which has a pi audio module which sits on
top. this produces strange noi
I have tried to email BLS but fear I am being spam filtered... you there?
-Steve
> On 12 Aug 2015, at 23:27, Brian L. Stuart wrote:
>
>> On Wed, 8/12/15, Skip Tavakkolian <9...@9netics.com> wrote:
>> the gpio pins don't seem accessible through a filesystem api
>> like i see in plan9-bcm (unl
Vncserv must do something similar, maybe that is worth looking at.
I went down a similar route but am planning to just address the display
as a different type of device, rather than as a plan9 display.
Your progress is very impressive, my project stalled - I must get back to it.
-Steve
On 15 A
I upgraded my iphone to ios9 and now cannot access my email on plan9 -
no sniggering at the back.
It seems apple require 1024bit keys for Diffe helman exchanges in TLS,
and DH + RSA is no longer sypported at all.
Primarly this is a warning to 9fans about the perils of ios9
and a vain hope that so
Sorry for not being clear.
The problem is with TLS, and how I noticed is I use imaps (imap4
over a TLS encrypted socket) to access my email which is stored on
plan9.
I can still access my email but only over an cleartext connection,
but this is not wise on the internet these days.
https and pop3
> In Plan 9 a command is needed, that lists recursively all files.
> Not more and not less.
> The du(1) command offers too much.
> I do not want to list the disk usage!
I don't feel this need, though you obviously do.
You could try:
#!/bin/rc
du $* | while(s=`{read})
> How can it be a secret 'society' if there's just one member for each secret
> society?
That, my good man, is the biggest secret of all!
☺
-Steve
In a previous job I put in some quite serious effort to
port SVN to APE, but it is dependent on... well pretty
much everything. I never managed to even get it to compile,
and lost the will to live.
My new employer uses svn but is about to migrate to git so I would
be interested in a port, I might
201 - 300 of 980 matches
Mail list logo