Re: [9fans] Mounting 9p on an OSX host?

2014-03-29 Thread Federico G. Benavento
t seems a similar question > was posted back a couple of years, but even then no direct answer.) > > >Thanks, >Ciprian. > — Federico G. Benavento benave...@gmail.com signature.asc Description: Message signed with OpenPGP using GPGMail

Re: [9fans] Adding a new user on 9-Front

2013-12-24 Thread Federico G. Benavento
> This is why harmful.cat-v.org is so important, and it's why I don't have > any interest in suffering fools on internet mailing lists. I can’t stop laughing. PS: kudos to Ruben — Federico G. Benavento benave...@gmail.com signature.asc Description: Message signed wi

Re: [9fans] f2c issue

2013-11-22 Thread Federico G. Benavento
's a x87 floating point stack overflow. > if you would post the code around the program counter in your error > message it would be helpful. asm(*PC) with acid would be even better. > > - erik > — Federico G. Benavento benave...@gmail.com signature.asc Description: Message signed with OpenPGP using GPGMail

Re: [9fans] /dev/draw/new and /dev/draw/n/ctl

2013-06-11 Thread Federico G. Benavento
, max.x, > and max.y of the clipping rectangle." > > After acknowledging that there are 12 strings, it only describes 11. > What is the number that comes between the channel format and min.x? > > -- Federico G. Benavento

Re: [9fans] Fossil disk usage over 100%?

2013-06-03 Thread Federico G. Benavento
I'm not going to bore you with my stories about how fossil/venti saved my life so many times and never lost a file, I'll just keep using it. Thanks for sharing your wisdom with the list. --- Federico G. Benavento benave...@gmail.com

Re: [9fans] X11

2013-02-28 Thread Federico G. Benavento
thanks steve On Thu, Feb 28, 2013 at 4:46 PM, Steve Simon wrote: >> What does kenc do with a void function attempting to return 0? > > t.c:6 incompatible types: "VOID" and "INT" for op "RETURN" > > -Steve > -- Federico G. Benavento

Re: [9fans] APE select() and awkward Python subprocess PIPEfitting

2013-02-26 Thread Federico G. Benavento
slow and only >works well on 8-bit displays." --- Federico G. Benavento benave...@gmail.com

Re: [9fans] What's up with $home? And a security question.

2013-02-23 Thread Federico G. Benavento
)) I'm failing to see how that man page is relevant to this, the env variables issue is related to the rfork(2) flag as well. --- Federico G. Benavento benave...@gmail.com

Re: [9fans] tell if our window has been hidden

2013-02-11 Thread Federico G. Benavento
you can read from /dev/wctl and check wether the window is "visible" or "hidden", see rio(4). On Feb 11, 2013, at 7:32 AM, Yaroslav wrote: > Can we tell somehow from eresized() that our window has been hidden or > unhidden? > -- > - Yaroslav --- Federico G. Benavento benave...@gmail.com

Re: [9fans] APE isinf()

2013-02-11 Thread Federico G. Benavento
On Feb 11, 2013, at 6:46 PM, Jeff Sickel wrote: > So it's probably safe to just have > > #define isinf(x) isInf(x,0) yes, I've used that in the past. --- Federico G. Benavento benave...@gmail.com

Re: [9fans] trying to populate arm tree

2013-01-28 Thread Federico G. Benavento
t builds on arm too... > > (have you tested it?) > it was built for the first time a couple of hours ago :) --- Federico G. Benavento benave...@gmail.com

Re: [9fans] trying to populate arm tree

2013-01-28 Thread Federico G. Benavento
On Jan 28, 2013, at 3:21 PM, erik quanstrom wrote: > or anything that's not x86. I have openssl-1.0.1c it builds on arm too... --- Federico G. Benavento benave...@gmail.com

Re: [9fans] trying to populate arm tree

2013-01-28 Thread Federico G. Benavento
> > It gets further but fails here: > > /sys/src/ape/lib/openssl/apps/openssl.c:364[stdin:85783] no return at end of > function: main > add -B to CFLAGS in apps/mkfile --- Federico G. Benavento benave...@gmail.com

Re: [9fans] trying to populate arm tree

2013-01-28 Thread Federico G. Benavento
86, there are file i/o problems, etc, >> it drags along openssh/openssl, and isn't pushed upstream. >> >> jeff is working on a addressing all these issues with the latest >> 2.x python. it will be put on sources when its ready. >> >> - erik >>

