Re: [9fans] plan9 wiki

2009-05-23 Thread Kix

Try the mirror section at 9grid.es. It is daily updated.

Saludos from Casablanca.



El 23/05/2009, a las 9:04, Lorenzo Bolla  escribió:


Hi all,

I'm having difficulties (in the last 2 days) accessing the plan9  
wiki at this address: http://plan9.bell-labs.com/wiki/plan9

Is it down? Is it going up again soon?

Thank you very much!
Lorenzo.


Re: [9fans] space glenda - in acrylic

2008-06-28 Thread kix

Great!

T-shirts I need a new Plan9 t-shirts.

--
kix - http://www.kix.es

On Jun 28, 2008, at 5:11, "Rob Pike" <[EMAIL PROTECTED]> wrote:


http://flickr.com/photos/redlense/2429073822/





Re: [9fans] space glenda - in acrylic

2008-06-29 Thread kix

Anant Narayanan wrote:

On 28-Jun-08, at 9:46 AM, kix wrote:

Great!

T-shirts I need a new Plan9 t-shirts.


http://www.cafepress.com/9fans

--
Anant


Yeah! I will order some items.

Thanks kix(.in) ;-)

kix



Re: [9fans] 9P in C++

2008-12-16 Thread kix

Thanks Pietro, sqweek,

I can't compile it :-/

Some info:

k...@sys:~/2008110109$ cat Makefile
all:
   g++ -Wall -fPIC -c a.C
   g++ -Wall -fPIC -c b.C
   g++ -Wall -fPIC -c c.C
   9c -Wall -o tryfs.o tryfs.c
   9l -Wall -shared -lthread -o libtry.so a.o b.o c.o tryfs.o 
/usr/local/plan9/lib/libthread.a

   g++ -Wall -g -o simple-01 simple-01.C -L. -l try -lstdc++


k...@sys:~/2008110109$ make
...
9l -Wall -shared -lthread -o libtry.so a.o b.o c.o tryfs.o 
/usr/local/plan9/lib/libthread.a

