[9fans] validateaddress

2009-08-10 Thread Kenji Arisawa
something wrong web 8365680:01 1:55 1536K Open httpd web 8365700:56 0:00 272K Preadfactotum none1236297 47181:19 0:00 172K Running validateaddress web 13535600:00 0:00 40K Preadread ar% ACID 1236297

[9fans] Using Guide Files

2009-08-10 Thread Aaron W. Hsu
Hello, When using guide files, let's say I have some Edit command or the like that I run often on certain types of files. So I have the guide file open, and I can copy the command over to the tag line of the file I want to edit, but it would be faster if I could just run the command in the

[9fans] ttf2subf and plan9ports

2009-08-10 Thread Aaron W. Hsu
It appears that ttf2subf is not included in plan9ports. Is it possible for me to compile this? The instructions on the home page say that mk is all I need to run, but this isn't the case, because apparently objtype isn't defined, and then when it is, it doesn't know what to do about things.

Re: [9fans] Using Guide Files

2009-08-10 Thread Noah Evans
Do you know the 2-1 chord? Try putting an Edit in the tag, then leaving the Edit commands in your guide. On Mon, Aug 10, 2009 at 10:46 AM, Aaron W. Hsuarcf...@sacrideo.us wrote: Hello, When using guide files, let's say I have some Edit command or the like that I run often on certain types of

[9fans] machine key, secstore key, hostowner password

2009-08-10 Thread Corey
When creating a cpu/auth kernel, one needs to create a variety of key/passwords - the machine key, the secstore key, and the hostowner password. I _think_ I have the basics understood regarding the purpose of these, but one thing I'm uncertain of: Aside from the point in which they're each

Re: [9fans] machine key, secstore key, hostowner password

2009-08-10 Thread Corey
On Monday 10 August 2009 02:40:17 Corey wrote: When creating a cpu/auth kernel, one needs to create a variety of key/passwords - the machine key, the secstore key, and the hostowner password. I _think_ I have the basics understood regarding the purpose of these, but one thing I'm uncertain

Re: [9fans] machine key, secstore key, hostowner password

2009-08-10 Thread Steve Simon
The machine key _is_ the hostowners password, DES encrypted with the hostowner's name, the details are in the code. the secstore key is just that, it us useful for storing account details that the hostowner may need - for example I keep my sources account in hostowner's secstore so I can cpu -u

Re: [9fans] a few Q's regarding cpu/auth server

2009-08-10 Thread Corey
On Wednesday 05 August 2009 19:42:54 Anthony Sorace wrote: /sys/log/cron: rc (cpurc): can't open: 'sys/log/cron' is a directory ... not quite sure what to make of that. that's weird. it shouldn't be a directory, just an append-only file like most of the others in /sys/log. not sure how it

[9fans] manpages broken/outdated

2009-08-10 Thread Bela Valek
I have checked it on 3 different installations, the 'usbdisk' manpage is missing, on fresh installations too. Its not a filesystem corruption for sure. Most other USB-related manpages still list the nonexistent -f and -l parameters for the 'usb/disk' command. Greetings: Béla

Re: [9fans] machine key, secstore key, hostowner password

2009-08-10 Thread Corey
On Monday 10 August 2009 02:55:58 Steve Simon wrote: The machine key _is_ the hostowners password, DES encrypted with the hostowner's name, the details are in the code. The hostowners password stored in nvram, and the hostowner's password stored in the authentication database served by keyfs

Re: [9fans] manpages broken/outdated

2009-08-10 Thread Uriel
If it is of any consolation, it seems to be here: http://man.cat-v.org/plan_9/4/usbdisk uriel On Mon, Aug 10, 2009 at 12:10 PM, Bela Valekbval...@gmail.com wrote: I have checked it on 3 different installations, the 'usbdisk' manpage is missing, on fresh installations too. Its not a filesystem

Re: [9fans] machine key, secstore key, hostowner password

2009-08-10 Thread Steve Simon
the hostowner is the owner of the machine, but they are also a user on plan9 so they need an entry on the auth database. the passwords in the auth database and the nvram must match or you will not be able to cpu or 9fs to this box, authentication will not work. -Steve

Re: [9fans] manpages broken/outdated

2009-08-10 Thread Josh Wood
the 'usbdisk' manpage is missing Is it not disk in usb(4)? -Josh

Re: [9fans] a few Q's regarding cpu/auth server

2009-08-10 Thread Steve Simon
This will create a n append only file, not a directory. The usual way to initialised cron for a user is auth/cron -c (similarly for mail type mail -c) when you have first logged in as that user. if you run /sys/lib/newuser when you first login (i.e. the very first time, do this only once) then

Re: [9fans] a few Q's regarding cpu/auth server