Re: [9fans] trying to populate arm tree

2013-01-28 Thread Federico G. Benavento
es with the latest > 2.x python. it will be put on sources when its ready. > > - erik --- Federico G. Benavento benave...@gmail.com

Re: [9fans] Why should I invest[tigate] plan9?

2013-01-28 Thread Federico G. Benavento
's a fakepost. > > Don't get discouraged! This is good work, and with practice, you'll be > tearing up mailing lists for years to come. > > Thanks, > Kurt > --- Federico G. Benavento benave...@gmail.com

Re: [9fans] trying to populate arm tree

2013-01-28 Thread Federico G. Benavento
hon/plan9.c 765 [fgb] 8a9,10 > #elif defined(Tarm) > #define FPINVAL (1<<8) Jan 28 11:22:23 ART 2013 /sys/src/cmd/python/pyconfig.h 27800 [fgb] 11a12 > #define _C99_SNPRINTF_EXTENSION On Mon, Jan 28, 2013 at 11:53 AM, Federico G. Benavento wrote: > I fixed openssl, I'

Re: [9fans] trying to populate arm tree

2013-01-28 Thread Federico G. Benavento
; I tried adding openssl to BUGGERED in /sys/src/cmd/mkfile but this didn't > help. > > James > > -- Federico G. Benavento

Re: [9fans] these are release of 9front?

2013-01-08 Thread Federico G. Benavento
rticularly terrible at dealing with devices with scheduling >> requirements. and it doesn't handle xhci. >> >> - erik >> > > Well can't we just fix the problems with the current one? Most of the work is > already done. I don't see why we can't just use that. --- Federico G. Benavento benave...@gmail.com

Re: [9fans] Mercurial and Plan 9

2013-01-04 Thread Federico G. Benavento
gt; new _hashlib module, one that doesn't require OpenSSL among others. > > The new Python release&build will be pushed out once I clean up > a few more details like getting new builds of Mercurial working. > --- Federico G. Benavento benave...@gmail.com

Re: [9fans] go forth and ulong no more!

2012-11-22 Thread Federico G. Benavento
;ing I see it's being used in the near ports. --- Federico G. Benavento benave...@gmail.com

Re: [9fans] go forth and ulong no more!

2012-11-21 Thread Federico G. Benavento
n2html/2/types > > describing a progression of the plan 9 type system that works > outside the 32-bit-only world we've been living in since 1992. > nix uses this type system. > > - erik > --- Federico G. Benavento benave...@gmail.com

Re: [9fans] /ape/libcrypto.a ??none??: /386/lib/ape/libssl.a first

2012-01-19 Thread Federico G. Benavento
gt;> > > I just saw this yesterday. Basically, vsnprintf may return an int or > nothing depending on your library (in APE, it depends on whether or > not you've defined _C99_SPRINTF_EXTENSION). By default, APE is going > to give you a vsnprintf that returns void, but the code expects it to > return int. You can get around this by adding -DHAS_vsnprintf_void to > the CFLAGS variable in /sys/src/ape/lib/z/mkfile. > > > John > -- Federico G. Benavento

Re: [9fans] Supported_PC_hardware list

2011-11-22 Thread Federico G. Benavento
the intels of the day 915/945/etc have worked well for me the resolution you get is the one that the device supports in vesa mode On Nov 22, 2011, at 4:56 PM, Alexander Kapshuk wrote: > On 11/22/2011 03:56 PM, erik quanstrom wrote: >> On Tue Nov 22 08:30:20 EST 2011, alexander.kaps...@gmail.com w

Re: [9fans] 9vx instability

2011-11-21 Thread Federico G. Benavento
On Nov 21, 2011, at 9:14 AM, Anton wrote: > > What are the problems with trying to boot it natively? > As you correctly suggested, my wireless card isn't supported and connecting > laptop through the Ethernet cable to my router located in another room is > somewhat inconvenient. Also, I'm not

Re: [9fans] access p9 sources from linux

2011-11-11 Thread Federico G. Benavento
http://plan9.bell-labs.com/sources/extra/plan9.tar.bz2 built daily On Nov 11, 2011, at 11:58 AM, Rudolf Sykora wrote: > Is there a simple way to get a local copy of some of sources' subtree?

Re: [9fans] thanks iwp9 organizers

2011-10-24 Thread Federico G. Benavento
e and you did a lot. > and without gorka's help we wouldn't even have been lost.  ;-) > > - erik > > -- Federico G. Benavento