g++ -Wall -g -o simple-01 simple-01.C -L. -l try -lstdc++
./libtry.so: undefined reference to `threadmain(int, char**)'
collect2: ld returned 1 exit status
make: *** [all] Error 1

k...@sys:~/2008110109$  ldd libtry.so
   linux-gate.so.1 =>  (0xb7eed000)
   libresolv.so.2 => /lib/i686/cmov/libresolv.so.2 (0xb7ece000)
   libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7ea8000)
   libutil.so.1 => /lib/i686/cmov/libutil.so.1 (0xb7ea3000)
   libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb7e8a000)
   libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7d2f000)
   /lib/ld-linux.so.2 (0xb7eee000)

In the tryfs.c file:

void
threadmain(int argc, char *argv[])
{
}

Thanks.


Pietro Gagliardi wrote:



-l/usr/local/plan9/lib/libthread.so (or whatever it is) help?


You can't use -l with a full path, but you can simply specify the
full path of the library:
gcc -o demo1 demo1.C /usr/local/plan9/lib/libthread.a
Note that the order of the objects on the command-line is as usual 
important.

-sqweek



Ah yes, something I forgot while drifting through the hordes of gcc 
madness that is... not using gcc. Thanks for refreshing my memory. Now 
to see if this is working for kix.







[9fans] ramfs question

2008-12-26 Thread kix
Hi,

I am reading the lib9p/ramfs.c file and I can't understand this (in threadmain):

+ Qid q;
+ ...
+ q = fs.tree->root->dir.qid;

Because *q* is not longer used.

Why *q* is defined and assigned?

Thanks

Saludos, kix.






[9fans] mount problem in p9p

2008-12-27 Thread kix
Hi!

I am writing an small fs with linux and plan9ports. I have some problems :-(

1. When the fs does: threadpostmountsrv(&fs, nil, mtpt, MREPL|MCREATE), the 
application fails. The problem is the mtpt directory does not exists. Then I 
need to do mkdir(mtpt, MKDIR_MODE); and then threadpostmountsrv(...). Why? I 
set the MCREATE.

2. When the fs creates the directory then I can enter and do a ls command. All 
is fine. But If I use createfile(fs->root, name, user, DMDIR|MKDIR_MODE, nil), 
then when I do a ls I get: "Numerical result out of range". Using chatty, I can 
see: "ename cannot clone open fid"

What I am doing wrong?

Thanks.

kix.




[9fans] Mount problems with p9p

2008-12-28 Thread kix

Thanks Russ for your comments,

This problem is not only with my fs. With the ramfs:

Thanks,

kix.

k...@sys:/tmp$ mkdir a
k...@sys:/tmp$ cp /usr/local/plan9/src/lib9p/ramfs.c a
k...@sys:/tmp$ cd a
k...@sys:/tmp/a$ 9c ramfs.c
k...@sys:/tmp/a$ 9l ramfs.o
k...@sys:/tmp/a$ mv a.out ramfs
k...@sys:/tmp/a$ mkdir ../b
k...@sys:/tmp/a$ ./ramfs -D -m /tmp/b
ramsrv.nopipe 0 srvname  mtpt /tmp/b
<-4- Tversion tag 65535 msize 8192 version '9P2000.u'
-4-> Rversion tag 65535 msize 8192 version '9P2000.u'
<-4- Tattach tag 0 fid 0 afid -1 uname kix aname
-4-> Rattach tag 0 qid ( 0 d)
k...@sys:/tmp/a$ mount
/dev/sda1 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
/dev/fuse on /tmp/b type fuse (rw,nosuid,nodev,user=kix)
k...@sys:/tmp/a$ cd ..
k...@sys:/tmp$ cd b
<-4- Tstat tag 0 fid 0
-4-> Rstat tag 0  stat '/' 'kix' 'kix' 'kix' q ( 0 d) m 
02000777 at 1230491535 mt 1230491535 l 0 t 0 d 0

<-4- Twalk tag 0 fid 0 newfid 1 nwname 0
-4-> Rwalk tag 0 nwqid 0
<-4- Topen tag 0 fid 1 mode 0
fid mode is 0x0
-4-> Ropen tag 0 qid ( 0 d) iounit 0
<-4- Tclunk tag 0 fid 1
-4-> Rclunk tag 0
k...@sys:/tmp/b$ echo hello > a.txt
<-4- Twalk tag 0 fid 0 newfid 1 nwname 1 0:a.txt
-4-> Rerror tag 0 ename file not found
<-4- Twalk tag 0 fid 0 newfid 1 nwname 0
-4-> Rwalk tag 0 nwqid 0
<-4- Tcreate tag 0 fid 1 name a.txt perm %M% mode 420
-4-> Rcreate tag 0 qid ( 0 ) iounit 0
<-4- Tstat tag 0 fid 1
-4-> Rstat tag 0  stat 'a.txt' 'kix' 'kix' 'kix' q ( 0 ) 
m 0644 at 1230491552 mt 1230491552 l 0 t 0 d 0

<-4- Twalk tag 0 fid 0 newfid 2 nwname 1 0:a.txt
-4-> Rwalk tag 0 nwqid 1 0:( 0 )
<-4- Twrite tag 0 fid 1 offset 0 count 6 '68656c6c 6f0a'
-4-> Rwrite tag 0 count 6
<-4- Tclunk tag 0 fid 1
-4-> Rclunk tag 0
k...@sys:/tmp/b$ ls
<-4- Twalk tag 0 fid 0 newfid 1 nwname 0
-4-> Rwalk tag 0 nwqid 0
<-4- Topen tag 0 fid 1 mode 0
fid mode is 0x0
-4-> Ropen tag 0 qid ( 0 d) iounit 0
<-4- Tstat tag 0 fid 0
-4-> Rstat tag 0  stat '/' 'kix' 'kix' 'kix' q ( 0 d) m 
02000777 at 1230491535 mt 1230491535 l 0 t 0 d 0

<-4- Twalk tag 0 fid 1 newfid 3 nwname 1 0:..
-4-> Rerror tag 0 ename cannot clone open fid
<-4- Tread tag 0 fid 1 offset 0 count 8168
-4-> Rread tag 0 count 63 '3d00  0001   
00a40100 00a0cf57 49a0cf57 4906  00050061 2e747874 03006b69 
7803006b 69780300 6b6978'

ls: reading directory .: Numerical result out of range
<-4- Tclunk tag 0 fid 1
-4-> Rclunk tag 0
k...@sys:/tmp/b$



Re: [9fans] plan 9 regexp

2009-06-03 Thread Rodolfo (kix)
I Hugo,

I do not use regex in plan9, but about the question:

> But then, how exactly the '?' operator is useful for grep? I was
> thinking that it was good to filter lines that contain more characters
> that desired, but it is not.

In PERL, for example, you can do something like:

^a$

where ^ is start of line
and $ end of line.

For example, for lines with 8 characters and the ? operator:

^$

Saludos.

On Wed, Jun 3, 2009 at 4:56 PM, hugo rivera  wrote:
> Hello,
> I am experimenting with some regexp implementations (namely the one
> from "the practice of programming") and I am a little disoriented by
> the use of the '?' operator in plan 9's grep:
> say I have the following input
>
> bbb
> ab
> b
> bb
> b
> aaabb
> 
>
> which I feed into grep with
>
> grep 'a+bb?'
>
> which should match at least one 'a' followed by one or two 'b'. So,
> grep's output is
>
> bbb
> ab
> b
> aaabb
>
> which really surprised me at first, since I wasn't expecting the first
> line. After some thought, I realized that the 'b' and the 'bb'
> patterns, contained in the first line of input, match the regexp, so
> grep prints the line.
> But then, how exactly the '?' operator is useful for grep? I was
> thinking that it was good to filter lines that contain more characters
> that desired, but it is not.
> Saludos
> --
> Hugo
>
>



-- 
Rodolfo García "kix"
EA4ERH - IN80ER



Re: [9fans] plan9port tools speed

2009-07-24 Thread Rodolfo (kix)
The files are stripped?

try "file /usr/local/plan9/bin/grep"

if is non-stripped, try with "strip /usr/local/plan9/bin/grep"



On Fri, Jul 24, 2009 at 11:08 AM, Francisco J Ballesteros wrote:
> Think about shared libraries in linux.
>
>>
>> Moreover, the executables in plan9/bin are bigger. Again, plan9's 'grep' is
>> 40% bigger:
>
>



-- 
Rodolfo García "kix"
EA4ERH - IN80ER



Re: [9fans] first timer - editing plan9.ini

2009-07-24 Thread Rodolfo (kix)
Some post are very constructive ...

vim is not Linux, sometimes I use it on Windows :-)


On Fri, Jul 24, 2009 at 6:38 PM, Kix wrote:
> Some post are very constructive ...
>
> vim is not Linux, sometimes I use it on Windows :-)
>
>
> El 24/07/2009, a las 12:49, maht  escribió:
>
>>
>>> Though I'm guessing that I'll be installing Stefan's vim port asap - I'm
>>> _extremely_ happy that this exists.
>>>
>>> http://vmsplice.net/9vim.html
>>>
>> If you want Linux, you know where to find it
>>
>



-- 
Rodolfo García "kix"
EA4ERH - IN80ER



Re: [9fans] vmware installation problems

2009-07-29 Thread Rodolfo (kix)
Is an strange problem ... problem with interrupts?

Try to disable some hardware stuff, like the CD-ROM, USB, soundcard, etc.

This problem is only with plan9?

On Wed, Jul 29, 2009 at 4:49 PM, roger peppe wrote:
> well, now i've got another problem...
> i'm gettting strange time behaviour in the virtual machine.
> (as before, this is under VMWare 2.0.5, latest plan 9 ISO)
>
> time goes much faster than it should,
> and the VM hangs up for approx 7 seconds
> every 40 seconds or so. after a hangup, system
> time proceeds even faster for a little while,
> before settling down again.
>
> i've attached a pdf graph of the behaviour
> (times in seconds, real time on the x-axis, system time on
> the y-axis, data points generated by looping alternating
> reading /dev/time and sleep(1000)). the
> blank spots in the graph are where the system
> was hung up unresponsive, not even the mouse cursor
> moves.
>
> anyone got any idea what might be going on here?
>



-- 
Rodolfo García "kix"
EA4ERH - IN80ER



Re: [9fans] outage Aug 2nd

2009-08-03 Thread Rodolfo (kix)
Thanks Geoff

On Sun, Aug 2, 2009 at 2:20 AM,  wrote:
> Sunday afternoon (EDT), August 2nd, we'll move the Murray Hill Plan
> 9 systems back into our newly-renovated machine room.  Plan 9 will be
> unavailable for some of this time.
>
>



-- 
Rodolfo García "kix"
EA4ERH - IN80ER



Re: [9fans] iwp9 paper submission deadline

2009-08-13 Thread Rodolfo (kix)
http://iwp9.quanstro.net/ :-)

On Thu, Aug 13, 2009 at 3:36 PM, erik quanstrom wrote:
> it's fast approaching.  get those papers in.
>        http://iwp9.net
>
> - erik
>
>



-- 
Rodolfo García "kix"
EA4ERH - IN80ER



Re: [9fans] "Blocks" in C

2009-09-02 Thread Rodolfo (kix)
Hi kix (Anant),

I don't like it, but the question is: do you need it?

If you can do the same code with 8c, without much efford, then
probably you don't need it.

kix

On Wed, Sep 2, 2009 at 10:04 AM, Anant Narayanan wrote:
> Mac OS 10.6 introduced a new C compiler frontend (clang), which added
> support for "blocks" in C [1]. Blocks basically add closures and anonymous
> functions to C (and it's derivatives). Full details with examples are in the
> linked article. I think the feature is quite elegant and might be useful in
> cases where you want map/reduce like functionality in C.
>
> How much effort would it be to support a feature similar to blocks in 8c
> (and family)? What are your thoughts on the idea in general?
>
> --
> Anant
>
> [1] http://arstechnica.com/apple/reviews/2009/08/mac-os-x-10-6.ars/10
>
>



-- 
Rodolfo García "kix"
EA4ERH - IN80ER



Re: [9fans] nice quote

2009-09-02 Thread Rodolfo (kix)
I believe OS/2 is destined to be the most important operating system,
and possibly program, of all time.
(Bill Gates, OS/2 Programmers Guide, November 1987)

... we are all human ...

:-)

On Wed, Sep 2, 2009 at 4:29 PM, ron minnich wrote:
> Q: "Will C continue to be important into the future?"
> (Dave Kirk, Nvidia)A: "No, I think C will die like Fortran has"
>
> ron
>
>



-- 
Rodolfo García "kix"
EA4ERH - IN80ER



[9fans] Small, but usefull?

2009-09-03 Thread Rodolfo (kix)
http://www.picotux.com/indexe.html

-- 
Rodolfo García "kix"
EA4ERH - IN80ER



Re: [9fans] Announcing ninefs for win32

2009-11-05 Thread Rodolfo (kix)
Thanks a lot

cool++

On Thu, Nov 5, 2009 at 10:53 PM, Tim Newsham  wrote:
> I'd like to announce ninefs for win32.  This is a Dokan
> based 9p filesystem driver for win32 systems built with
> npfs.  This is an early release intended for the bolder
> user.  I've set up a mailing list for the project so
> please direct feedback there.
>
>  http://code.google.com/p/ninefs/
>  http://ninefs.googlecode.com/files/README.txt
>  http://groups.google.com/group/ninefs
>
> Tim Newsham | www.thenewsh.com/~newsham | thenewsh.blogspot.com
>
>



-- 
Rodolfo García "kix"
EA4ERH - IN80ER



Re: [9fans] Where can i get teh code of the Paln 9

2009-11-23 Thread Rodolfo (kix)
Probably the newbie guide can help you:

www.quanstro.net/newbie-guide.pdf

And the nemo's intro guide:

http://lsub.org/who/nemo/9.intro.pdf

On the other hand, searching in google "Plan 9 OS" the first link is:

http://plan9.bell-labs.com/plan9/

...

slds.

On Mon, Nov 23, 2009 at 11:17 AM, vsong  wrote:
> Hi,
> I want to learn about the Plan 9 OS, and I want to read its source
> code and compile it.Where can i check out it?
>
> thx
>
>



-- 
Rodolfo García "kix"
EA4ERH - IN80ER



Re: [9fans] wanted: ventifs?

2010-03-22 Thread Rodolfo (kix)
vacfs?

saludos.

On Tue, Mar 23, 2010 at 3:02 AM, YAMANASHI Takeshi <9.na...@gmail.com> wrote:
> Hi,
>
> I remember that there was a program called "ventifs" at one time in the past
> which enabled users  to traverse a venti tree using usual 'cd' and 'ls' 
> commands
> but I couldn't find it on the recent /n/sources/plan9 .
>
> Can someone let me know where I can find it?
> --
> YAMANASHI Takeshi
>
>



-- 
Rodolfo García "kix"
http://www.kix.es/ ham: EA4ERH @ IN80ER



Re: [9fans] Recommended emulators/VMs for P9 install

2010-04-15 Thread Rodolfo (kix)
I am agreed with Federico,

vmware. Do not spend time with other emulators.


El 15 de abr de 2010, 9:02 p.m., "Federico G. Benavento" <
benave...@gmail.com> escribió:

vmware, the rest just suck, qemu and virtual box being
the slowest

On Thu, Apr 15, 2010 at 2:11 PM, Joel C. Salomon 
wrote: > My computer died...
--
Federico G. Benavento


Re: [9fans] iwp94e proceedings

2010-05-02 Thread Rodolfo (kix)
and iwp9-5e?

On Sat, May 1, 2010 at 3:12 PM, erik quanstrom  wrote:
> http://iwp9.org/iwp94e.pdf
>
> - erik
>
>



-- 
Rodolfo García "kix"
http://www.kix.es/ ham: EA4ERH @ IN80ER



Re: [9fans] iwp9.org (Re: BibTex collections of all 4 proceedings)

2010-05-12 Thread Rodolfo (kix)
Hi,

IMHO I prefer Europe. The first iwp9 was in Europe, the second in USA,
third in Europe, the last in USA and the next?

On the other hand, Seattle (WA) is very far far far far away from here
(Europe). I cannot offer any place.



On Wed, May 12, 2010 at 6:08 PM, Chad Brown  wrote:
> FWIW, there are two Google offices in the Seattle area; one in Freemont and 
> one in Kirkland, which is just across the water.    Either one likely has a 
> useful setup for recording presentations and might also be usable for live 
> streaming of same.   Of course, neither is particularly near SeaTac.
>
> *Chad
>



-- 
Rodolfo García "kix"
http://www.kix.es/ ham: EA4ERH @ IN80ER



Re: [9fans] regexp doubt

2010-07-13 Thread Rodolfo (kix)
Can you try:

/stat[abc]?[ ;\\-]/

I am not sure (and I do not have acme here), but probably the problem
is with the backslash.

You can try this too:

/stat[abc]?[ ;-]/

Saludos.

On Tue, Jul 13, 2010 at 5:01 PM, Vinu Rajashekhar  wrote:
>
> On Tue, Jul 13, 2010 at 8:26 PM, hugo rivera  wrote:
>>
>> Hi,
>> can someone tell me why the regular expression /stat[abc]?[ ;\-]/
>> doesn't match the string "stat-" in acme? I expect it to match, where
>> does my mistake lie?
>> Saludos,
>>
> It's the [abc]? I guess, it says that you want an a, b, or c after stat.
>>
>> --
>> Hugo
>>
>
>



-- 
Rodolfo García "kix"
http://www.kix.es/ ham: EA4ERH @ IN80ER



Re: [9fans] music video that everone on this list will agree with :-)

2009-03-24 Thread Rodolfo kix Garcia
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I remember this:

http://www.youtube.com/watch?v=q5THcoVW0oM

Youtube is fine to find some old things :-)

- --
- -kix-
http://www.kix.es/

Joel C. Salomon escribió:
> …and do you believe in yesterday(1)?
> 
> <http://www.youtube.com/watch?v=5BXDikj1i7w> or
> <http://www.youtube.com/watch?v=rpdiXspBALg>; no idea which is the
> more faithful rendition.
> 
> —Joel Salomon
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknJVlYACgkQypsm9Ypb0yqlOgCff0ER0ZwrzmG6OixKhaZ5iA+z
n70AmwedvrR/Rw7srmRC/zaEfhebbkEX
=csOf
-END PGP SIGNATURE-



[9fans] Kernel Compiling Problem

2008-03-23 Thread Rodolfo kix Garci­a

Hi,

The last week I downloaded the plan9.iso.bz file from the sources. Then 
I installed it in a vmware machine, perfect.


Then, I pulled and I tryed to compile the pccpuf kernel (with glenda). I 
got a problem.


First time:

term% mk 'CONF=pccpuf'
8a $AFLAGS l.s
mk: don't know how to make '/386/bin/fossil/fossil' in directory 
/sys/src/9/pc

term%

Second time:

term% mk 'CONF=pccpuf'
8a $AFLAGS plan9l.s
mk: don't know how to make '/386/bin/fossil/fossil' in directory 
/sys/src/9/pc

term%

Third time:

term% mk 'CONF=pccpuf'
8c -FVw cga.c
mk: don't know how to make '/386/bin/fossil/fossil' in directory 
/sys/src/9/pc

term%

Every time, the same error but with "the next" file to compile.

Yesterday, I tryed it with a new plan9.iso CD (the latest) and qemu. I 
got the same problem.


I leave the qemu's image at http://www.kix.es/files/plan9/P9-try.rar 
(with the windows binaries and the linux launcher)


Anybody can check the qemu's image or try to do a new installation with 
the plan9.iso?


Thanks

kix



Re: [9fans] Kernel Compiling Problem

2008-03-24 Thread Rodolfo kix García

> I'm assuming /386/bin/fossil/fossil does not, in fact, exist.


The file exists:

term% ls -l /386/bin/fossil/fossil
--rwxrwxr-x M 8 sys sys 366315 Dec 31  1969 /386/bin/fossil/fossil
term%

> The fact that the last file completed changes is just a distraction
> in this case; I suspect you have $NPROC>1 and mk is parallelizing
> its work. I think if you set NPROC=1 before running mk you'll stop
> seeing that last file change.

I am getting the same problem with or without setting NPROC=1

> The problem is simply that the kernel mkfiles don't know how to
> build things in /sys/src/cmd. The trivial work-around is to build
> fossil yourself (cd /sys/src/cmd/fossil && mk install). There's
> likely to be other similar binaries needed, so I'd recommend you
> 'mk install' all of /sys/src/cmd.

Yes!? Here is the problem:

If I compiled fossil and now, doing the mk with pccpuf, show me an error
with libip.a :-?
Then, I compiled libip.a and now the kernel is compiling ok.

The real problem is this is the official plan9.iso CD, with the default
installation, then other people will have the same problem.

> Anthony

Thank you Anthony,

>
>


-- 
Rodolfo García AKA kix
http://www.kix.es/
EA4ERH (@IN80ER)




Re: [9fans] Kernel Compiling Problem

2008-03-24 Thread Rodolfo kix García
Hi,

yes, December 1969 is the date of this file. The file _fossil has the same
time.

In the plan9.iso the date for /386/bin/fossil/fossil is Feb 29 2008.

The size is equal in the plan9 installation and the plan9.iso, 336315 bytes


>> term% ls -l /386/bin/fossil/fossil
>> --rwxrwxr-x M 8 sys sys 366315 Dec 31  1969 /386/bin/fossil/fossil
>
> December 1969?  I think not.
>
> What does the date command on your system say?
>
> What is the date on this file on your installation ISO image?
>
>
>


-- 
Rodolfo García AKA kix
http://www.kix.es/
EA4ERH (@IN80ER)




Re: [9fans] Kernel Compiling Problem

2008-03-24 Thread Rodolfo kix García
Hi,

thanks for your reply

>> yes, December 1969 is the date of this file. The file _fossil has the
>> same
>> time.
>
> It seems that replica/applylog (which is used for both install
> and pull) isn't setting the correct date on your files.
>
> Please try the following commands:
>
>   date

Mon Mar 24 18:22:08 EST 2008 (now :-) )

>   ls -l /dist/replica/didplan9 /dist/replica/client

--rw-rw-r-- M 8 glenda sys 0 Mar 22 20:17 /dist/replica/didplan9

>   cat /dist/replica/client/plan9.time

1206163804  0

>   grep 386/bin/fossil/fossil /dist/replica/client/plan9.db

386/bin/fossil/fossil - 755 sys sys 0 366315
386/bin/fossil/fossil - 755 sys sys 0 366315
386/bin/fossil/fossil - 755 sys sys 0 366315

>
>
>


-- 
Rodolfo García AKA kix
http://www.kix.es/
EA4ERH (@IN80ER)




Re: [9fans] Kernel Compiling Problem

2008-03-24 Thread Rodolfo kix Garci­a
I don't run pull in this default installation, then the install CD do 
not write this value.


I got the same problem with two different CD images, three days ago and 
one week ago, installing them in vmware and qemu virtual machines.


Thanks Richard

Richard Miller escribió:

  grep 386/bin/fossil/fossil /dist/replica/client/plan9.db
  

386/bin/fossil/fossil - 755 sys sys 0 366315
386/bin/fossil/fossil - 755 sys sys 0 366315
386/bin/fossil/fossil - 755 sys sys 0 366315



The '0' is what replica/applylog wrote as the file modification time -
clearly the wrong thing to do.  I don't understand this, because as
far as I can see the mtime should be taken from the actual mtime of
the file being copied from the CD (install) or sources (pull).


  





Re: [9fans] Installing Plan 9 on a ICH9 SATA controller.

2008-03-29 Thread Rodolfo kix Garcia
Has you try to put the sata controller in legacy pata or something like? 
I had the same problem with my Linux and I changed to pata and all works 
fine. The AHCI mode do not run with me.


slds.

Armando Camarero escribió:

Hi,

I've tried to install Plan 9 on my new computer and I'm having trouble 
with the SATA controller.


If I have AHCI mode enabled in BIOS:
- Booting the install CD only gets to:
   PBS1...Bad format or I/O error

- Booting using a floppy:
   9load seems to load fine, and it even detects the SATA controller 
printing

   sdiahci: drive 0 in state ready after 0 resets
   (it does the same for drive 1, wich should be the DVD drive).

But it only lists fd0 as valid boot source.

Following advice from people in #plan9 I disabled AHCI mode and went 
for legacy mode:
- Install CD booted fine. I could even partition the hard disk. But it 
can't copy files as it begins throwing lots of I/O errrors while 
copying files. I tried with DMA enabled and disabled.


I switched back to AHCI mode and tried booting the floppy again. Now 
it shows fd0 and sdE0!9fat as boot devices (9fat partiton is empty, so 
I can't boot). It seems in AHCI mode it can access hard disk just 
fine, but it can't access the DVD drive.


Both hard disk and DVD drive are connected via SATA to the ICH9 
controller.


Any ideas?

Thanks in advance.
Armando.







[9fans] Factotum

2008-05-03 Thread Rodolfo kix Garci­a

factotum comes from the Charles Bukowski's book?



Re: [9fans] Flash

2008-05-10 Thread Rodolfo Garcia (kix)
> I'm currently using opera on debian and I luckily can't seem to find
> any working flash plugins in the apt repositories. It sometimes sucks
> not being able to see some pages, but all in all I also think I am
> more productive now. I don't like the flash blocking. It doesn't save
> any time, but rather forces you t o click around even more.


You can download the flash player for linux. It has an installer.
The installer copy the .so file in the browser's plugin directory.

saludos




Re: [9fans] I/O load crashes Qemu

2008-06-13 Thread Rodolfo kix García

I have problems with Qemu too. Qemu hangs booting, hangs after booting,
hangs ramdomly, ... with or without venti.

I am using now a "new" PC for Plan9

> Everything, in my experience, crashes QEMU. Nice try.
>
> Just the opinion of me and my dog (who barks loudly when I shout
> f**king QEMU - piece of f**king  sh*t!).
>
> Hey, this is off topic but ... anyone had fun with a Asus EeePC? The
> excess stock are being sold in Oz and I got a 4G for US$300. Tho Amzon
> were down to 4. Let me know off-list.
>
> Regards,
>
> The Dude With The Little Dog.
>
>


-- 
Rodolfo García AKA kix
http://www.kix.es/
EA4ERH (@IN80ER)




[9fans] USB keyboard/mouse

2008-06-16 Thread Rodolfo kix Garci­a

Hi,

I am trying to use a Logitech USB Keyboard+Mouse in Plan 9. The keyboard 
is running in the bios, but when Plan 9 is starting the keyboard is not 
responding. I can't select where is the root partition (hit enter).


Any help?

Thanks.



Re: [9fans] USB keyboard/mouse

2008-06-17 Thread Rodolfo kix García

> Hello,
>
> That thread may be related to an issue similar to yours:
> http://groups.google.fr/group/comp.os.plan9/browse_frm/thread/29db526113595aef
>
> Cheers,
> Mathieu.

That mail was in my mailbox ... sorry. Yesterday I looked for the problem
and I didn't find the solution.

Thanks.

-- 
Rodolfo García AKA kix
http://www.kix.es/
EA4ERH (@IN80ER)




Re: [9fans] P9p's mount(1) on linux

2008-06-19 Thread Rodolfo kix García
In my opinion,

the Uriel patch is better. If you check for the words "9p(2000)" and
"fuse" (without spaces, end of line, start of line, or other things)
probably the patch will be "kernel independent"

The "lsmod" output format can change in new releases too.

Saludos.

> Thanks for your reply, but I'm not clear what you mean: should p9p's
> mount check the kernel version? or are you talking about 9mount?
>
> By the way, where can one find the git tree with the latest v9fs? I
> was googling and struggling with the swik 'thing' (words fail me...),
> but couldn't find it, I know it is somewhere...
>
> Also any other feedback on what changes and improvements 9mount might
> need before it can be made part of p9p (or maybe shipped with the
> standard linux mount(1) tools?).
>
> uriel
>
> On Thu, Jun 19, 2008 at 3:57 AM, Eric Van Hensbergen <[EMAIL PROTECTED]>
> wrote:
>> because I'm difficult you may need to check the version of the kernel
>> you are running, some of the options syntax has changed and you may
>> want to set some of the newer security options (the access option) to
>> be more consistent with the Plan 9 mindset.
>>
>> -eric
>>
>> On Wed, Jun 18, 2008 at 8:42 PM, Uriel <[EMAIL PROTECTED]> wrote:
>>> Here is a tinny patch to make p9p's mount(1) work on linux even if you
>>> have the v9fs (or fuse *yuck*) modules built into your kernel rather
>>> than as modules.
>>>
>>> Still there is the issue of what to do if you are not root, maybe a
>>> 9pmount helper program that is suid could take care of this? Sqweek
>>> wrote a very nice 9mount program (
>>> http://sqweek.dnsdojo.org/code/9mount/docs )  that maybe could be
>>> added to p9p, unfortunately v9fs has changed its interface/params once
>>> more and 9mount doesn't work with recent kernels *sigh*
>>>
>>> Peace and best wishes
>>>
>>> uriel
>>>
>>> P.S.: Can someone please forward this to russ, last I heard he had my
>>> email address in his kilfile.
>>>
>>> diff -r fe7a4a762f75 bin/mount
>>> --- a/bin/mount Sun Jun 15 01:46:23 2008 -0400
>>> +++ b/bin/mount Thu Jun 19 03:41:08 2008 +0200
>>> @@ -6,12 +6,12 @@
>>>  }
>>>  switch(`{uname}){
>>>  case Linux
>>> -   if(lsmod|9 grep -si '^9p(2000)? '){
>>> +   if(cat /proc/filesystems|9 grep -si '   9p(2000)?$'){
>>>    if(u test -S $1)
>>>exec u mount -t 9p -o proto'='unix,name'='$USER
>>> $1 $2
>>>exec u mount -t 9p -o proto'='tcp,name'='$USER $1 $2
>>>}
>>> -   if(lsmod|9 grep -si '^fuse ')
>>> +   if(cat /proc/filesystems|9 grep -si '   fuse$')
>>>exec 9pfuse $1 $2
>>>echo 'don''t know how to mount (no 9p, no fuse)' >[1=2]
>>>  case FreeBSD
>>>
>>>
>>
>>
>
>


-- 
Rodolfo García AKA kix
http://www.kix.es/
EA4ERH (@IN80ER)




Re: [9fans] sad commentary

2008-07-03 Thread Rodolfo kix García

> Robert William Fuller wrote:
>> erik quanstrom wrote:
>>
>> 
>>
>>> these are tetonic forces.  there's nothing directly
>>
>> As a geologist, I can't let this one slip (pun intended.)  It's
>> tectonic.
>
> Being of german ancestry, I can't let it slip either..  Maybe Eric meant
> Teutonic?  Either would fit, and neither requries UTF-8 :-)
>
> Off topic? We don't need no topic, we're the
> http://en.wikipedia.org/wiki/Teutonic_Knights who say ni!
>
>   Adrian

In Spain, a woman with big tits is a "Tetona", be carefull with this
forces :-)