2009-08-10 Thread Corey
On Monday 10 August 2009 03:33:04 Steve Simon wrote: This will create a n append only file, not a directory. The usual way to initialised cron for a user is auth/cron -c (similarly for mail type mail -c) when you have first logged in as that user. if you run /sys/lib/newuser when you first

Re: [9fans] manpages broken/outdated

2009-08-10 Thread Noah Evans
man 4 disk # disk(4) On Mon, Aug 10, 2009 at 12:10 PM, Bela Valekbval...@gmail.com wrote: I have checked it on 3 different installations, the 'usbdisk' manpage is missing, on fresh installations too. Its not a filesystem corruption for sure. Most other USB-related manpages still list the

Re: [9fans] manpages broken/outdated

2009-08-10 Thread erik quanstrom
i started this, i think. sorry. On Mon Aug 10 06:17:40 EDT 2009, urie...@gmail.com wrote: If it is of any consolation, it seems to be here: http://man.cat-v.org/plan_9/4/usbdisk this man page is out-of-date. you should remove it. it belongs to the old usb setup. usb(4) now has the correct

Re: [9fans] manpages broken/outdated

2009-08-10 Thread Iruata Souza
On Mon, Aug 10, 2009 at 8:09 AM, Noah Evansnoah.ev...@gmail.com wrote: man 4 disk # disk(4) On Mon, Aug 10, 2009 at 12:10 PM, Bela Valekbval...@gmail.com wrote: I have checked it on 3 different installations, the 'usbdisk' manpage is missing, on fresh installations too. Its not a filesystem

Re: [9fans] manpages broken/outdated

2009-08-10 Thread Noah Evans
Try it. On Mon, Aug 10, 2009 at 1:42 PM, Iruata Souzairu.mu...@gmail.com wrote: On Mon, Aug 10, 2009 at 8:09 AM, Noah Evansnoah.ev...@gmail.com wrote: man 4 disk # disk(4) On Mon, Aug 10, 2009 at 12:10 PM, Bela Valekbval...@gmail.com wrote: I have checked it on 3 different installations, the

Re: [9fans] Using Guide Files

2009-08-10 Thread Rudolf Sykora
Also check the Run script we discussed earlier in this forum. Could be of help... Ruda 2009/8/10 Aaron W. Hsu arcf...@sacrideo.us: Hello, When using guide files, let's say I have some Edit command or the like that I run often on certain types of files. So I have the guide file open, and I

[9fans] SATA inst: some progress

2009-08-10 Thread cej
Hi, while installing from erik quanstrom's 9atom.iso CD, everything went just right up to: mountfs [/dev/sdE0/fossil] preparing menu ... fossil 833: suicide: sys: fp: stack overflow fppc=0x23304 status=0x82c1 pc=0x23308 'black' message is: matherror note: sys: fp: stack overflow fppc=0x23304

Re: [9fans] manpages broken/outdated

2009-08-10 Thread Bela Valek
Erik: thank you for helping, I see that the usb(4) manpage is up to date. The old usbdisk(4) manpage had a working example for attaching a FAT filesystem formatted USB hardrive. Can you tell me, where I can find the updated version of this example? Thanks: Béla

Re: [9fans] manpages broken/outdated

2009-08-10 Thread Iruata Souza
On Mon, Aug 10, 2009 at 8:59 AM, Noah Evansnoah.ev...@gmail.com wrote: Try it. try updating your system.

Re: [9fans] manpages broken/outdated

2009-08-10 Thread erik quanstrom
On Mon Aug 10 08:30:37 EDT 2009, bval...@gmail.com wrote: Erik: thank you for helping, I see that the usb(4) manpage is up to date. The old usbdisk(4) manpage had a working example for attaching a FAT filesystem formatted USB hardrive. Can you tell me, where I can find the updated version of

Re: [9fans] manpages broken/outdated

2009-08-10 Thread Noah Evans
Relax. koninck% history /sys/man/4/usb May 31 03:40:48 CES 2009 /sys/man/4/usb 6969 [geoff] ... koninck% man 4 disk USB(4) USB(4) On Mon, Aug 10, 2009 at 2:27 PM, Iruata Souzairu.mu...@gmail.com wrote: On Mon, Aug 10, 2009 at 8:59

Re: [9fans] SATA inst: some progress

2009-08-10 Thread Richard Miller
preparing menu ... fossil 833: suicide: sys: fp: stack overflow fppc=0x23304 status=0x82c1 pc=0x23308 I think this is one of the bizarre side effects you can get from trying to start vesa graphics on a multiprocessor. Does erik's install CD have '*nomp=1' in the plan9.ini file?

Re: [9fans] manpages broken/outdated

2009-08-10 Thread Bela Valek
Well, then simply running 'usbfat:' is supposed to work, right? I see the warning about the untested drivers in usb(4), so a bug is no surprise i guess... I try to create a proper bugreport with exact hardware specification then. 2009/8/10 erik quanstrom quans...@quanstro.net: On Mon Aug 10