Re: [9fans] hg on plan 9

2011-09-14 Thread Federico G. Benavento
erik, it the fs that doesn't support ' ' in file names... On Sep 15, 2011, at 12:58 AM, erik quanstrom wrote: > looks like spaces in file names are a problem, at least > on my system. > > minooka; hg clone https://code.google.com/p/nix-os/ > destination directory: nix-os > requesting all changes

Re: [9fans] Mousing is faster than typing but users do not believe it

2011-06-17 Thread Federico G. Benavento
hout them. > > I'm not saying mouses sucks and should die! of course i use the mouse to for > daily tasks which i find more practical(like selecting text), now is the > mouse faster than the keyboard in a general daily routine? you cant do > nothing with  the mouse! therefore not faster... > > "mouse is the devils way to keep you from productivity!" > > (just used the mouse to copy a paragraph the rest was all keyboard) > (to long, did not read? xD) > (sorry for my English, I'm from Portugal) > > cheers > > -- > > > Guilherme Lino > -- Federico G. Benavento

Re: [9fans] nupas contrib needs rebuilding

2011-06-02 Thread Federico G. Benavento
contrib/pull does On Jun 2, 2011, at 1:40 PM, Yaroslav wrote: > contrib(1) should have a way to pass -s to replica/pull > --- Federico G. Benavento

Re: [9fans] contrib(1) WAS: Re: wiki...

2011-04-24 Thread Federico G. Benavento
sed > > -- > +---+ > |E-Mail: smi...@zenzebra.mv.com             PGP key ID: BC549F8B| > |Fingerprint: 9329 DB4A 30F5 6EDA D2BA  3489 DAB7 555A BC54 9F8B| > +---+ > > -- Federico G. Benavento

Re: [9fans] recent plan9.iso on hosted kvm/qemu

2011-03-07 Thread Federico G. Benavento
llows you to pass new plan9.ini variables at >> boot.  I got disconnected before I could acknowledge.  I haven't tried >> it yet, but it could be useful. > > not quite sure what you mean by this, but 9load-e820 > allows "a var=val" at any prompt. > > - erik > > -- Federico G. Benavento

Re: [9fans] git port

2011-03-05 Thread Federico G. Benavento
past few days alluded to a git port.  I'll be buggered > if I can find the message in the list archives.  Does this exist? > Where? > > > -- Federico G. Benavento

Re: [9fans] Modern development language for Plan 9, WAS: Re: RESOLVED: recoving important header file rudely

