Re: [9fans] rows to cols?

2009-11-13 Thread Lyndon Nerenberg (VE6BBM/VE7TFX)
Is there an easy way to transpose the text so that rows become columns, and vice versa? Delimiter is space. Perhaps in AWK? If Richard's trick won't work, grab contrib/lyndon/transpose.c. It's dog slow (actually, avl(2) is), but its effectively unbounded for the input dataset size. --lyndon

[9fans] arginit and argopt in arg(2)

2009-11-09 Thread Lyndon Nerenberg
arg(2) refers to arginit and argopt in NAME, but neither exists anyplace I can get to (including all version of libc.h in sourcesdump). Are these a holdover from pre-4ed? I lost my 2ed CDs so I can't look back before what's in sourcesdump. --lyndon

[9fans] group ownership for shared devices

2009-11-09 Thread Lyndon Nerenberg
I have a CPU server running as 'glenda' that has a DVD drive. I want to make that DVD drive available to various terminals on the network. But I don't want to put the terminal users into glenda's group. The obvious solution seemed to be to set up a 'commondevs' group, add glenda and the allowed

Re: [9fans] group ownership for shared devices

2009-11-09 Thread Lyndon Nerenberg
or you could write a custom file server with its own group list, like consolefs has. This seems to make the most sense. And it makes it simple to implement (configurable) exclusive open semantics for devices that need it. --lyndon

Re: [9fans] group ownership for shared devices

2009-11-09 Thread Lyndon Nerenberg
This solution didn't work because groups are specific to the file server implementing them. Your CPU server doesn't know about the groups on your file servers and doesn't itself implement any groups. I'm suffering more 2ed-4ed migration brain damage. After reading through some of the assorted

Re: [9fans] dtrace for plan 9

2009-11-03 Thread Lyndon Nerenberg
i was told dtrace was non-intrusive at the time, but w2 would show the command history from w1. More likely this is ksh sharing a history file.

Re: [9fans] automatic page sharing

2009-10-29 Thread Lyndon Nerenberg (VE6BBM/VE7TFX)
contrast /386/bin/sleep, a non-trivial executable, at 4422 bytes on my system — 100x smaller. #include u.h #includelibc.h int main(void){exits(nil);} is 3317 bytes on my atom box.

Re: [9fans] Parallelism is over a barrel(fish)?

2009-10-19 Thread Lyndon Nerenberg (VE6BBM/VE7TFX)
From last week's ACM Technews ... Why Desktop Multiprocessing Has Speed Limits Computerworld (10/05/09) Vol. 43, No. 30, P. 24; Wood, Lamont Despite the mainstreaming of multicore processors for desktops, not every desktop application can be rewritten for multicore frameworks, which means some

Re: [9fans] Barrelfish

2009-10-14 Thread Lyndon Nerenberg (VE6BBM/VE7TFX)
I'm not familiar with the berkeley work. Me either. Any chance of some references to this?

[9fans] vga support for Via Unichrome

2009-10-07 Thread Lyndon Nerenberg - VE6BBM/VE7TFX
Is anyone working on Unichrome vga support?

Re: [9fans] vga support for Via Unichrome

2009-10-07 Thread Lyndon Nerenberg (VE6BBM/VE7TFX)
Besides Unichrome, which CPU, RAM, MB ~bridge chips are you trying to use it with? ISTR having it up on a VIA C3 ~ 700 MHz, 1 GB SDRAM with embedded Unichrome onboard about 2+ years ago.. It's a 1GHz C7 EPIA mini-ITX board, CN400 chipset (I *think* -- I can't get at it right this second

Re: [9fans] /sys/include/ip.h 5c(1)

2009-10-06 Thread Lyndon Nerenberg - VE6BBM/VE7TFX
Varian Data, General Automation, SDS/XDS, DEC, Data General, Honeywell, CDC, GE I don't think DEC deserves this branding. In my experience they were one of the most open hardware companies around. Back when they were still DEC, of course. --lyndon

Re: [9fans] HTTP forwarding with aux/trampoline

2009-09-26 Thread Lyndon Nerenberg - VE6BBM/VE7TFX
is t possible that the path mtu is 1500 bytes? if so, trampoline isn't going to forward icmp messages. Trampoline just copies the sequence of data bytes. It doesn't know anything about IP or ICMP datagrams.