Re: [9fans] Using Guide Files

2009-08-10 Thread Jason Catena
just run the command in the context of some arbitrary window. Wily does this. The 2-1 chord uses the context of the object applied to the command, rather than the command. This makes commands like New useful from the top of a column. When you type in a new file name in its directory,

Re: [9fans] SATA inst: some progress

2009-08-10 Thread Fernan Bolando
On Mon, Aug 10, 2009 at 8:20 PM, c...@gli.cas.cz wrote: Hi, while installing from erik quanstrom's 9atom.iso CD, everything went just right up to: mountfs [/dev/sdE0/fossil] preparing menu ... fossil 833: suicide: sys: fp: stack overflow fppc=0x23304 status=0x82c1 pc=0x23308 'black'

Re: [9fans] Using Guide Files

2009-08-10 Thread Rudolf Sykora
A few words pertaining one of your points. 2009/8/10 Jason Catena jason.cat...@gmail.com: For example, I often run |fmt -w 72 to justify a paragraph in a text file.  With wily, I can highlight text in any window, and justify the text from one copy of the command stored in any guide file.  

Re: [9fans] Using Guide Files

2009-08-10 Thread Jason Catena
I can have that '|fmt -w 72' anywhere in any window, but other than where my text is. I ensure I have 'Edit' in the tag line of the text window. I highlight the text I want be formatted. I go to the window with the command, |fmt -w 72. I highlight that. I go back to the Edit in the text's

Re: [9fans] Using Guide Files

2009-08-10 Thread erik quanstrom
I assume Run works similarly? That is, I can put Run in a directory's tag, highlight a filename in that directory, then highlight a command and apply it to Run with 2-1 to run the command on the file? posting to 9fans is now easier than typing 3 characters and three mouse actions. wow! -

Re: [9fans] Using Guide Files

2009-08-10 Thread Rudolf Sykora
2009/8/10 Jason Catena jason.cat...@gmail.com: And so it does.  I assumed I could only use Edit in conjunction with sam commands, but apparently Edit (or at least its author) is smarter than that. Well, I'd say, that |... thing still _is_ a sam command..., only delivered to the Edit command

[9fans] bind vs. 9660srv

2009-08-10 Thread erik quanstrom
i mentioned a few days ago that bind and 9660srv were not agreeing. i tracked this down a bit further and am now quite confused. here's the initial symptom ; 9660srv ; mount /srv/9660 /n/cd0 /n/other/ftp/plan9.iso ; du -s /n/cd0/386/bin 80143 /n/cd1/386/bin

Re: [9fans] SATA inst: some progress

2009-08-10 Thread erik quanstrom
On Mon Aug 10 09:16:37 EDT 2009, 9f...@hamnavoe.com wrote: preparing menu ... fossil 833: suicide: sys: fp: stack overflow fppc=0x23304 status=0x82c1 pc=0x23308 I think this is one of the bizarre side effects you can get from trying to start vesa graphics on a multiprocessor. Does erik's

Re: [9fans] Unexpected 8c warning message

2009-08-10 Thread Adriano Verardo
erik quanstrom wrote: It's a pity. In other - more complicated - situations I found such warnings appropriate and very helpful. Could that case be recognised during the variable-scope analysis on the intermediate format (tuples ?) ? I don't remember what D.Gries and others said about and I

Re: [9fans] Unexpected 8c warning message

2009-08-10 Thread erik quanstrom
Absolutely true. But I got a subtle compiler message about a very very simple and short piece of code. how is the compiler supposed to determine if the code in question is short and simple? in your case, you can either provide a dummy assignment or use SET(var) to inform 8c that it can

Re: [9fans] ttf2subf and plan9ports

2009-08-10 Thread J.R. Mauro
On Mon, Aug 10, 2009 at 4:46 AM, Aaron W. Hsuarcf...@sacrideo.us wrote: need to run, but this isn't the case, because apparently objtype isn't defined, and then when it is, it doesn't know what to do about things. :-/ You should be able to rewrite the mkfile using any of the p9p mkfiles in

Re: [9fans] Unexpected 8c warning message

2009-08-10 Thread Russ Cox
This problem is uncomputable, so trying to handle every case that comes up is problematic. There has to be a line somewhere. Saying that the compiler could figure out does not imply that it must. I think it's perfectly reasonable that a compiler, when presented with a program like int x;

Re: [9fans] validateaddress

2009-08-10 Thread erik quanstrom
would be interesting to see *(0x16548\s). have you tried truss(1)ing that process? - erik

Re: [9fans] bind vs. 9660srv