2011-02-18 Thread Federico G. Benavento
just like `register'. >> > > Well how does template expansion affect all of this?  I've heard in > conversations that C++ is pretty register hungry which makes me think lots of > inlining happens behind the scenes.  Then again that's an implementation > detail, except maybe for templates. > -- Federico G. Benavento

Re: [9fans] Modern development language for Plan 9, WAS: Re: RESOLVED: recoving important header file rudely

2011-02-03 Thread Federico G. Benavento
r getting some FORTRAN compiled in Plan 9 as a demonstration.  I'll > think about linuxemu in this context. > >  EBo -- > > > -- Federico G. Benavento

Re: [9fans] RESOLVED: recoving important header file rudely

2011-02-01 Thread Federico G. Benavento
e on the code is so simple that you just see and get it the first time, which makes easier to find/fix bugs, iterators and the other crap you mentioned would had obfuscated it. now you found a related bug in rc, if I ever get to write code as beautiful as rc that will be a day to remember. Plan 9 is not bug-free, but they easier to find and fix, think about that. -- Federico G. Benavento

Re: [9fans] HELP: recoving important header file rudely clobbered by mk

2011-02-01 Thread Federico G. Benavento
> Two means, one end: don't lose that .h file! > I'm still waiting to see that crazy mkfile... -- Federico G. Benavento

Re: [9fans] RESOLVED: recoving important header file rudely

2011-02-01 Thread Federico G. Benavento
suicide >> # now, make SURE there's nothing in this rio window that you want to keep... >> term% rm abc* >> # watch the rio window go bye bye! > > Sorry, this does not crash any Plan 9 code on my system. > How much data globbing should handle is a matter of practicality. > When rc dies, the rio window closes. > > > ak > > -- Federico G. Benavento

Re: [9fans] RESOLVED: recoving important header file rudely

2011-02-01 Thread Federico G. Benavento
tions, improve some > interfaces, etc.  I already have some working code, but it's still very > experimental. > I don't see how C macros would improve rc's globbing code, which thinks that there won't be files with names that long. -- Federico G. Benavento

Re: [9fans] HELP: recoving important header file rudely clobbered by mk

2011-01-31 Thread Federico G. Benavento
> 8l $LDFLAGS -o important.h important.h.8 I'm interested in seeing this mkfile which causes mk misbehavior -- Federico G. Benavento

Re: [9fans] HELP: recoving important header file rudely clobbered by mk

2011-01-31 Thread Federico G. Benavento
t; -- > +---+ > |E-Mail: smi...@zenzebra.mv.com             PGP key ID: BC549F8B| > |Fingerprint: 9329 DB4A 30F5 6EDA D2BA  3489 DAB7 555A BC54 9F8B| > +---+ > > -- Federico G. Benavento

Re: [9fans] `mk` (from Plan9 ports) efficiency related issue

2011-01-17 Thread Federico G. Benavento
n, Jan 17, 2011 at 2:46 PM, Federico G. Benavento wrote: > when you have a clean mkfile, doing mk clean; mk install is faster than all > the > dependency checking you'd want to do, specially is the project is a big bloat > > take X11 for instance how long does it take to bu

Re: [9fans] `mk` (from Plan9 ports) efficiency related issue

2011-01-17 Thread Federico G. Benavento
x27;t already done so. >> >> I think by listing all your dependencies one by one, step by step, you are >> bypassing a lot of the strengths of a make system. I would expect your >> generator to produce a mk include file with the meta rules plus the mk file >> itself which li

Re: [9fans] sound, graphics, tuner

2011-01-17 Thread Federico G. Benavento
the port of Doom to plan9 >>> for pointers to one of them. >> I have my IBM Think Pad with AC'97 running Plan9. >> The AC'97 driver supports only output mode. >> Any link to some different driver supporting also input mode? >> >> Pavel >> > -- Federico G. Benavento

Re: [9fans] `mk` (from Plan9 ports) efficiency related issue

2011-01-17 Thread Federico G. Benavento
>    B) Why isn't the output script a "normal" `mk` script? Actually is > a very simple script (no meta-rules, no shell expansion, etc.). It's > just big. :) > > a normal mkfile does have meta-rules and if you have so many targets wouldn't it make sense to have more mkfiles? -- Federico G. Benavento

Re: [9fans] Plan9 topology

2011-01-14 Thread Federico G. Benavento
ose to install venti but come on. when the talking takes more time than the doing, it's time act. -- Federico G. Benavento

Re: [9fans] Noob says Hi ..

2011-01-13 Thread Federico G. Benavento
27; to resize and move partitions, with XP still in > Part.1 > > Zero problems! No OS install tried to mess with another partition. So, > are you being overly cautious here, or is there a real danger that > Plan9 has a run-away? > > -- > Duke > > -- Federico G. Benavento

Re: [9fans] Plan9 topology

2011-01-13 Thread Federico G. Benavento
s a mailserver; another > running as a webserver; another couple running primary and slave > nameservers; and one dual-homed FreeBSD box routing and doing > firewall/natd. Had a couple of Linux and FreeBSD workstations hung on > this LAN. Those 486DX _never_ hiccuped! (Thank you UPS!!!) > > The above sounds like a job for Plan9 :) But my point is - is that I > don't need to set up a LAN to enjoy Linux or FreeBSD. Can I use Plan9 > standalone in a dedicated partition? > -- > Duke > > -- Federico G. Benavento

Re: [9fans] ape/socket again non-blocking command succeeds but still blocks

2011-01-11 Thread Federico G. Benavento
t; On Tue, Jan 11, 2011 at 4:06 PM, Fernan Bolando > wrote: >> On Tue, Jan 11, 2011 at 3:45 PM, Federico G. Benavento >> wrote: >>> it's not fcnlt's fault, ape replaces your sockfd with a pipe >>> when you do listen(), you could call fcntl again after

Re: [9fans] ape/socket again non-blocking command succeeds but still blocks

2011-01-10 Thread Federico G. Benavento
ex multiple inputs. > > but in plan9/ape it works just as how you shown regardless of the > fcntl non-block command. so I will not be able to loop through several > sockets because it would block. > > On Tue, Jan 11, 2011 at 2:11 PM, Federico G. Benavento > wrote: >>

Re: [9fans] ape/socket again non-blocking command succeeds but still blocks

2011-01-10 Thread Federico G. Benavento
fd, >                 (struct sockaddr *) &cli_addr, >                 &clilen); >     if (newsockfd < 0) >          error("ERROR on accept"); >     bzero(buffer,256); >     n = read(newsockfd,buffer,255); >     if (n < 0) error("ERROR reading from socket"); >     printf("Here is the message: %s\n",buffer); >     n = write(newsockfd,"I got your message",18); >     if (n < 0) error("ERROR writing to socket"); >     return 0; > } > > -- Federico G. Benavento

Re: [9fans] Need help on installing Google Go for The Plan 9 Operating system

2011-01-10 Thread Federico G. Benavento
ise on what > needs to be done to install > Google Go on The Plan 9 Operating System. > > Can Federico G. Benavento [FGB] please help? > I've searched for ages on the net but can't find any info. > > So far have the following (with the aid of) > http://plan9.bel

Re: [9fans] How would you go about implementing this in Plan9?

2010-12-10 Thread Federico G. Benavento
draw to it... hell it could draw directly to the display with image id 0 if you want it, so really for the im client a pipe is more than enough -- Federico G. Benavento

Re: [9fans] How would you go about implementing this in Plan9?

2010-12-10 Thread Federico G. Benavento
of > dynamic linking, so that modules compiled to load dynamically could be > loaded by the application that wants to load them whenever it needs. What do > you think? -- Federico G. Benavento

Re: [9fans] Plan9 development

2010-11-18 Thread Federico G. Benavento
my bad, I thought cpp(1) implemented __FUNCTION__... On Thu, Nov 18, 2010 at 11:06 PM, Joel C. Salomon wrote: > On 11/18/2010 05:50 PM, Federico G. Benavento wrote: >> On Thu, Nov 18, 2010 at 2:30 AM, Joel C. Salomon >> wrote: >>> Why is __func__ listed as “unwanted”?  

Re: [9fans] Plan9 development

2010-11-18 Thread Federico G. Benavento
emented items in /sys/src/cmd/cc/c99* is: > >> i can think of something else that's not been noticed, but what other things >> have you found? > > Why is __func__ listed as “unwanted”?  I’ve found it useful for some > logging functions. > > --Joel > > -- Federico G. Benavento

Re: [9fans] contrib/install fgb/X11?

2010-11-15 Thread Federico G. Benavento
btw, there are no lbuns for firefox and such, but it works, opera does too On Tue, Nov 16, 2010 at 1:57 AM, Federico G. Benavento wrote: > ok, dillo is a linux binary, right?  and it looks like is looking for > a unix socket, > but equis has APE sockets! > so for dillo try tcp DISPL

Re: [9fans] contrib/install fgb/X11?

2010-11-15 Thread Federico G. Benavento
On Mon, Nov 15, 2010 at 3:37 PM, Federico G. Benavento >> wrote: >> > also it shouldn't take that long... if you have the latest contrib >> > tools what happens >> > it's this: it first fcp's an iso.bz2 to your /tmp and runs replica from >> &g

Re: [9fans] contrib/install fgb/X11?

2010-11-15 Thread Federico G. Benavento
> >> >> On Mon, Nov 15, 2010 at 3:42 PM, David Leimbach wrote: >>> >>> >>> On Mon, Nov 15, 2010 at 3:37 PM, Federico G. Benavento >>> wrote: >>>> >>>> also it shouldn't take that long... if you have the latest contri

Re: [9fans] contrib/install fgb/X11?

2010-11-15 Thread Federico G. Benavento
n/X11/xset: '/n/dist/386/bin' does not exist >> >> Do you run stats(1) while doing the pull? Does it shows any >> anomalities, especially memory consuption? >> >> - Yaroslav >> > I've not looked at memory consumption, but load and such look pretty normal. > I'm running with 512MB RAM at the moment in the VM. > Dave -- Federico G. Benavento

Re: [9fans] contrib/install fgb/X11?

2010-11-15 Thread Federico G. Benavento
also it shouldn't take that long... if you have the latest contrib tools what happens it's this: it first fcp's an iso.bz2 to your /tmp and runs replica from there. of course that iso.bz2 is 22 MB, but that's not contrib's fault On Mon, Nov 15, 2010 at 8:33 PM, Fed

Re: [9fans] another type of static linking: send all the shared libraries with the program!

2010-11-12 Thread Federico G. Benavento
bundle a program's shared libraries with the > program! > > Un-bee-lievable. > > The standard rule is, when you're in a hole, stop digging; that seems > not to apply in software nowadays. > > ron > > -- Federico G. Benavento

Re: [9fans] pcc limitation?

2010-11-06 Thread Federico G. Benavento
    = (const unsigned char[]){ JEDEC_CE_C7 }, >                .readcnt        = 0, >                .readarr        = NULL, >        }, { >                .writecnt       = 0, >                .writearr       = NULL, >                .readcnt        = 0, >                .readarr        = NULL, >        }}; > } > > > > -- Federico G. Benavento

Re: [9fans] Python

2010-10-10 Thread Federico G. Benavento
setfcr(getfcr()&~FPINVAL); to setfcr(getfcr()&~(FPINVAL|FPOVFL)); -- Federico G. Benavento

Re: [9fans] how to print a program

2010-09-08 Thread Federico G. Benavento
highly undesirable. >> fmt -j >> could help, but it also replaces spaces and tabs by a single space, again >> bad. >> (btw. why >> fmt <>afile >> doesn't work?) >> >> So how? >> Can anybody help? (I mean, is there a one-liner?) >> Thank you! >> Ruda >> >> > > -- Federico G. Benavento

Re: [9fans] how to lock cpu console

2010-09-01 Thread Federico G. Benavento
t that depends on rio, too.  the open of > /dev/screen -> error() -> exits("fatal error"); > > - erik > exactly -- Federico G. Benavento

Re: [9fans] how to lock cpu console

2010-09-01 Thread Federico G. Benavento
> http://plan9.bell-labs.com/magic/man2html/8/screenlock >> >> similar to conslock, but authenticates against the auth server > > not similar.  it depends on rio. > > - erik > > -- Federico G. Benavento

Re: [9fans] how to lock cpu console

2010-08-31 Thread Federico G. Benavento
f you have more than one cpu, change this line: >        pwd=$home/lib/conslock.hash > to >        pwd=$home/lib/conslock.^$sysname^.hash > > > -- Federico G. Benavento

Re: [9fans] python read problem

2010-08-26 Thread Federico G. Benavento
open("/dev/eia0","r") > while (True): >     sys.stdout.write(f.read(1)) > > Yet this only yields: > Type help or '?' for a list of available commands. > > Which makes me think it is still looking for a newline.  Cons exhibits > the expected behavior with the same appliance. That is the prompt is > included. > > ian > > -- Federico G. Benavento

Re: [9fans] regexp metacharacter difficulty inside grap

2010-08-10 Thread Federico G. Benavento
scheck_XX.d:8 >         context is >                yo = sh { echo 4.9534)# | sed 's/\)#//' } >>> <<< > > > I'm not quite sure why grap converts $3 into "4.9534)#", so I try brute force: > >        cpu% echo '4.9534)#' | sed 's/\)#//' >        4.9534 > > > Does anyone have any hints on what might I be doing wrong in my grap source? > > -jas > > > -- Federico G. Benavento

Re: [9fans] Auth-ed mount of sources from 9?

2010-08-02 Thread Federico G. Benavento
ho > > 2010/8/2 Venkatesh Srinivas : >> Hi, >> >> How do you mount sources auth-ed from 9? >> >> I must confess I've never done this with 9 by itself, I've always used >> Inferno's "mount -9" (even on plan9)... >> >> -- vs >> > > -- Federico G. Benavento

Re: [9fans] writing to ctl using fprint and write

2010-07-29 Thread Federico G. Benavento
*can* use sizeof on arrays :-). > Well at least in ANSI/ISO C.  Haven't tried this on plan 9.  :-) > On my mac I get 6 and 8. > #include > char blah [] = "Hello"; > char * blah2 = "There"; > int main  () { >         printf("sizeof blah: %ld\n", sizeof(blah)); >         printf("sizeof blah2: %ld\n", sizeof(blah2)); > } > > -- Federico G. Benavento

Re: [9fans] webfs and Numerical result out of range...

2010-07-23 Thread Federico G. Benavento
ok, it looks like the functions are called fsopen(), fsread(), etc in plan9port, as I tried to implied regular open, read, etc won't work On Fri, Jul 23, 2010 at 9:16 AM, Federico G. Benavento wrote: > webget > > On Fri, Jul 23, 2010 at 9:04 AM, EBo wrote: >> >>>

Re: [9fans] webfs and Numerical result out of range...

2010-07-23 Thread Federico G. Benavento
webget On Fri, Jul 23, 2010 at 9:04 AM, EBo wrote: > >> is webkit using read9p() and friends instead of regular reads? > > regular reads.  Nothing in webfs is using read9p. > > Should I change some or all of them for testing? > > > > > > -- Federico G. Benavento

Re: [9fans] webfs and Numerical result out of range...

2010-07-23 Thread Federico G. Benavento
I meant webget On Fri, Jul 23, 2010 at 8:56 AM, Federico G. Benavento wrote: > is webkit using read9p() and friends instead of regular reads? > > > On Thu, Jul 22, 2010 at 10:59 AM, EBo wrote: >> I'm getting lots of "Numerical result out of range" when running

Re: [9fans] webfs and Numerical result out of range...

2010-07-23 Thread Federico G. Benavento
l) and use "mount -t 9p > `namespace`/Whpd /mnt/web/ -o trans=unix,uname=$USER" /mnt/web/0/body then > contains "/mnt/web/0/body: Unknown error 526" > > I'm fresh out of ideas at this point.  Suggestions? > >  Thanks, > >  EBo -- > > > -- Federico G. Benavento

Re: [9fans] plan9port version of pool?

2010-07-22 Thread Federico G. Benavento
o with them > too. > > > -- Federico G. Benavento

Re: [9fans] p9pow10?

2010-07-22 Thread Federico G. Benavento
0.  I cannot find the source for > p9pow10 in plan9port, 9vx nor sysfromiso. > > Does anyone know what's up with that? > > > -- Federico G. Benavento

Re: [9fans] a very silly program

2010-06-04 Thread Federico G. Benavento
mething else. Now I've learned and this > clunker is the result. It's sort of amusing. > > to test, get thee to a window and: > 8.catmouse > rio > > obviously the map() function could use some improvement :-) > > ron > > -- Federico G. Benavento

Re: [9fans] Plan 9 hg with private repositories

2010-05-20 Thread Federico G. Benavento
s why you get that utterly useless error message: > because you're not unix. It just tells you that the error is that you > are not windows. Clear? > > ron > > -- Federico G. Benavento

Re: [9fans] thread STACK size

2010-05-19 Thread Federico G. Benavento
bed. > > > As a general rule in threaded programs, avoid declaring local arrays > or large structs.  Instead, malloc them and free them when you're done. > A file server, as an example, should never allocate an 8K message > buffer on the stack.  If you can manage to obey

Re: [9fans] nupas update

2010-05-18 Thread Federico G. Benavento
uff too, and not remove python is hg is installed? If python creates > 'x', and hg creates 'x', should you remove x if you remove HG? and so > on ...  This is what makes tracking packages so ugly. > > It gets ugly fast. I would just as soon mount the .iso's and do binds. > > ron > > -- Federico G. Benavento

Re: [9fans] package system for Plan 9: alpha!

2010-05-15 Thread Federico G. Benavento
and has worked reliably for me on 9vx. > > And, since I installed hg earlier, openssh install skipped the openssh > install step. Left to the reader (or me in a bit): don't download iso > when the package is installed! -- but it's so fast I have not > bothered. > > I'm able to install packages now without worrying about whether I will > be ready to disconnect my laptop and go home before the install is > done! > > Next step, if this system is found to be useful, is to adapt fgb's gui > program. > > ron > > -- Federico G. Benavento

Re: [9fans] LOCK XADD for i386 incref/decref

2010-04-28 Thread Federico G. Benavento
sorry for the noise, I should rest a bit after this On Wed, Apr 28, 2010 at 11:39 PM, Federico G. Benavento wrote: > sorry, but why in the compiler and not as a library function like in > libthread? > > http://plan9.bell-labs.com/sources/plan9/sys/src/libthread/xinc386.s > &

Re: [9fans] LOCK XADD for i386 incref/decref

2010-04-28 Thread Federico G. Benavento
2.66 GHz Core 2 Duo, we noticed a full 14% reduction in runtime > (9.6s vs 11.2s) of the thread-ring test. Similar performance gains > were noticed on a Core i7 machine, but I no longer have the numbers > handy. > > Perhaps this change is interesting for Plan 9... > > -- vs > > -- Federico G. Benavento

Re: [9fans] A simple experiment

2010-04-27 Thread Federico G. Benavento
for me to bisect and find > problems when I build from kernel source, which is very handy in my > case. The web interface of bitbucket gives me a pretty reasonable way > to compare different revs. I'm offering this note in the event others > want to use this interface and repo. > > ron > > -- Federico G. Benavento

Re: [9fans] Rounding off by one

2010-04-19 Thread Federico G. Benavento
doesn't apply to the integer calcuations in question. > > - erik > > -- Federico G. Benavento

Re: [9fans] Rounding off by one

2010-04-19 Thread Federico G. Benavento
check getfcr(2) http://plan9.bell-labs.com/magic/man2html?man=getfcr§=2 it's in lib9.h for ape -- Federico G. Benavento

Re: [9fans] Mars Needs Women (was Re: TeX: hurrah!)

2010-04-18 Thread Federico G. Benavento
>  scheme >  ocaml >  haskell >  lua >  limbo >  linda >  pforth >  python > tcl 4th bprolog p2c (pascal 2 c) f2c (fortran 2 c) extra/perl which could be easily updated -- Federico G. Benavento

Re: [9fans] Mars Needs Women (was Re: TeX: hurrah!)

2010-04-16 Thread Federico G. Benavento
interesting expressions > of a Plan 9 based operating system, however in order to bootstrap, the Plan > Xers need the experience and insights of the Plan 9ers... yet there's an > antagonistic conundrum that prevents the two perspectives from peering. > > Is any of this even worth discussing? Or is this just another example of > "talk, talk, talk" from yet another troll who has no intention of actually > doing something productive? > > > Kind regards > > -- Federico G. Benavento

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

2010-04-15 Thread Federico G. Benavento
S.  Are there any recommendations? > > —Joel > > -- Federico G. Benavento

Re: [9fans] APE: a further note.

2010-04-15 Thread Federico G. Benavento
ched type signatures. > i've found this to be very useful. > > - erik > > -- Federico G. Benavento

Re: [9fans] 9vx patch to read environment var PLAN9

2010-04-14 Thread Federico G. Benavento
g the #!), why are you even debating this? > > wow...  I can understand people not liking checking the environmental > variables as it does increase the complexity, but I would have thought that > changing the default lookup from /home/rcs... would not have been a problem. > I

Re: [9fans] APE notes

2010-04-13 Thread Federico G. Benavento
is not supported by POSIX > sed(1) (..* does the thing in this case for example). > > - I have been hit by aux/getflags I think that doesn't like too many > arguments (typically a sed(1) with a bunch of "-e s/.../.../g"). I have > simply put the rules in a temporary file, and used sed -f. > -- >        Thierry Laronde >                      http://www.kergis.com/ > Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C > > -- Federico G. Benavento

Re: [9fans] bootiso.s fixed

2010-04-08 Thread Federico G. Benavento
he effort in writing a proper assembler. > > and consider, interfacing with undi > and other annoying tasks would be a > heck of a lot easier with a proper 4a. > > - erik > > -- Federico G. Benavento

Re: [9fans] P9P for Windows?

2010-04-06 Thread Federico G. Benavento
posix > layer or > alternatively port Plan9's libc and rc to Windows CE in the next half year. > > Regards, > >    Georg Lehner > > > [1] http://sourceware.org/pthreads-win32/ > > -- Federico G. Benavento

Re: [9fans] Man pages for add-ons

2010-03-28 Thread Federico G. Benavento
Yeah... I'm using OS X and I'm not impressed with its Spotlight filesystem > search, yet. It's just too general. > > -- > Simplicity does not precede complexity, but follows it. >  -- Alan Perlis > > > > > > -- Federico G. Benavento

Re: [9fans] Semaphores for libc Lock?

2010-03-27 Thread Federico G. Benavento
e > better than the current spinning ones; they note that the locks would be > replaced in the distribution soon. > Is that still in the cards? > -- vs > -- Federico G. Benavento

Re: [9fans] Man pages for add-ons

2010-03-27 Thread Federico G. Benavento
lobal, but then if it's global why do you need the binds! -- Federico G. Benavento

Re: [9fans] Man pages for add-ons

2010-03-27 Thread Federico G. Benavento
in things like > gmail, but you don't need to. > > Tim Newsham | www.thenewsh.com/~newsham | thenewsh.blogspot.com > > -- Federico G. Benavento

  1   2   3   >