Re: [9fans] Duff's rc paper: Why awk?

2013-06-11 Thread Rudolf Sykora
plan 9 sed reads a second line before quitting (note the def in the example below); sed does not work. Is there any good reason for this difference between plan9 and gnu behaviour? Thanks! Ruda

[9fans] plumb rule for include files in different directories

2013-06-11 Thread Bence Fábián
i work on a project and i'd like to be able to plumb #includes right source files are in $path-to-project/source/$subsystem/src/ includes are in either $path-to-project/source/$subsystem/intf/ or $path-to-project/intf/$subsystem/intf/ it's quite chaothic i'm trying (at the end of rules) with

Re: [9fans] plumb rule for include files in different directories

2013-06-11 Thread Steve Simon
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

Re: [9fans] Duff's rc paper: Why awk?

2013-06-11 Thread markus schnalke
[2013-06-11 14:24] Rudolf Sykora rudolf.syk...@gmail.com plan 9 sed reads a second line before quitting (note the def in the example below); sed does not work. Erik, thanks for the explanation. However, the man page states: q Quit. Branch to the end of the script. Do not

[9fans] Win starting rc?

2013-06-11 Thread Brian Vito
Is there a way to have Acme's Win command start an rc session rather than bash? Also, is it possible to set the bash prompt to PS1=: {\w} %; if bash is started by Win? Thanks again.

Re: [9fans] plumb rule for include files in different directories

2013-06-11 Thread Bence Fábián
i missed Incl. thank you 2013/6/11 Richard Miller 9f...@hamnavoe.com If you're using acme, the Incl command might be useful.

Re: [9fans] Win starting rc?

2013-06-11 Thread Matthew Veety
On Jun 11, 2013, at 16:09, Brian Vito brian.v...@gmail.com wrote: Is there a way to have Acme's Win command start an rc session rather than bash? Also, is it possible to set the bash prompt to PS1=: {\w} %; if bash is started by Win? Thanks again. Bash was ported to plan 9?

Re: [9fans] Step by step Acme/Mail with plan9ports in Mac OS X Setup

2013-06-11 Thread Rudolf Sykora
On 11 June 2013 18:09, Brian Vito brian.v...@gmail.com wrote: Has anyone prepared a step-by-step guide to setting up plan9port's Acme Mail in Mac OS X? Everything I can find in the archives is incomplete in some way and I haven't been able to figure out how to set things up. I am using lavabit

Re: [9fans] Win starting rc?

2013-06-11 Thread dexen deVries
On Tuesday 11 of June 2013 13:06:15 Matthew Veety wrote: On Jun 11, 2013, at 16:09, Brian Vito brian.v...@gmail.com wrote: Is there a way to have Acme's Win command start an rc session rather than bash? Also, is it possible to set the bash prompt to PS1=: {\w} %; if bash is started by Win?

[9fans] PBSR...EI

2013-06-11 Thread trebol
Hello, The new 9atom iso fails for me the same. But if you finish manually the installation formatting and preparing the 9fat partition, the system boots right (just as erik said). Also, the annoying cpu0:spurious interrupt kernel message is gone (with the iso's 9pcf and with a 9pccpuf

Re: [9fans] PBSR...EI

2013-06-11 Thread erik quanstrom
Maybe this can be of any use for erik and the people working in 9load and Plan 9's kernel. For now that is the only thing I can do, test and report... I hope in the future to be of more help. ah, so the issue is that 9load (on the default install cd) and the non-mp kernel 9pccd have some

[9fans] /dev/draw/new and /dev/draw/n/ctl

2013-06-11 Thread Jeremy Jackins
from draw(3): Each client of the device connects by opening /dev/draw/new and reading 12 strings, each 11 characters wide followed by a blank: the connection number (n), the image id (q.v.) of the display image (always zero), the channel format of the image, the min.x, min.y, max.x, and max.y of

Re: [9fans] /dev/draw/new and /dev/draw/n/ctl

2013-06-11 Thread Federico G. Benavento
it's repl, meaning that if it's non zero the image gets replicated when used as source. a better explanation can be found in draw(2). On Wed, Jun 12, 2013 at 12:56 AM, Jeremy Jackins jeremyjack...@gmail.comwrote: from draw(3): Each client of the device connects by opening /dev/draw/new and

Re: [9fans] PBSR...EI

2013-06-11 Thread lucio
ah, so the issue is that 9load (on the default install cd) and the non-mp kernel 9pccd have some sort of malfunction. i'm glad you tracked this down. Yes, I noted a similar message: PBS...EI (unless my memory fails me) even using the Bell Labs release on VMware, so I reverted to the

Re: [9fans] PBSR...EI

2013-06-11 Thread erik quanstrom
Yes, I noted a similar message: PBS...EI (unless my memory fails me) even using the Bell Labs release on VMware, so I reverted to the most recent bootable disk I could find. I don't know when the problem started, it's been a long time since a booted from a CD. totally seperate