2009-08-10 Thread Russ Cox
This is a kernel bug. sysfile.c:/^read says dir = c-qid.typeQTDIR; if(dir mountrockread(c, p, n, nn)){ /* do nothing: mountrockread filled buffer */ }else{ if(dir c-umh) nn = unionread(c, p, n); else

Re: [9fans] bind vs. 9660srv

2009-08-10 Thread erik quanstrom
but should say (untested) s/un(tested)/\1 No one noticed before because most 9P2000 servers assume they are being used correctly and implement a simpler check: if offset == 0, seek to beginning, otherwise continue where the last read left off. ken fs does so i'm still a bit puzzled. -

Re: [9fans] Using Guide Files

2009-08-10 Thread Jason Catena
Find it in the forum. A search for Run title uniquely found Russ' post. http://9fans.net/archive/2009/06/138 (Well, it did until this post.) Once I installed Run and studied Russ' illustration, I can set up my own commands, thanks. In acme I highlight some text to process (filenames, data,

Re: [9fans] bind vs. 9660srv

2009-08-10 Thread Russ Cox
On Mon, Aug 10, 2009 at 11:27 AM, erik quanstromquans...@quanstro.net wrote: but should say (untested) s/un(tested)/\1 No one noticed before because most 9P2000 servers assume they are being used correctly and implement a simpler check: if offset == 0, seek to beginning, otherwise continue

Re: [9fans] bind vs. 9660srv

2009-08-10 Thread erik quanstrom
Not the code I'm looking at (/sys/src/cmd/cwfs/9p2.c) start += n; if(start offset) continue; if(count n){ putbuf(p1); goto out1; } i think that it recomputes what the offset should be, which might work as long as the

Re: [9fans] Unexpected 8c warning message

2009-08-10 Thread Adriano Verardo
erik quanstrom wrote: on the other hand, if you've been following along at home with linux development, you'll remember that a week or so ago a really smart compiler screwed everybody over by optimizing away a test for null because clearly that couldn't happen. http://lwn.net/Articles/342330/

Re: [9fans] a few Q's regarding cpu/auth server

2009-08-10 Thread Corey
On Monday 10 August 2009 09:01:39 ron minnich wrote: main: create /active/cron/bootes bootes bootes d775 This is right. It's supposed to be a directory. cpu% ls -l /cron/bootes --rw-r--r-- M 9758 bootes bootes 0 Sep 17 2008 /cron/bootes/cron main: create /active/sys/log/cron bootes

Re: [9fans] Unexpected 8c warning message

2009-08-10 Thread Adriano Verardo
Russ Cox wrote: This problem is uncomputable, so trying to handle every case that comes up is problematic. There has to be a line somewhere. Ok :-( Saying that the compiler could figure out does not imply that it must. Of course I think it's perfectly reasonable that a compiler, when

Re: [9fans] Unexpected 8c warning message

2009-08-10 Thread Charles Forsyth
8c complains, there is **certainly** an algorithm error somewhere for certainties, (such as many type errors) 8c unlike some others generates fatal errors, not warnings. it's a warning because it can't be absolutely sure that you don't know what you're doing, or that you aren't particularly

Re: [9fans] a few Q's regarding cpu/auth server

2009-08-10 Thread erik quanstrom
I wonder whether 'auth/cron -c' is the culprit, when I first run '/sys/lib/newuser' for bootes. no sense wondering. read the source. /sys/src/cmd/auth/cron.c you could also use trump to trace the calls. - erik

Re: [9fans] validateaddress

2009-08-10 Thread Kenji Arisawa
Thanks Erik. However I don't know how to truss running process. Kenji Arisawa On 2009/08/11, at 2:13, erik quanstrom wrote: would be interesting to see *(0x16548\s). have you tried truss(1)ing that process? - erik

Re: [9fans] validateaddress

2009-08-10 Thread erik quanstrom
On Mon Aug 10 23:59:56 EDT 2009, aris...@ar.aichi-u.ac.jp wrote: Thanks Erik. However I don't know how to truss running process. Kenji Arisawa for example: ; cat truss.c #include u.h #include libc.h void main(void) { for(;;) sleep(10*1000); } ; 8c -FVTw truss.c

Re: [9fans] validateaddress

2009-08-10 Thread Kenji Arisawa
Thanks Erik, ar% ps -a ... none1236297 48578:46 0:00 172K Running validateaddress /mail/lib/validateaddress ar.aichi-u.ac.jp!hatbox ... ar% ACID -l /sys/lib/acid/truss 1236297 /proc/1236297/text:386 plan 9 executable /sys/lib/acid/port /sys/lib/acid/386 /sys/lib/acid/truss

Re: [9fans] yet another installation guide

2009-08-10 Thread erik quanstrom
On Tue Aug 11 01:02:13 EDT 2009, co...@bitworthy.net wrote: I finished the first draft of a cpu/auth server installation/configuration howto: http://www.p9dp.org/plan9-cpu-auth-server-howto.html It would be great if whoever's interested, and has a bit of time could check it out, try