>
>
>


-- 
Rodolfo García AKA kix
http://www.kix.es/
EA4ERH (@IN80ER)




Re: [9fans] look and feel for iwp9

2008-07-03 Thread Rodolfo kix Garci­a

ron,

look at http://9fans.net/archive/2006/11/59. There are more mails in 
2006/11 and 2006/10 about TeX and iwp9.


Probably you migth convert the lyx format to TeX (LaTeX) and apply that 
header.


slds.

ron minnich escribió:

noble goal: look like plan 9 docs

ways to goal:
1. troff
2. tex with the right macros
3. lyx with the right layouts

so I have this paper written in lyx, if anyone has a pointer to (3), let me know

ron

  





Re: [9fans] vx32 vs. drawterm

2008-07-04 Thread Rodolfo kix García
But we don't have vx32 for Windows yet.


> I'm finding that vx32 is a *way* better way to get to lguest guests
> than drawterm :-)
>
> It is just so much snappier.
>
> ron
>
>


-- 
Rodolfo García AKA kix
http://www.kix.es/
EA4ERH (@IN80ER)




Re: [9fans] bundle //GO.SYSIN DD

2008-07-29 Thread Rodolfo kix Garci­a
Job Control Language, I am not sure, but I belive was/is used in batch 
proccessing in the IBM Mainframes.