Re: [9fans] 9vx as a perfect proto environment

2009-09-25 Thread Lyndon Nerenberg - VE6BBM/VE7TFX
such as the beagleboard, which are good enough to be a desktop Ethernet? My kingdom for Ethernet on one of those! Is USB Ethernet really viable? It would be nice to hear from anyone actually doing it (with performance numbers). --lyndon

Re: [9fans] awk help; not plan9 matter

2009-09-17 Thread Lyndon Nerenberg - VE6BBM/VE7TFX
The trouble with this is that the same string can appear more than once (before, after the field, ...), so the simple substitution isn't enough. It's sounding like awk is the wrong tool. It should be trivial to code up a short piece of C to do the job.

[9fans] Standalone Hyper-V

2009-09-17 Thread Lyndon Nerenberg - VE6BBM/VE7TFX
Has anyone taken a crack at running a current Plan 9 under Microsoft's standalone Hyper-V distribution? It's been a year and a month since this last came up on the list, and a lot has happened since then ... --lyndon

Re: [9fans] Authoritative Name Server

2009-09-16 Thread Lyndon Nerenberg - VE6BBM/VE7TFX
You don't need to do anything special for BIND to slave from your Plan9 master. I have a BIND slaving from a Plan 9 master without any issues. On the Plan 9 master, start ndb/dns with the -n flag, and add dnsslave entries to /lib/ndb/local for each of your slave hosts. Here are the relevant

Re: [9fans] nice quote

2009-09-07 Thread Lyndon Nerenberg - VE6BBM/VE7TFX
is this english++? i just can't parse it. If we all ignore him he might go away ...

Re: [9fans] nice quote

2009-09-07 Thread Lyndon Nerenberg - VE6BBM/VE7TFX
relax If I want platitudes I have the whole rest of the internet to gorge on. Here we try to do actual content.

Re: [9fans] new sources

2009-08-30 Thread Lyndon Nerenberg - VE6BBM/VE7TFX
Please try it out and see if it looks like sources from your perspective. You may want to change your authdom declaration for outside.plan9.bell-labs.com in /lib/ndb to Geoff, I did a walk of /n/sources/contrib and /n/haggis/contrib, and the latter is missing quite a few files: 48257

Re: [9fans] new sources

2009-08-30 Thread Lyndon Nerenberg - VE6BBM/VE7TFX
Please mail reports, good or bad, to me, not 9fans; there's no need to add to the volume of traffic on 9fans for this. How about we convince the mailing list software to stop inserting Reply-To headers.

Re: [9fans] new 9atom.iso

2009-08-27 Thread Lyndon Nerenberg
There is a searchable mailing list archive at http://9fans/net/archive that's quite useful. --lyndon

Re: [9fans] Getting printing to work over ethernet

2009-08-27 Thread Lyndon Nerenberg
The only relevant documentation I've found on the subject is lp(1) and lp(8), and /sys/src/cmd/lp/. See also /sys/doc/lp.ps --lyndon

Re: [9fans] new 9atom.iso

2009-08-27 Thread Lyndon Nerenberg
no alternate locations. sorry. You sure you don't want me to mirror this stuff?

[9fans] The CW font with Lucidasans

