Re: [9fans] p9 file server (npfs) w/ authentication from heterogenous systems

2009-01-26 Thread Jeff Sickel
On Jan 25, 2009, at 8:43 PM, andrey mirtchovski wrote: A quick look at npfs and spfs suggests that neither support p9sk1 auth? Am I misreading? one user-level 9p server/client which supports p9sk1 is Tim's python 9P library. Which should be a relatively easy way to add a 9pserve to hg.

Re: [9fans] Small program "PlanKey" (paraphrase of DOSKey)

2009-01-26 Thread Russ Cox
> Do you enjoy mouse editing? May be I'm just an old > TTY junkie, but for me mouse is a device that lets me > switch between Xterms with screens(1) in them ;-) This particular topic has been discussed to death in the past. Forsyth had a particularly lucid summary of a study by Tognazzi showing th

Re: [9fans] Small program "PlanKey" (paraphrase of DOSKey)

2009-01-26 Thread Akshat Kumar
yeah, yeah, Russ had " and "" -- maybe this was justification for his ideas, or perhaps some additional functionality some might find useful whatever it was, this self-reply was certainly self-justification -- my appologies ak

Re: [9fans] Small program "PlanKey" (paraphrase of DOSKey)

2009-01-26 Thread Akshat Kumar
2009/1/26 Roman Shaposhnik : ... > Yeah, that's about the only thing that is useful to me > as well. The rest requires too much mousing around > and in general it is quicker for me to compose the > command line anew rather than trying to edit the > bygones. > There are normally two cases in a rio

Re: [9fans] Changelogs & Patches?

2009-01-26 Thread erik quanstrom
>> the other part of the argument — the "write hole" >> depends on two things that i don't think are universal >> a) zfs' demand for transactional storage > > Huh?!? why else would the zfs guys be worried about a "write hole" for zfs? what would happen to a raid-z if a write returned as successf

Re: [9fans] Changelogs & Patches?

2009-01-26 Thread Roman Shaposhnik
On Jan 26, 2009, at 9:37 AM, erik quanstrom wrote: the other part of the argument — the "write hole" depends on two things that i don't think are universal a) zfs' demand for transactional storage Huh?!? b) a particular raid implentation. fancy raid cards I think you missed what I in RAID

Re: [9fans] Changelogs & Patches?

2009-01-26 Thread Roman Shaposhnik
On Jan 26, 2009, at 8:39 AM, erik quanstrom wrote: This approach will work too. But it seems that asking fossil to verify a checksum when the block is about to go to venti is not that much of an overhead. if checksumming is a good idea, shouldn't it be available outside fossil? It is availabl

Re: [9fans] Small program "PlanKey" (paraphrase of DOSKey)

2009-01-26 Thread Roman Shaposhnik
On Jan 26, 2009, at 7:42 PM, erik quanstrom wrote: On a serious note: do you guys ever edit text that is way after the output point? i do. in hold mode. that's generally how i compose email when not using acme. Yeah, that's about the only thing that is useful to me as well. The rest require

Re: [9fans] Small program "PlanKey" (paraphrase of DOSKey)

2009-01-26 Thread erik quanstrom
> On a serious note: do you guys ever edit text that > is way after the output point? i do. in hold mode. that's generally how i compose email when not using acme. > > i don't think there's a really good answer (yet?) > > In the in the /disgusting unix/ world, you can add readline even to the

Re: [9fans] Small program "PlanKey" (paraphrase of DOSKey)

2009-01-26 Thread Roman Shaposhnik
On Jan 23, 2009, at 4:56 AM, roger peppe wrote: one problem with this approach is that you won't be able to use mouse editing as usual on the command line, as the program grabs each keystroke as it's typed. Do you enjoy mouse editing? May be I'm just an old TTY junkie, but for me mouse is a dev

Re: [9fans] Small program "PlanKey" (paraphrase of DOSKey)

2009-01-26 Thread Roman Shaposhnik
On Jan 23, 2009, at 2:03 AM, pavel.klinkov...@gmail.com wrote: Hi all, In Plan9 I missed the simple way to repeat previous (or previous of previous etc.) command in the terminal. I prepared a very small (an stupid) program to allow that. Compile the following source code and run it in that way:

[9fans] sources' venti gone again?

2009-01-26 Thread Anthony Sorace
:; pwd /n/sources/contrib/anothy :; cat README cat: error reading README: venti i/o error or wrong score, block 31ac0ab07a37238f6257ecdddcd13c913122718c

Re: [9fans] p9 file server (npfs) w/ authentication from