Roman V. Shaposhnik escribió:

ron minnich wrote:

more useless crap from memory:

the actual correct usage is
//GO.SYSIN DD *

but of course the * would make things messy.

See this and realize this stuff is still being taught!
http://www.coba.unt.edu/itds/courses/bcis3690/bcis3690.ht

So... for the dense ones (like myself), what IS the joke Rob was
referring to? JCL == Java Control Language?

Thanks,
Roman.






Re: [9fans] SATA VT8251 support?

2008-08-06 Thread Rodolfo kix García
Hi Erik,

I try it this morning, but the server don't boot. I cannot say nothing
about the problem, because the server is "far far away" and we don't have
console.

Probably we need change the 9load to include this SATA support.

Any help?

Thanks Eric,

slds.


>> i cant see anywhere in sdata.c and sdiahci.c. . . i guess it isnt
>> supported at all, so there is no option to fill some "silly" pci-id
>> somewhere to get it going.
>
> try http://www.quanstro.net/sdiahci.c.
>
> i hadn't enabled this in the release version because i didn't
> have any hardware on which to test.  let me know how this
> works for you.
>
> - erik
>
>


-- 
Rodolfo García AKA kix
http://www.kix.es/
EA4ERH (@IN80ER)




Re: [9fans] test command

2008-09-10 Thread Rodolfo kix García