2009-08-27 Thread Lyndon Nerenberg (VE6BBM/VE7TFX)
Mixing \f(CW with '.FP lucidasans' results in text that is wildly out of proportion. To my eye, the CW font needs to be scaled down by about 1.5 points to visually match the surrounding text (at the -ms default point size). I'm curious if this has annoyed anyone else enough that they've come up

[9fans] dformat

2009-08-27 Thread Lyndon Nerenberg - VE6BBM/VE7TFX
Anybody have a copy of dformat online? For the 4th time I've lost mine, and I don't relish typing it in yet again from the Labs TR ... --lyndon

Re: [9fans] dformat

2009-08-27 Thread Lyndon Nerenberg - VE6BBM/VE7TFX
Sweet -- thanks! (That wasn't there the last three times ...) ---BeginMessage--- Anybody have a copy of dformat online? http://www.troff.org/source.html -Steve ---End Message---

Re: [9fans] The CW font with Lucidasans

2009-08-27 Thread Lyndon Nerenberg - VE6BBM/VE7TFX
And then use .EX and .EE around code examples (concept lifted from the man macros). For offset code CW seems fine. My problem involves imbedding CW inline. E.g. .TS tab(#); l0w(.1i) l0w(.1i) lw(.1i) l . \...#/##Message store root. #/1##A message in the root folder. #/2##\f2Ibid.\fP

Re: [9fans] file server?

2009-08-14 Thread Lyndon Nerenberg
This is what we do at Sandia. We have one machine which serves cpu/auth/file, but the actual Venti disks are in a Coraid connected via GigE. The fossil disk is in the server, but if it dies we can just build a new one. Which reminds me of an often overlooked but important point: Save your

Re: [9fans] file server?

2009-08-13 Thread Lyndon Nerenberg
regardless of one's terminal accomidations, i still think it makes a lot of sense to have a stand-alone fileserver. it really does stink if your fs goes down for no reason at all. this is especially true if you're doing a lot of experimenting or don't have a proper terminal. Amen! Three

[9fans] nvram

2009-07-28 Thread Lyndon Nerenberg
Okay, it's authsrv(2) that describes the nvram search sequence. And for whatever reason I had it in my head that these days it was possible to grab the nvram across the wire, which in hindsight makes no sense whatsoever. And now that I think about it, my last (2ed) 'diskless' CPU server had a

Re: [9fans] how to fix: 'arena arenas00 creation time after last write time'

2009-07-27 Thread Lyndon Nerenberg
What does the BIOS setup screen say about the motherboard clock's idea of the time? I suspect what's happening is the motherboard clock is set in the future, you are formatting venti based on that time, and then later firing up timesync which interprets the RTC as local time. If your RTC is

[9fans] diskless cpu from a fossil

2009-07-27 Thread Lyndon Nerenberg
Does anyone have a copy online of a working plan9.ini for pxe booting a diskless cpu server from a fossil? I've been going through the manpages and wiki but things just aren't clear to me exactly what needs to be done wrt configuring the nvram settings. Things have changed since 2ed ...

Re: [9fans] new usb stack and implicit timeouts

2009-07-20 Thread Lyndon Nerenberg
I am unsure I would remove timeouts even from bulk endpoints. It is true that some devices (the usb/serial for example) need to read for an undefined time waiting for data, but I don't think that is an issue as long as the timeouts are long enough, Please show us the algorithm that *correctly*

[9fans] Intel GMA950 video

2009-07-15 Thread Lyndon Nerenberg
Anybody running a terminal with a GMA950 chipset? I need to verify it works before I plunk down money on some new terminal hardware. VESA support is fine, just as long as rio us usable on it. The Wiki shows i950 VESA support. I'm not sure of i960 == GMA950. The way vendors are these days you

Re: [9fans] Why does Acme only show text?

2009-07-15 Thread Lyndon Nerenberg
On that note, my personal experience has found it to be a lot easier to find and correct scope issues in Python than it has to find missing braces or semicolons in other languages, sometimes even with matching enabled. This usually is the case for awful spaghetti-ish code. I find Python's

Re: [9fans] Fonts

2009-07-08 Thread Lyndon Nerenberg
But how do you make them? I played with some TTF font generators about 10 years ago that I'm sure I illegally obtained somehow, but I realize that I have zero idea of how fonts are designed and packaged. Does anybody know anything about how fonts are created and packaged (info on subfonts would

Re: [9fans] Guide to using Acme effectively?

2009-07-01 Thread Lyndon Nerenberg
On Wed, 2009-07-01 at 14:13 -0700, John Floren wrote: and Ctrl-H should do a backspace, (global-set-key \C-h 'delete-backward-char) (global-set-key \M-? 'help-command) Emacs may be an atomic hammer, but it's sure as hell a customizable atomic hammer. I rarely use emacs these days, but

Re: [9fans] acme: send dot to the stdin of a more complicated command

2009-06-08 Thread Lyndon Nerenberg
But what shall I do when the awk script is more complicated, in the simplest case Put the awk code into a file and execute ' awk -f foo' in acme.

Re: [9fans] sources down?

2009-05-23 Thread Lyndon Nerenberg
There are plenty of mirrors, I'm pretty sure the sources is down AGAIN comments could be mitigated by people improving their 9fs scripts A 9fs.local (ala termrc.loca)l would solve a lot of customization issues.

Re: [9fans] The Olde 2e 'worthies' ... ?

2009-04-28 Thread Lyndon Nerenberg
I think the vital piece of paper is the business reply / product registration card which has your unique license ID number on it, Apparently I was thinking of the SCO Ancient UNIX license. The 2e Plan9 license came with the books that were the product code we all had to order. The CDs

[9fans] The Olde 2e 'worthies' ... ?

2009-04-27 Thread Lyndon Nerenberg
'kyle000' provokes an interesting question: what is the status of the 2e registered licensees list I fuzzily remember? I used to have the hard copy license from the back of the bubble envelope, but it now lives in a galaxy far far away. --lyndon

Re: [9fans] The Olde 2e 'worthies' ... ?

2009-04-27 Thread Lyndon Nerenberg
I happen to have the license in front of me, what do you want to know? I recall there was a registry of 2e license holders. For those of us wanting to swap code restricted by the old Labs 2e license, it was the way to determine if the proposed recipient was a valid license holder. Again,

Re: [9fans] Do we have a catalog of 9P servers?

2008-11-10 Thread Lyndon Nerenberg
Actually, I've got flickr-9P on my 2do-list [ ... ] Is there any hope of re-winding the clock back to some time pre- September?

Re: [9fans] mmap and shared libraries

2008-11-07 Thread Lyndon Nerenberg
I know one thing: every major operating system I have ever heard of leverages shared libraries. Can all those people be wrong? I don't think so. Eight billion Windows users can't be wrong. (Can they?)

Re: [9fans] yes, comcast really *does* suck

2008-11-07 Thread Lyndon Nerenberg
you have to love comcast. They just blocked my port 25 incoming. A quick search around the net reveals they are jerking people around regularly on this issue. And people claim UUCP is obsolete.

Re: [9fans] Do we have a catalog of 9P servers?

2008-11-07 Thread Lyndon Nerenberg
The amount of fuse traffic for simple operations is astounding. You stop wondering why? and just try and cope. I'm not dumping on fuse - it does fill a gap - rather I just don't wish to look at its implementation. This sound so much like the argument about shared libraries ...

Re: [9fans] mmap and shared libraries

2008-11-04 Thread Lyndon Nerenberg
A standalone statically linked binary is going to be considerable larger while in flight over data links. But that static binary only flies once, geting sucked into memory with a (mostly) simple bcopy equiv at process launch time. Shared memory regimes thrash the living daylights out of MMUs

Re: [9fans] mmap and shared libraries

2008-11-03 Thread Lyndon Nerenberg
A thought ... Shared libraries do 2 possibly useful things: 1) save space 2) stop you having to re-link when a new library is released. Now 2) doesn't really happen anyway, due to .so versioning hell, so we're left with 1) ... I can run Plan 9 quite nicely in 128 MB of RAM. In the same amount