2009-01-26 Thread erik quanstrom
>>Even more off topic - why do people think regular password expiry improves >>system security (as opposed to enforcing a password complexity constraint)? > > i think the UNIX security paper discussed that. > (F. Grampp and R. Morris, "UNIX Operating System Security", BSTJ, Vol. 62, No > . 8,. 19

Re: [9fans] plan9port openbsd 4.4

2009-01-26 Thread Fernan Bolando
> On Mon, Jan 26, 2009 at 2:04 PM, Russ Cox wrote: >> The plan9port code depends on the operating system's pthreads >> being real kernel-level threads, not a fake user-level simulation. >> The user-level simulations are not good enough, because >> on the x86 they cut corners and use the stack poin

Re: [9fans] p9 file server (npfs) w/ authentication from heterogenous systems

2009-01-26 Thread Charles Forsyth
>Even more off topic - why do people think regular password expiry improves >system security (as opposed to enforcing a password complexity constraint)? i think the UNIX security paper discussed that. (F. Grampp and R. Morris, "UNIX Operating System Security", BSTJ, Vol. 62, No . 8,. 1984)

Re: [9fans] recompiling gs

2009-01-26 Thread john
> That dot-matrix is going to convert your hearing system into a notch > filter very quickly :-) > > ron Good, then I'll be able to use my ADM-3A without getting a headache from the extremely high pitched flyback noise! I think this is a perfect opportunity to make myself an alarm clock... just

Re: [9fans] recompiling gs

2009-01-26 Thread ron minnich
That dot-matrix is going to convert your hearing system into a notch filter very quickly :-) ron

Re: [9fans] recompiling gs

2009-01-26 Thread john
> Last year, I set up my old Okidata Microline 320 dot-matrix printer on > Plan 9 (text-only print, no postscript as I recall), but in the time > since then my old hard drive has failed and I've had to get a new > system set up. This time, I'd like to try getting it to print with gs > so I can hav

Re: [9fans] p9 file server (npfs) w/ authentication from heterogenous systems

2009-01-26 Thread Steve Simon
> ... it'd be nice if there was some way for a factotum > protocol to generate a key that stayed in long term storage (i.e. in secstore) > but currently, i don't think there's a way to do it, other > than manually. I was needing this recently - I have to change my windows filserver password every

Re: [9fans] Changelogs & Patches?

2009-01-26 Thread Steve Simon
> Now, suppose I have a fossil buffer that I constantly snap to venti. > That will build quite a lengthy chain of VtRoots. Then my fossil > buffer gets totally corrupted. I no longer know what was the > score of the most recent snapshot. And I don't think I know of any > way to find that out. the

Re: [9fans] Changelogs & Patches?

2009-01-26 Thread Roman V. Shaposhnik
On Mon, 2009-01-26 at 08:22 -0800, Russ Cox wrote: > > As for me, here's my wish list so far. It is all about fossil, since > > it looks like venti is quite fine (at least for my purposes) the > > way it is: > > 1. Block consistency. Yes I know the argument here is that you > > can always r

Re: [9fans] plan9port openbsd 4.4

2009-01-26 Thread Iruata Souza
can't remember on 4.4, but 4.3 did run acme fine. On Mon, Jan 26, 2009 at 2:04 PM, Russ Cox wrote: > The plan9port code depends on the operating system's pthreads > being real kernel-level threads, not a fake user-level simulation. > The user-level simulations are not good enough, because > on th

Re: [9fans] plan9port openbsd 4.4

2009-01-26 Thread Anthony Sorace
if you want to work on it some, this message talks about getting inferno working on OpenBSD using the rthreads library (the pending replacement for the userland threads russ talked about): http://www.xs4all.nl/~mechiel/inferno/openbsd43-old.html you could likely follow a similar path for p9p if y

Re: [9fans] Changelogs & Patches?

2009-01-26 Thread erik quanstrom
> Yes. See here for details: >http://blogs.sun.com/bonwick/entry/raid_z since these arguments rely heavily on the meme that software raid == bad i have a hard time signing on. i believe i'm repeating myself by saying that afik, there is no such thing as pure hardware raid; that is, th

Re: [9fans] p9 file server (npfs) w/ authentication from

2009-01-26 Thread erik quanstrom
> it's a bit awkward doing inferno auth with factotum, as you > have to manually manipulate the keys generated by the login(6) > process. it'd be nice if there was some way for a factotum > protocol to generate a key that stayed in long term storage (i.e. in secstore) > but currently, i don't think

Re: [9fans] p9 file server (npfs) w/ authentication from heterogenous systems

2009-01-26 Thread Charles Forsyth
>it's a bit awkward doing inferno auth with factotum, as you >have to manually manipulate the keys generated by the login(6) >process. at the moment if you use Inferno's auth/ai2key once (for each authinfo-format file) you can add the resulting keys in text form to your secstore for later use by

Re: [9fans] p9 file server (npfs) w/ authentication from heterogenous systems

2009-01-26 Thread roger peppe
it's a bit awkward doing inferno auth with factotum, as you have to manually manipulate the keys generated by the login(6) process. it'd be nice if there was some way for a factotum protocol to generate a key that stayed in long term storage (i.e. in secstore) but currently, i don't think there's a

Re: [9fans] Changelogs & Patches?