a < b = !(a > b) + (a = b)

> On Wed, Sep 10, 2008 at 3:19 AM, Kenji Arisawa <[EMAIL PROTECTED]>
> wrote:
>> Hello,
>>
>> "test" command of plan 9 has a operator "older", the usage is:
>>test f -older t
>> where f is a file and t is a time.
>> however the command does not have "newer" operator.
>> why?
>>
>
> If a < b, and you want to know if b > a, can't you just do a < b?
>
> ron
>
>


-- 
Rodolfo García AKA kix
http://www.kix.es/
EA4ERH (@IN80ER)




Re: [9fans] installation usb mouse

2008-09-22 Thread Rodolfo kix García
Hi Armando,

in any case, you can edit the plan9.ini:

If you are in console, you can edit it using "ed". The first time is not
very easy, but only the first time ...

If you are in rio (user glenda), you can edit doing:

Hit enter, because the window on the top is selected. You can try with ed
too.

What is your usb controller? Your laptop have an ps2 connector? and touchpad?

> Hi everyone,
>
> I would like to know how can i install a usb mouse on my laptop,
> because i was trying with usb/usbd
> usb/usbmouse
> with no success,also i can't modify anything in the plan9.ini because
> the laptop mouse doesn't have the scroll button. I don't know if the
> problem is from the usb controller on my laptop, i write from italy, i
> dont know if the hardware in europe is different than america, i have
> a toshiba like a laptop.
> thanks in advance for your replays.
>
> Armando.
>
>