Re: [9fans] @{cd ...} breaks completion with ctrl-f/ins; help needed

2008-10-28 Thread Lyndon Nerenberg
This savingrestoring seems flawed to me due to possible race-conditions... I'd expect each shell had its own copy of /dev/wdir... But I may be easily wrong... When a rc forks a subshell the child shares the namespace with the parent. If you want the child rc to divorce its namespace from the

[9fans] Venti scores from fossil dumps?

2008-10-11 Thread Lyndon Nerenberg
Given a fossil+venti holding a snap -a in, say, /n/dump/0101, is there a way of obtaining the vac score for the root of /n/dump/0101 such that it could be used to initialize a new fossil from the snap? --lyndon

Re: [9fans] Venti scores from fossil dumps?

2008-10-11 Thread Lyndon Nerenberg
Vac prints the Venti score for a vac(1) archive containing the tree rooted at dir, which must already be archived to Venti (typically dir is a directory in the /archive tree). so, from your example, you want (I think): vac /archive/0101 vac creates backup

Re: [9fans] Venti scores from fossil dumps?

2008-10-11 Thread Lyndon Nerenberg
it's Note to pedants: I am so embarrassed :-(

Re: [9fans] bug in rio: unhiding deleted windows

2008-10-10 Thread Lyndon Nerenberg
in other words, if most of the time makes you nervous, it really is a good idea to have a seperate fileserver, even if it is running a regular kernel. As one who is at this moment trying to extricate himself from a corrupted FS caused by an 'abrupt' restart, I can highly recommend you pay