2009-01-26 Thread erik quanstrom
> This approach will work too. But it seems that asking fossil > to verify a checksum when the block is about to go to venti > is not that much of an overhead. if checksumming is a good idea, shouldn't it be available outside fossil? perhaps the argument is that it might be more efficient to imp

Re: [9fans] Changelogs & Patches?

2009-01-26 Thread Russ Cox
> As for me, here's my wish list so far. It is all about fossil, since > it looks like venti is quite fine (at least for my purposes) the > way it is: > 1. Block consistency. Yes I know the argument here is that you > can always roll-back to the last known archival snapshot on venti. >

Re: [9fans] Changelogs & Patches?

2009-01-26 Thread Roman V. Shaposhnik
On Mon, 2009-01-26 at 08:53 -0500, erik quanstrom wrote: > > It depends on the vdev configuration. You can do simple mirroring > > or you can do RAID-Z (which is more or less RAID-5 done properly). > > "raid5 done properly"? could you back up this claim? Yes. See here for details: http://blog

Re: [9fans] p9 file server (npfs) w/ authentication from heterogenous systems

2009-01-26 Thread Eric Van Hensbergen
On Sun, Jan 25, 2009 at 11:39 PM, Uriel wrote: > On Sun, Jan 25, 2009 at 3:49 PM, Eric Van Hensbergen > > Authentication isn't currently supported by any > of the UNIX servers (to my knowledge). > > At least Inferno and one python 9p implementation do auth on Unix servers. > Again, Inferno can

Re: [9fans] Changelogs & Patches?

2009-01-26 Thread Roman V. Shaposhnik
On Mon, 2009-01-26 at 08:42 -0500, erik quanstrom wrote: > > That is my *entire* point. If fossil doesn't tell you that > > the data in its buffer was/is corrupted -- you have no > > reason to rollback. > > if you're that worried, you do not need to modify fossil. > why don't you write a sdecc d

Re: [9fans] plan9port openbsd 4.4

2009-01-26 Thread Russ Cox
The plan9port code depends on the operating system's pthreads being real kernel-level threads, not a fake user-level simulation. The user-level simulations are not good enough, because on the x86 they cut corners and use the stack pointer to locate the thread-local state. The Plan 9 threaded progr

Re: [9fans] Changelogs & Patches?

2009-01-26 Thread erik quanstrom
> It depends on the vdev configuration. You can do simple mirroring > or you can do RAID-Z (which is more or less RAID-5 done properly). "raid5 done properly"? could you back up this claim? also, with services like ec2, it's no use doing raid since all your data could be on the same drive, regar

Re: [9fans] Changelogs & Patches?

2009-01-26 Thread erik quanstrom
> > it's important to keep in mind that fossil is just a write buffer. > > it is not intended for the perminant storage of data. > > Sure. But it must store the data *intact* long enough > for me to be able to do a snap. It has to be able to > at least warn me about data corruption. do you have

Re: [9fans] plan9 won't install on my system

2009-01-26 Thread erik quanstrom
On Mon Jan 26 05:42:16 EST 2009, samthol...@gmail.com wrote: > well i get this > PBSI..plan9 from bell labs > ELCR:0C28 > pcirouting:8086/27DF at pin 1 irq 3 > dev A0 port C400 config 0C5A capabilities 2F00 mwdma 0007 udma 207F > LLBA sectors 625142558 > > and then it just sort of hangs there

Re: [9fans] Small program "PlanKey" (paraphrase of DOSKey)

2009-01-26 Thread cej
> i seem to remember that russ's " and "" commands (which > i've failed to find) just scan the console text for lines that start with the > current prompt - which has its own disadvantages. I have copies of those commands, if anybody is interested... ++pac <>

Re: [9fans] p9 file server (npfs) w/ authentication

2009-01-26 Thread lucio
> It does p9sk1, but it consults a plain text file rather than a > factotum for its key. Now I'm really surprised. I guess I never actually looked. ++L

Re: [9fans] plan9 won't install on my system

2009-01-26 Thread elot
well i get this PBSI..plan9 from bell labs ELCR:0C28 pcirouting:8086/27DF at pin 1 irq 3 dev A0 port C400 config 0C5A capabilities 2F00 mwdma 0007 udma 207F LLBA sectors 625142558 and then it just sort of hangs there and nothing else goes on.

Re: [9fans] Small program "PlanKey" (paraphrase of DOSKey)

2009-01-26 Thread pavel.klinkov...@gmail.com
(I have already issued my answer, but not present... What do I do wrong?) > that negates one of the major advantages of rio/9term. On the other hand, "PlanKey" offers the command history also to the other programs (different from rc), e.g.: 8.out | bc ;-) Pavel

Re: [9fans] Small program "PlanKey" (paraphrase of DOSKey)

2009-01-26 Thread pavel.klinkov...@gmail.com
> that negates one of the major advantages of rio/9term. On the other hand, my "PlanKey" provides command history also to the other programs, different from rc, e.g.: 8.out | bc ;-) Pavel