-- 
Rodolfo García AKA kix
http://www.kix.es/
EA4ERH (@IN80ER)




Re: [9fans] Init hangs

2008-09-22 Thread Rodolfo kix García
Hi!

I am not sure, and my reply can be stupid ...

Try to disconect the CD-Rom in vmware, and boot plan9

slds.


> Hi 9fans!
>
> I downloaded the ISO image dated 18 Sep 2008. The live CD worked
> beautifully,
> so I decided to install under VMWare Workstation 6. Well done to the guys
> who
> did the new(ish?) installer, IMHO it's a big improvement over the old one.
>
> Anyway, after installing and rebooting, the kernel gets as far as running
> init, which prints out
>
> init: starting /bin/rc
>
> and then hangs. I've taken a look at /sys/src/cmd/init.c and found that
> this line gets printed from the following code near the bottom of main:
>
>   for(;;){
>   print("\ninit: starting /bin/rc\n");
>   fexec(rcexec);
>   manual = 1;
>   cmd = 0;
>   sleep(1000);
>   }
>
> What could have gone wrong? If exec had failed, an error message would
> have
> been printed. The only thing I can think of is that perhaps /bin/rc is an
> invalid image.
>
> Is there a core dump file I can examine to find out what's going wrong?
> I'm
> a noob, so please, put away the lighter and help me out :)
>
> TIA,
> Ralph
>
>
>


-- 
Rodolfo García AKA kix
http://www.kix.es/
EA4ERH (@IN80ER)




Re: [9fans] iwp9 hotel info

2008-10-14 Thread Rodolfo kix García
I have the room in the Phillipos too. Is cheaper than the Park Hotel with
or without the IWP9 offer. On the other hand, probably the Park Hotel is
better.

> On Tue, Oct 14, 2008 at 4:03 PM, Noah Evans <[EMAIL PROTECTED]> wrote:
>> What kind of deal did you guys get at Park hotel? I settled on a
>> double twin at the Phillipos for 75 euros.
>
> I can't remember, but whatever the price for a single room was with the
> IWP9 thing.
>
>
>
> --
> - curiosity sKilled the cat
>
>


-- 
Rodolfo García AKA kix
http://www.kix.es/
EA4ERH (@IN80ER)




[9fans] VMware Server 2.0 Video Chipset

2008-10-22 Thread Rodolfo kix Garcia

Hi!

I am trying to boot a new installation of Plan9 in a VMware Server 2.0. 
All is fine (installation under textonly) but I can´t get rio.


I get this on the console:

aux/vga: vgactlw: linear 0x800 0x0: unknown vmware id 0740
rio: can't open display: initdisplay: /dev/draw/new: no frame buffer.

Then, I try this:

1. Edit plan9.ini and change monitor=vesa: Plan9 boot stops before rio 
starts (hanged)
2. Edit /lib/vgadb and add a new vmware card, with the new id (0x0740) 
and recompile the pcf kernel with the options of vmware1(kernel 1) and 
vmware2 (kernel 2) id's. Copy the kernels to 9fat partition and boot 
with them. Both kernel stops before rio starts (hanged)


Any help?

Thanks. slds.



Re: [9fans] VMware Server 2.0 Video Chipset

2008-10-22 Thread Rodolfo kix Garcia
The kernel file edited was /sys/src/9/pc/vgavmware.c and copy the 
options of vmware1 and vmware2 cards.


slds

Rodolfo kix Garcia escribió:

Hi!

I am trying to boot a new installation of Plan9 in a VMware Server 
2.0. All is fine (installation under textonly) but I can´t get rio.


I get this on the console:

aux/vga: vgactlw: linear 0x800 0x0: unknown vmware id 0740
rio: can't open display: initdisplay: /dev/draw/new: no frame buffer.

Then, I try this:

1. Edit plan9.ini and change monitor=vesa: Plan9 boot stops before rio 
starts (hanged)
2. Edit /lib/vgadb and add a new vmware card, with the new id (0x0740) 
and recompile the pcf kernel with the options of vmware1(kernel 1) and 
vmware2 (kernel 2) id's. Copy the kernels to 9fat partition and boot 
with them. Both kernel stops before rio starts (hanged)


Any help?

Thanks. slds.






Re: [9fans] Is /proc an Plan9 invention ?

2008-11-07 Thread Rodolfo kix Garcia

http://en.wikipedia.org/wiki/Procfs:


 UNIX 8th Edition

Tom J. Killian 
 
implemented the UNIX 8th Edition 
 version of |/proc|: he 
presented a paper titled "Processes as Files" at USENIX 
 in June 1984. The design of procfs 
aimed to replace the /ptrace 
/ 
system call used for process tracing.




Enrico Weigelt escribió:

Hi folks,


the english wikipedia page on Plan9 implies that procfs was
an Plan9 invention. 


Is this true ?


cu
  





Re: [9fans] Cannot "boot from:"

2008-11-08 Thread Rodolfo kix Garcia
Your CD-Rom is SATA? If it is, try to change it to legacy mode in BIOS 
and try


Trask Bryant Trojanek escribió:

