[9fans] What's so special about seek() ?

2008-10-20 Thread Nathaniel W Filardo
/sys/src/libc/9syscall/mkfile has a rather odd looking special case for the seek system call... it looks like if seek fails (returns -1) that the first two arguments (fd and offset) are overwritten with -1. What's going on here? The manual page doesn't hint at anything... Thanks. --nwf;

[9fans] intel chipset graphics controller

2008-10-20 Thread Yoshi Rokuko
Hey folks, yesterday I installed Plan 9 to my ThinkPad (X30) and the graphical installer worked fine (with 1024x768x8 and xga). And now if I first login with user glenda the display gets fading green into purple - looks scary. I had this once with a wrong or old/buggy intel driver under linux

[9fans] Plan 9 floppy install from local hdd on IBM ThinkPad X30

2008-10-20 Thread Yoshi Rokuko
Hey folks, I'm trying to install Plan 9 via external (not usb) floppy drive onto my IBM ThinkPad X30 [1]. My plan is to boot with the floppy and then install from a local primary FAT32 partition. This idea is given in the wiki: If you wish to install from local media, you need a FAT file system

[9fans] Setting the resolution

2008-10-20 Thread Angelo Papenhoff
Hello guys, I'm a plan9 newbie and installed it on one of my computers yesterday. But I'm kinda stuck with setting the resolution for my monitor. I have a Samsung SyncMaster 701n (TFT) but can't get beyond 800x600 for some reason. When I try to set the resolution to anything higher the monitor

Re: [9fans] Are there any blind users of Plan 9?

2008-10-20 Thread Gorka Guardiola
On Mon, Oct 20, 2008 at 11:27 AM, Chris Brannon [EMAIL PROTECTED] wrote: Hi there, I'm blind, and I use Unix from the text console. I'm interested in trying out Plan 9. It appears to be a very clean system. Are there any blind people in the Plan 9 community? If so, I am very interested in

Re: [9fans] Are there any blind users of Plan 9?

2008-10-20 Thread Jeff R. Allen
I was just playing with Inferno this weekend, and what's nice about it is that when you are using it hosted, it is simply a process named emu running in a window and talking to you in text. Your screen reader would be able to understand it's output easily. Inferno lets you play with the 9p

Re: [9fans] Are there any blind users of Plan 9?

2008-10-20 Thread Rudolf Sykora
On the other hand, programming Limbo with only cat and sed won't be too easy, so you'll need suggestions from people on the list for less mousy editors. -jeff There is a port of vim... R.

Re: [9fans] Are there any blind users of Plan 9?

2008-10-20 Thread Pietro Gagliardi
I'm blind in only one eye and have low vision in the other, so I run Plan 9 in a virtual machine with an enlarged screen using Mac OS X's Universal Access. The concept of a Text-to-Speech program for Plan 9 has been floating in my head for some time. How can it be made to use some of Plan

Re: [9fans] Setting the resolution