Re: [9fans] 3c509b troubles

2008-08-29 Thread Lyndon Nerenberg
a windows machine with isa slots will be available to me on tuesday. i'll try this out and see what happens. of course a better solution would be to just fork over the cash for a better card... Where can you even buy an ISA Ethernet (or any) card these days? I don't even see them on Ebay or

Re: [9fans] 3c509b troubles

2008-08-29 Thread Lyndon Nerenberg
there's no reason it needs to be isa, i have pci slots too. it's just the only card i have that qualifies as plan 9 supported hardware ok ;-) i ass-u-med that you were stuck with a real antique out of no choice. This being the case, buy an Intel Pro/100[0] PCI card. Accept no substitutes.

Re: [9fans] Using the Acme Editor

2008-08-19 Thread Lyndon Nerenberg
11. Bookmarks Typically handled by 'guide' files. I.e. a file, open in an acme window, full of B3-able search strings. E.g.: foo.c:/^main Also useful with B2-able command strings: grep -n 'where_is_this_function_called_from\(' *.c slay program | rc --lyndon Don't force it, use a

Re: [9fans] file ownership on /srv

2008-08-14 Thread Lyndon Nerenberg
I have a CPU/Auth server set up. I'd like to be able to add users remotely (via drawterm), rather than at the system's console. However, normally, I can't attach to /srv/fscons, and as I found, can't start another fscons and open the filesystem under it. When you drawterm, authenticate as

Re: [9fans] file ownership on /srv

2008-08-14 Thread Lyndon Nerenberg
Yes that works, but isn't that similar to logging in as root to a unix box over the wire? If I were delegating add user abilities to another user, that'd mean I'd have to give them the password for bootes... Yes. Anyone who has access to /srv/fscons owns the file server. The first alternative

Re: [9fans] a question of file and the history of magic^H^H^H^H^HUNIX

2008-07-08 Thread Lyndon Nerenberg
On 2008-Jul-6, at 14:59 , Brantley Coile wrote: I remember the day I first saw a file magic file. I welcomed it because for the first time I didn't have access to the source code. Those were the days when you had to have $45k to get the source. Closer to $100K for most people. I had

Re: [9fans] sftpfs

2008-07-03 Thread Lyndon Nerenberg
On 2008-Jul-2, at 14:10 , Fazlul Shahriar wrote: I wrote a file server for the SSH File Transfer Protocol (SFTP). You can find it here: Well done! It's nice to see some people still prefer writing code instead of mail ;-) I'll give it a beating as soon as I have a free moment. --lyndon

Re: [9fans] sad commentary

2008-06-30 Thread Lyndon Nerenberg
Most people just want to use a computer, not learn all about it (just as they want to drive a car and not look under the hood). And Windows is the Chevrolet|Ford|Toyota|\* for the common man. We are not the common man. Buy a bus pass and push off.

Re: [9fans] upas/fs

2008-06-11 Thread Lyndon Nerenberg
On 2008-Jun-11, at 19:31 , erik quanstrom wrote: right. since the date is attached when delivered to a mailbox, why doesn't this date change when it's delivered to a secondary mailbox? why is the assignment a magical property of the inbox? Most likely it's just an artifact of the original

[9fans] June 10 ISOs are borked

2008-06-10 Thread Lyndon Nerenberg
Today's ISO images are running a bit thin. All that's there is there directory tree; there are no files inside any of those directories. This makes for fast downloads, but the installation experience is rather lame ;-) --lyndon

Re: [9fans] /lib/rfc

2008-04-22 Thread Lyndon Nerenberg
On 2008-Apr-22, at 10:11 , erik quanstrom wrote: is there an existant script for populating this? /n/sources/contrib/lyndon/rfcmirror is one.

Re: [9fans] /lib/rfc

2008-04-22 Thread Lyndon Nerenberg
On 2008-Apr-22, at 10:11 , erik quanstrom wrote: is there an existant script for populating this? Actually, is uses /lib/ietf/rfc, and the corresponding idmirror script uses /lib/ietf/id.

Re: [9fans] Plan 9 refuses to boot from iMac

2008-04-18 Thread Lyndon Nerenberg
On 2008-Apr-18, at 08:35 , Steve Simon wrote: I believe plan9 uns well under parallels. Flawlessly would be a more accurate description.

<    1   2   3   4   5