I am using a Dell Latitude CPx laptop, trying to install Plan 9.
I successfully get to the "boot from:" line, but anything I put into 
the entry gives back no feedback. I have tried sdC0!cdboot!9pcflop.gz 
, sdC1!cdboot!9pcflop.gz , sdD0!9pcflop.gz , and sdD1!9pcflop.gz with 
no luck.

Some of the lspci from Linux is posted here:
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX 
Host bridge (rev 03)
00:01.0 PC bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP 
bridge (rev 03)

00:03.0 CardBus bridge: Texas Instruments PCI1225 (rev 01)
00:03.1 CardBus bridge: Texas Instruments PCI1225 (rev 01)
00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)

I can post the rest if needed (I have to type it by hand..) and any 
other general Linux commands output as well.

I would very much like to get Plan 9 working on this laptop.






Re: [9fans] Books on plan 9

2008-11-15 Thread Rodolfo kix Garcia

Hi Nolan,

you can buy some items here: http://www.vitanuova.com/products.html

Saludos.

Nolan Hamilton escribió:
I was wondering if there are any books on plan 9. I mean that I can 
buy at a book store, not just a .pdf.  I have already read nemo's 
textbook.


-Nolan Hamilton





Re: [9fans] I want to port some program or driver

2008-11-17 Thread Rodolfo kix García

Really, do you read your messages?

http://9fans.net/archive/2008/11/35



> Hi all,
>
> I want to port some program or driver to Plan9 which is challenging as
> well as important for Plan9. Please suggest me .
>
> Is any JVM ported to Plan9? or Firefox? or any other suggestions
>
> Anticipating replies.
> Regards
> Siddharth
>
>


-- 
Rodolfo García AKA kix
http://www.kix.es/
EA4ERH (@IN80ER)




Re: [9fans] rio startup fails in VMWare Fusion 2.0.0

2008-11-19 Thread Rodolfo kix García

Thanks Richard.

>>   aux/vga: vgactlw: : unknown vmware id 0740
>
> It was picking up the wrong pci device - 15AD/0740 is a "virtual machine
> communication interface", not the virtual vga controller.
>
> Fixed by new version of /sys/src/9/pc/vgavmware.c now on sources.
>
>
>


-- 
Rodolfo García AKA kix
http://www.kix.es/
EA4ERH (@IN80ER)




Re: [9fans] gmail

2008-11-20 Thread Rodolfo kix García

The search function with the rigth button do not function ;-)

> gmail just changed their interface more into the direction of rio acme.
>
>


-- 
Rodolfo García AKA kix
http://www.kix.es/
EA4ERH (@IN80ER)




Re: [9fans] BeagleBoard

2008-11-25 Thread Rodolfo kix García

This other one can be interesting too:

http://www.thelinuxstamp.com/

> Anyone tried to get Plan 9 running on it?
> http://beagleboard.org/
>
> --
> Anant
>
>
>


-- 
Rodolfo García AKA kix
http://www.kix.es/
EA4ERH (@IN80ER)




[9fans] Sources down

2008-11-30 Thread Rodolfo kix Garcia

Hi!

sources seems to be down:


 Object not found

The object / does not exist on this server.

errstr: '/bin/ip/httpd/sources' does not exist
uri host:
header host:
actual host: plan9.bell-labs.com



Saludos,

kix.



Re: [9fans] How do I set passwords for users?

2008-12-02 Thread Rodolfo kix Garcia

Nolan,

how are you trying to connect to the Plan9? drawterm?

Plan9 do not request for a password on console.

Saludos.

Nolan Hamilton escribió:
I created a user nhh, and would just like to know how to set a 
password for it.

I tried "auth/changeuser nhh"
and entered in all of the answers for each prompt.
still no password after the
user[nhh]:
prompt.
 





Re: [9fans] Very Off-Topic: Anybody here reads Sci-Fi? :)

2008-12-03 Thread Rodolfo kix García

Sci-Fi? In Spain we have newspapers.

> Anathem by Neil Stephenson. Not incredibly fast-paced but loads of
> idea-porn. Apart from some (convincing) nano-technological concepts,
> the science is pretty much "hard" (i.e realistic).
>
>
> 2008/12/3 Fernan Bolando <[EMAIL PROTECTED]>:
>> Hi all
>>
>> I am not sure if anybody here reads Sci-Fi novels. Any recommendations?
>>
>>
>> --
>> http://www.fernski.com
>>
>>
>
>


-- 
Rodolfo García AKA kix
http://www.kix.es/
EA4ERH (@IN80ER)




[9fans] Mouse jumps in vmware

2008-12-07 Thread Rodolfo kix Garcia

Hi!

I use acme in vmware (windows) with two different virtual machines, a 
Plan9 virtual machine and Linux+p9p virtual machine. The problem is the 
same.


When I make r-click in acme (to search, or open a file), and the mouse 
jumps to other place in the screen and vmware lost the mouse reference. 
This is probably because the mouse is not moved, only the pointer on the 
screen is drawed. Then I have problems moving it, the mouse is slow in 
some places of the screen, ...


Is possible that acme sends to vmware (or the real os) something like 
"move left, move left, ... move up, move up, ..." to the new position? 
Then the relation between the real mouse pointer (vmware) and the 
virtual mouse pointer (plan9 or linux+x11+p9p) will be equal and then we 
will not have this problems.


Yes, I know, the problem is vmware :-)

kix



Re: [9fans] Mouse jumps in vmware

2008-12-07 Thread Rodolfo kix Garcia

Hi Lucio,

I am happy with vmware. Is very good environment for my plan9, because 
my wifi card is not supported, ...


"the problem is vmware" is to avoid comments about it.

[EMAIL PROTECTED] escribió:

Yes, I know, the problem is vmware :-)



No, the problem is _not_ vmware.  At least to the extent that vmware
is just another hardware model.  The only really unfortunate thing
about vmware is that they are holding a few cards close to their chest
with a view to making a bit of a profit.  It may not be to one's
greatest advantage, but it seems legitimate to me and above the of
criticism levelled in the above.

++L

PS: I'm a contented small time user of vmware's ESX Server 3i.  All
the products from vmware (not many, I must confess) I have had
occasion to use and in keeping with impressions gained while
monitoring dicussions on the Xen developers' mailing list, convince me
that vmware strive for professionalism, understandably within the
limits set by the marketplace.  It's my personal opinion that none of
the equivalent tools available today are in the same league, so I
can't resist defending what I consider to be the market leader; feel
free to correct me (privately, preferably).


  





Re: [9fans] Mouse jumps in vmware

2008-12-07 Thread Rodolfo kix Garcia
I tryed xen, qemu and vmware ... and IMO vmware is better for my plan9 
virtual machines.


In other thread (probably long) ... we need think about to support any 
emulated software. We are not many people and write drivers is a hard 
work. I am not sure what is the rate of 9fans using real/emulated hardware.


[EMAIL PROTECTED] escribió:
I am happy with vmware. Is very good environment for my plan9, because 
my wifi card is not supported, ...



No offence intended or taken, I just thought that vmware generally get
an undeservedly bad rap on this list :-)

++L


  





Re: [9fans] MacOS X drawterm doesn't toggle

2008-12-09 Thread Rodolfo kix Garcia