2008-10-20 Thread erik quanstrom
Could it be something with my graphics card maybe (it's onboard)? I hope someone can give me a hint :) which video controller? i've had similar problems with an nvidia card and a monitor with tight timings. by beating on aux/vga and stretching the timings in vgadb, i did get something my

Re: [9fans] intel chipset graphics controller

2008-10-20 Thread erik quanstrom
Can't I just use the driver like in the installer? setting monitor=vesa would probablly do the trick. - erik

[9fans] mount followed by srvfs needs a sleep?

2008-10-20 Thread Rudolf Sykora
Hello, I have this function in my lib/profile: fn penelopa{ srv penelopa.karlov.mff.cuni.cz penelopa #to solve the authentication --- see the text bellow mount /srv/penelopa $home/shared/penelopa unmount $home/shared/penelopa local mount /srv/penelopa

Re: [9fans] intel chipset graphics controller

2008-10-20 Thread erik quanstrom
than I have a probably easy question: how can I get into the system and edit plan9.ini in order to add monitor=vesa? I know this (see down below), but how do I get there? i'm not sure what the problem is here. can you not view the screen? assuming that's the problem, you could * enter a

[9fans] Booting plan9 from an iSCSI disk

2008-10-20 Thread gdiaz
Hola, Has anyone done this? I have access to a cheap hardware which could be a nice plan9 cpu server, the only thing does not work is the iSCSI disk (or i think so, look at the lspci below) I suppose the bios of the machine supports booting from iSCSI, so i think i could put a 9load or

Re: [9fans] several things

2008-10-20 Thread Yaroslav
2008/10/18 Roman V. Shaposhnik [EMAIL PROTECTED]: On Wed, 2008-10-15 at 08:17 -0400, erik quanstrom wrote: ; mntgen a ; bind /env a/env ; bind /bin a/bin ; bind /proc a/proc ; bind a / ; ns consider it a security feature. Be it as it may, I still can't

Re: [9fans] Are there any blind users of Plan 9?

2008-10-20 Thread john
I'm blind in only one eye and have low vision in the other, so I run Plan 9 in a virtual machine with an enlarged screen using Mac OS X's Universal Access. The concept of a Text-to-Speech program for Plan 9 has been floating in my head for some time. How can it be made to use some of

Re: [9fans] mount followed by srvfs needs a sleep?

2008-10-20 Thread erik quanstrom
#to solve the authentication --- see the text bellow mount /srv/penelopa $home/shared/penelopa unmount $home/shared/penelopa i don't see an explination for this below. what does this accomplish? if you are trying to load more keys into your factotum, this can be more

Re: [9fans] mount followed by srvfs needs a sleep?

2008-10-20 Thread Rudolf Sykora
2008/10/20 erik quanstrom [EMAIL PROTECTED] #to solve the authentication --- see the text bellow mount /srv/penelopa $home/shared/penelopa unmount $home/shared/penelopa i don't see an explination for this below. what does this accomplish? if you are trying to

Re: [9fans] Plan 9 floppy install from local hdd on IBM ThinkPad X30

2008-10-20 Thread Yoshi Rokuko
I wrote this with slrn into comp.os.plan9 and then I read that it is just possible to post via mailinglist ... ... now it arrives, but my problems are solved already - so please ignore this post. Regards, y0shi Hey folks, I'm trying to install Plan 9 via external (not usb) floppy drive onto

Re: [9fans] Setting the resolution

2008-10-20 Thread erik quanstrom
On Oct 20, 2:51 pm, [EMAIL PROTECTED] (erik quanstrom) wrote: Could it be something with my graphics card maybe (it's onboard)? I hope someone can give me a hint :) which video controller? i've had similar problems with an nvidia card and a monitor with tight timings. by beating on

Re: [9fans] Are there any blind users of Plan 9?

2008-10-20 Thread Dave Eckhardt
The bad news is that the existing interface is very mouse-oriented and there is no text-to-speech support. The good news is that the system, and each part of it, is small, so if you don't like something it can be replaced. Unlike Windows or Unix, where you can't do much about the windowing

Re: [9fans] mount followed by srvfs needs a sleep?

2008-10-20 Thread erik quanstrom
2008/10/20 erik quanstrom [EMAIL PROTECTED] #to solve the authentication --- see the text bellow mount /srv/penelopa $home/shared/penelopa unmount $home/shared/penelopa i don't see an explination for this below. what does this accomplish? if you are

Re: [9fans] mount followed by srvfs needs a sleep?

2008-10-20 Thread Rudolf Sykora
2008/10/20 erik quanstrom [EMAIL PROTECTED] sounds very complicated. i'm not sure i understand. Ok. I thought this was lately partially discussed here http://groups.google.com/group/comp.os.plan9/browse_thread/thread/e8b5e25936f3aff1 even with your participation :), namely see your post

Re: [9fans] Are there any blind users of Plan 9?

2008-10-20 Thread Chris Brannon
Dave Eckhardt writes: The good news is that the system, and each part of it, is small, so if you don't like something it can be replaced. Unlike Windows or Unix, where you can't do much about the windowing system, in Plan 9 you really can replace it and it's not that much code. Quite a few

[9fans] has anyone used xmonad?

2008-10-20 Thread andrey mirtchovski
i stumbled upon this the other day. xmonad is a tiling window manager written in haskell that looks similar to acme, although it can be completely keyboard-driven. if anyone has used it please comment on it. andrey

Re: [9fans] has anyone used xmonad?

2008-10-20 Thread Tim Wiess
i stumbled upon this the other day. xmonad is a tiling window manager written in haskell that looks similar to acme, although it can be completely keyboard-driven. if anyone has used it please comment on it. I use it as my X WM. So far I've been pretty satisfied with it. By default you can't

Re: [9fans] intel chipset graphics controller

2008-10-20 Thread Yoshi Rokuko
Am Mon, 20 Oct 2008 08:51:44 -0400 schrieb erik quanstrom [EMAIL PROTECTED]: than I have a probably easy question: how can I get into the system and edit plan9.ini in order to add monitor=vesa? I know this (see down below), but how do I get there? i'm not sure what the problem is

Re: [9fans] What's so special about seek() ?

2008-10-20 Thread Nathaniel W Filardo
On Mon, Oct 20, 2008 at 09:19:50AM +0100, C H Forsyth wrote: seek is unusual because it returns a 64-bit value Forgive my ignorance, but I don't see how the code in question relates to returning a 64-bit value? --nwf; pgpZuSgZQbGYG.pgp Description: PGP signature

Re: [9fans] What's so special about seek() ?

2008-10-20 Thread Steve Simon
The seek system call is here /sys/src/9/port/sysfile.c:855 The arg variable here is a pointer to the users stack making the system call. most return values are 32 bit and are passed back through syscall() /sys/src/9/pc/trap.c:660 but seek is different, it overwrites 64 bits

Re: [9fans] What's so special about seek() ?

2008-10-20 Thread Nathaniel W Filardo
On Mon, Oct 20, 2008 at 10:11:22PM +0100, Charles Forsyth wrote: Forgive my ignorance, but I don't see how the code in question relates to returning a 64-bit value? MOVL a+0(FP),CX MOVL AX,0(CX) MOVL

Re: [9fans] What's so special about seek() ?

2008-10-20 Thread Charles Forsyth
Forgive my ignorance, but I don't see how the code in question relates to returning a 64-bit value? MOVL a+0(FP),CX MOVL AX,0(CX) MOVL AX,4(CX) that's how a 64-bit value is returned on 32-bit machines:

Re: [9fans] Multi-domain authentication?

2008-10-20 Thread erik quanstrom
http://osdir.com/ml/os.plan9.nine-grid/2005-06/msg1.html is a proposal from some years ago from TIP9UG to do multi-domain authentication in a way somewhat reminiscent of Kerberos.[1] The only change to factotum, AFAICT, was the following addition: if(_strfindattr(s-key-attr, grid)){

Re: [9fans] Multi-domain authentication?

2008-10-20 Thread andrey mirtchovski
is there something else you are looking for? say i have a plan9 compute cluster on which i want to allow tip9ug's users to run jobs. i shouldn't have to add all their passwords to my auth server, but i should still be able to say i trust tip9ug's auth server and will allow users from it to log

Re: [9fans] Multi-domain authentication?

2008-10-20 Thread andrey mirtchovski
what kind of access would you give such users to the fileserver? in this specific example perhaps some minimal scratch space, but one can quickly conceive cases where the complete file system semantics are used, for example when you want to provide a data replication service between sites

Re: [9fans] Multi-domain authentication?

2008-10-20 Thread erik quanstrom
On Mon Oct 20 20:41:38 EDT 2008, [EMAIL PROTECTED] wrote: what kind of access would you give such users to the fileserver? in this specific example perhaps some minimal scratch space, but one can quickly conceive cases where the complete file system semantics are used, for example when you

Re: [9fans] Multi-domain authentication?

2008-10-20 Thread Nathaniel W Filardo
On Mon, Oct 20, 2008 at 07:43:39PM -0400, erik quanstrom wrote: http://osdir.com/ml/os.plan9.nine-grid/2005-06/msg1.html is a proposal from some years ago from TIP9UG to do multi-domain authentication in a way somewhat reminiscent of Kerberos.[1] The only change to factotum, AFAICT,

Re: [9fans] Multi-domain authentication?

2008-10-20 Thread ron minnich
On Mon, Oct 20, 2008 at 6:05 PM, andrey mirtchovski [EMAIL PROTECTED] wrote: i hope to have relayed the original idea: give friendly users some access to your resources. yes, there was a long running discussion of this with presotto, andrey, acki, me, who else? years ago. We never resolved

Re: [9fans] Multi-domain authentication?

2008-10-20 Thread Eric Van Hensbergen
On Mon, Oct 20, 2008 at 7:49 PM, erik quanstrom [EMAIL PROTECTED] wrote: the premise is that the local system, and thus i assume the local fs, has no knowledge of the user. this task has been delegated to a foreign auth server. so what are the mechanics of getting the local fs to treat an

Re: [9fans] Are there any blind users of Plan 9?

2008-10-20 Thread Uriel
sam -d is also very powerful, and might be worth learning even for unix use, I'm totally ignorant about specialized editors for the blind, but if I ever lost my sight, I think sam -d would be all I would use. (The tutorial on the sam language is most enlightening for everyone, even lowly acme