Uriel,

IMO drawterm is very good tool. I use it in my computer and in others, 
installation is not needed, not admin privilegies, ...


Saludos.

Uriel escribió:

Why not forget drawterm and use 9vx or inferno instead of wasting more
efforts on a dead end project?

uriel

On Tue, Dec 9, 2008 at 8:38 PM, Michaelian Ennis
<[EMAIL PROTECTED]> wrote:
  

On Tue, Dec 9, 2008 at 2:37 PM, Michaelian Ennis
<[EMAIL PROTECTED]> wrote:


Attached is my merge of the two versions.  Yes I am a monkey.  No I
don't know what I am doing.  Now that said,  can you point me to why
the application exits when I try to toggle full screen with command-F?


Ian

  


  





Re: [9fans] Mouse jumps in vmware

2008-12-11 Thread Rodolfo kix Garcia

Ummm,

I am not sure if the problem is vmware-tools, probably not (and Plan 9 
is not the problem too).


I am using linux + plan9port + acme and I get the same problem ...

I am confused... BSOD @ me

Skip Tavakkolian escribió:

Maybe
someone will be motivated to fill in the rest
using the latest and greatest VMware API
instead of one from seven and a half years ago.



Russ, is this the right API? 


http://open-vm-tools.sourceforge.net/


  





Re: [9fans] web interface to sources seems to be down

2008-12-13 Thread Rodolfo kix Garcia

Hi,

you can use: http://www.kix.in/plan9/mirror/sources/ or 
http://9grid.es/sources/


Saludos.
kix

Roman V. Shaposhnik escribió:

On Fri, 2008-12-12 at 10:16 +0500, Roman Zhukov wrote:
  

http://9fans.net/archive/2008/11/891



Aha! I now remember seeing that one. But since its been
more than 2 weeks -- I guess the question is, whether
web interface to sources has any chance of recovering.

Thanks,
Roman.


  





[9fans] 9P in C++

2008-12-15 Thread Rodolfo kix García
Hi!

I am working in an c++ application on linux and I would like to use a
filesystem to access to the application data.

Somebody knows any 9P implementation of 9P in C++?

Thanks,

Saludos, kix.


-- 
Rodolfo García AKA kix
http://www.kix.es/
EA4ERH (@IN80ER)




Re: [9fans] 9P in C++

2008-12-15 Thread Rodolfo kix Garcia

Pietro Gagliardi escribió:

Given

extern "C"{
#include <9p.h> // or whatever you do
}

you can link 9p into a C++ program easily.


Thanks Pietro :-)

I use:

#include stdio.h
#include blablabla.h
extern void threadmain(int c, char *a[])

Now the file compiles. But I have other problem.

gcc -L. -ltry -o demo1 demo1.C
./libtry.so: Undefined reference to threadmain(...)

Then, I try:
gcc -L /usr/local/plan9/lib -L. -ltry -lthread demo1.C -o demo1  ## OK!
./demo1
Segmentation Fault

using ldd I can see libthread is /usr/lib/libthread, not in the 
plan9port three.


Any help?

Thanks a lot.



Re: [9fans] 9P in C++

2008-12-17 Thread Rodolfo kix Garcia

Pietro Gagliardi escribió:

Given

extern "C"{
#include <9p.h> // or whatever you do
}

you can link 9p into a C++ program easily.


Yes!

If I use the extern "C" it compiles :'-)

Using "extern function" is not valid for linking C and C++

Sorry Pietro, sqweek. Thanks a lot.




Re: [9fans] This is classic.

2008-12-17 Thread Rodolfo kix Garcia

Ron,

probably is something like this:

http://www.linuxquestions.org/questions/fedora-35/fedora-core-9-update-dbus.exception-and-dbus.proxies-and-dbus.error.accessdenied-errors-689207/

Saludos.

ron minnich escribió:

For no reason that I can see I am now getting this message via a dialogue box:
Packagekit Error
Failed to reset get-updates

Then a little box I can tick for more data.

Here's where it really gets good:
A security policy in place prevents this sender from sending this
message to this recipient, see message bus configuration file
(rejected message had interface
"org.freedesktop.PackageKit.Transaction" member "Cancel" error name
"(unset)" destination "org.freedesktop.PackageKit")

Neat. Lots of this. So. just WTF could this all mean? It means dbus hell.

It's amazing to think of the amount of labor that could produce
something like this. And people claim Plan 9 is obscure?

ron

  





Re: [9fans] sendfd() on native Plan 9?

2008-12-23 Thread Rodolfo kix Garcia

Nathaniel,

I am not 100% sure if my answer will solve your problem, but probably 
you can do it using the 9P protocol.


Look http://plan9.bell-labs.com/magic/man2html/5/0intro, 9P is the way 
to comunicate the kernel with the proccess. Probably sendfd is not 
needed in Plan 9.


Saludos.

Nathaniel W Filardo escribió:

Is there any equivalent of sendfd() on native Plan 9?

Thanks.
--nwf;
  





[9fans] [Off-topic] Scifi

2009-01-16 Thread Rodolfo kix Garcia

Hi!

I found these articles about scifi. Are the top tep books of scifi (NY 
Times) and the 20 Ten geek books.


http://www.papelenblanco.com/2009/01/14-los-10-mejores-libros-de-ciencia-ficcion-segun-el-times
http://www.papelenblanco.com/2007/08/30-el-top-20-de-literatura-geek

The links are in spanish. The author names and the titles are not too 
different between english and spanish :-)


kix.



Re: [9fans] SYSTOR 2009---The Israeli Experimental Systems

2009-01-22 Thread Rodolfo kix García
If I remember, when you visit Israel, they put an additional paper in your
passport. This paper is removed when you leave the country. Then ... your
passport do not have any stamp of Israel ... and you will not have
problems visit other countries.

Saludos,
kix.


>> I wonder how much flack I would get from Israeli passport control for
>> the stamps in my passport. :)
>
> What makes you think you'll be allowed back into those countries after
> visiting Israel?  :-)
>
> ++L
>
>
>


-- 
Rodolfo García AKA kix
http://www.kix.es/
EA4ERH (@IN80ER)




Re: [9fans] c code differencing

2011-08-31 Thread Rodolfo kix Garcia

On Wed, 31 Aug 2011 14:01:34 +0100, Steve Simon wrote:

Anyone have any pointers to a diff for C code.

I have two libraries, A and B.

B is and expanded and modified version of A and I have been
asked to extract A from B to build two libraries one
built on top of the other.

What I think I need is a program which parses C and will
do diffs at the level of functions, globals , #defines and enums.

it would ideally have two input files and generate two outputs
one output being the common code, one with the extensions on the 
common.


I don't expect this to be fully automated, there is going to be a 
load

of hand edition before I am done, but is there somthing which can do
the easy stuff for me?

-Steve


Why don't use a C preprocessor to do that?
You can have one file with ifdefs, and print the two files using an 
argument


Example:

#ifdef LIBA
#include 
#else
#include 
#endif

and run

"cpp -DLIBA ..." and
"cpp -ULIBA ..." or "cpp ..."


--
||// //\\// Rodolfo "kix" Garcia
||\\// //\\ http://www.kix.es/