Re: [9fans] GSOC: Drawterm for the iPhone

2009-03-25 Thread Pietro Gagliardi
Killed. From the license agreement for iPhone developers (which requires a free Apple Developer Connection account to view; sorry): "3.3.3 Without Apple’s prior written approval, an Application may not provide, unlock or enable a enable additional features or functionality through distribut

Re: [9fans] GSOC: Drawterm for the iPhone

2009-03-25 Thread Pietro Gagliardi
Also, we obviously cannot use rio, unless we greatly restrict the user's visibility. Unless we provide zooming? Maybe a text-based environment that runs exclusively off rc, sam, acme, etc. with the standard keyboard at the bottom: -- cpu%

Re: [9fans] GSOC: Drawterm for the iPhone

2009-03-26 Thread Pietro Gagliardi
On Mar 26, 2009, at 3:32 AM, André Günther wrote: [1] http://www.minithink.org/mock.jpg (Sorry for the image quality) I just tried giving that to Interface Builder. Apparently, toolbars can only be on the horizontal in Cocoa Touch. But this is an interesting start. The problem of how to

Re: [9fans] GSOC: Drawterm for the iPhone

2009-03-26 Thread Pietro Gagliardi
On Mar 26, 2009, at 3:35 PM, Eric Van Hensbergen wrote: I'm merely trying to debunk roadblocks which others seem to want to through in his way. I don't want to throw a roadblock in this student's way. (In fact, drawterm on iPhone benefits me too, though that benefit would come in or after

Re: [9fans] Help for home user discovering Plan 9

2009-04-14 Thread Pietro Gagliardi
Plan 9 in the home... an interesting experiment. (I am the only one in my home who uses it.) Enjoy! My message contains references to files in /n/sources/contrib. When you get your internet up in Plan 9, use 9fs sources to gain access to this folder. PostScript and PDF files can be

Re: [9fans] Help for home user discovering Plan 9

2009-04-14 Thread Pietro Gagliardi
On Apr 14, 2009, at 8:36 AM, Pietro Gagliardi wrote: juke(6) for how to go about playing music. that should be juke(7), sorry.

Re: [9fans] Help for home user discovering Plan 9

2009-04-15 Thread Pietro Gagliardi
On Apr 15, 2009, at 4:26 AM, Eris Discordia wrote: Plan 9 is not intended for home or home office. True, but that doesn't mean it can't be used in such an environment. I type all my reports up in Plan 9.

[9fans] Rails? (was Re: web server)

2009-04-16 Thread Pietro Gagliardi
Just a thought. Is Rails even necessary? Other server-side alternatives do exist, and they can be written. IIRC, the author of rit mentioned it being used in his Pegasus server...

Re: [9fans] Rails? (was Re: web server)

2009-04-16 Thread Pietro Gagliardi
On Apr 16, 2009, at 1:50 PM, Devon H. O'Dell wrote: MVC development model Good point. I think I'll get started porting Cocoa to Plan 9. =P

Re: [9fans] attention - new list address

2008-03-07 Thread Pietro Gagliardi
Another question: will groups.google.com still have the old 9fans? On Mar 7, 2008, at 6:58 PM, Russ Cox wrote: We sign up the usual way? Everyone who was on [EMAIL PROTECTED] is on [EMAIL PROTECTED] There's no need to resubscribe. They're two separate lists at the moment, but within a matter

Re: [9fans] abaco @ plan9port [WAS: Hi and, plan9-native abaco sources?]

2008-03-11 Thread Pietro Gagliardi
Try: webcookies webfs abaco It should work then. I think abaco should be made to host its own webcookies/webfs. Why not? It's this easy: if ((cookiesproc = fork()) == 0) { execl("/bin/webcookies", "webcookies", 0); sysfatal("f

Re: [9fans] abaco @ plan9port [WAS: Hi and, plan9-native abaco sources?]

2008-03-12 Thread Pietro Gagliardi
Here's another thing I'd like to see: preview on-disk pages: abaco $home/x.html On Mar 12, 2008, at 1:54 PM, Federico G. Benavento wrote: hola, "http://9fans.net"; is an URL, "9fans.net" is not. as for google, I added a "Google string" command sometime ago. -- Federico G. Benavento

Re: [9fans] Plan9port Postcript

2008-03-18 Thread Pietro Gagliardi
What is the command line you are using to make the troff into a postscript file? Try troff x | dpost -f > x.ps On Mar 17, 2008, at 10:40 PM, Fernan Bolando wrote: Hi I was wondering if you guys are able to get the greek letters to work on your troff p9p installation. If I use proof

Re: [9fans] lies, damn lies and kloc.

2008-03-19 Thread Pietro Gagliardi
You've also forgotten the yacc file in cc. It still doesn't topple the chart: ; wc -l /sys/src/cmd/^(cc 8c 8l)^/*.[chy]|grep total 29908 total What should be compared is a C++ compiler and the associated libraries. Especially in C++0x! :-P What is the total of all the compilers, assemblers

Re: [9fans] It looks like our GSoC application was rejected

2008-03-19 Thread Pietro Gagliardi
The GFDL governs documentation. It tries to keep your manuals free-as- in-freedom. :-) Look at the absolute bottom of any page on Wikipedia. On Mar 19, 2008, at 3:19 AM, Andrew Simmons wrote: interested students should perhaps submit their plan 9 gsoc project proposals to the Hurd. i hear we h

Re: [9fans] EWOULDBLOCK in APE

2008-03-21 Thread Pietro Gagliardi
On Mar 21, 2008, at 12:07 AM, Skip Tavakkolian wrote: a couple of weeks ago brucee and i were looking for "wood block" on linux :) here's a little torture: which header file has the errno's on linux? On the contrary: none of them, because if SCO doesn't realize that once they release Unix a

[9fans] System call mania

2008-03-21 Thread Pietro Gagliardi
Hello. I was recently looking in libc when I noticed a few things about system calls: 1) brk and sbrk are implemented atop brk_, which is not documented 2) the seek function seems to be a system call, but the alpha folder defines a function seek which calls _seek 3) Some items in that file h

Re: [9fans] System call mania

2008-03-21 Thread Pietro Gagliardi
That confirmed one suspicion: the REAL calls are those who are simply named in /sys/src/libc/9syscall/sys.h, and that the USER-LEVEL calls are a big mess in libc. Thanks! On Mar 22, 2008, at 12:16 AM, Iruata Souza wrote: On 3/22/08, Pietro Gagliardi <[EMAIL PROTECTED]> wrote: Hello.

Re: [9fans] System call mania

2008-03-21 Thread Pietro Gagliardi
It suggests to me that these calls are the lowest level of communication with the kernel. I once thought that all system calls could be called by a program :-P On Mar 22, 2008, at 12:41 AM, Iruata Souza wrote: On 3/22/08, Pietro Gagliardi <[EMAIL PROTECTED]> wrote: That confirm

Re: [9fans] System call mania

2008-03-22 Thread Pietro Gagliardi
I was tired and I used the wrong words. On Mar 22, 2008, at 1:32 AM, ron minnich wrote: On Fri, Mar 21, 2008 at 9:44 PM, Pietro Gagliardi <[EMAIL PROTECTED]> wrote: It suggests to me that these calls are the lowest level of communication with the kernel. I once thought that all system

[9fans] Daylight savings time

2008-03-22 Thread Pietro Gagliardi
Hello. How do you configure Plan 9 to support DST? I noticed that my clock is wrong just now. Thanks.

Re: [9fans] Daylight savings time

2008-03-22 Thread Pietro Gagliardi
Thanks to both of you. I've been setting up virtual machines so many times that I forget these subtle things. On Mar 22, 2008, at 2:06 PM, erik quanstrom wrote: Hello. How do you configure Plan 9 to support DST? I noticed that my clock is wrong just now. Thanks. dst is supported as long as

[9fans] Drawterm + QEMU

2008-03-22 Thread Pietro Gagliardi
Hello. Has anyone gotten drawterm to work with QEMU on Mac OS X? If so, how? Thanks.

Re: [9fans] Drawterm + QEMU

2008-03-23 Thread Pietro Gagliardi
cat /net/ndb and those seem to work. On Mar 23, 2008, at 11:08 AM, Tom Lieber wrote: On Sat, Mar 22, 2008 at 2:32 PM, Pietro Gagliardi <[EMAIL PROTECTED]> wrote: Hello. Has anyone gotten drawterm to work with QEMU on Mac OS X? If so, how? Thanks. What issues are you hav

Re: [9fans] Drawterm + QEMU

2008-03-25 Thread Pietro Gagliardi
Okay, so now that I have drawterm working on my Mac, I'd like to have it working remotely at my school. Which IP addresses should I use instead of the localhost to connect to my CPU remotely? On Mar 23, 2008, at 12:54 PM, Pietro Gagliardi wrote: Ah yes, I had formatted the arguments

Re: [9fans] Drawterm + QEMU

2008-03-25 Thread Pietro Gagliardi
I'd still like to know which IP addresses to use for remote connection to my cpu box. I tried the one in /net/ndb (10.0.2.15) but it didn't work. On Mar 25, 2008, at 8:13 PM, erik quanstrom wrote: On Mar 23, 2008, at 12:54 PM, Pietro Gagliardi wrote: Ah yes, I had formatted the

Re: [9fans] bug in echo?

2008-03-26 Thread Pietro Gagliardi
Is there a valid reason to have echo process the arguments given? It's a simple mod: #include #include /* echo: echo args */ void main(int argc, char *argv[]) { int nl = 1; ARGBEGIN{ 'n':

Re: [9fans] bug in echo?

2008-03-26 Thread Pietro Gagliardi
But should echo ignore arguments it doesn't understand (like UNIX does) or complain (like GNU echo does)? Also note this from the bash manual: echo does not interpret -- to mean the end of options. This is just a matter of the proper behavior to implement echo -- with. Using two pro

Re: [9fans] bug in echo?

2008-03-26 Thread Pietro Gagliardi
On Mar 26, 2008, at 4:09 PM, andrey mirtchovski wrote: values of Δ will give rise to doom! at least get that one right, please? You don't get it, do you? Δ is the symbol for change. Now do you get it? CHANGE ---> DOOM

Re: [9fans] bug in echo?

2008-03-26 Thread Pietro Gagliardi
Yes I know what I quoted. I changed the B to a Delta to represent change and turned dom to doom. YOU ARE THE TARD IF YOU DID NOT GET THAT. It now reads CHANGE --> DOOM! We need to keep echo the same because of the fact we can't agree on something. On Mar 26, 2008, at 4:30 PM, andrey mirtc

Re: [9fans] bug in echo?

2008-03-26 Thread Pietro Gagliardi
6:06 PM, Iruata Souza wrote: On Wed, Mar 26, 2008 at 5:56 PM, Pietro Gagliardi <[EMAIL PROTECTED]> wrote: Yes I know what I quoted. I changed the B to a Delta to represent change and turned dom to doom. YOU ARE THE TARD IF YOU DID NOT GET THAT. It now reads CHANGE --> DOOM! We ne

Re: [9fans] RFC: 9zine

2008-03-26 Thread Pietro Gagliardi
That sounds cool. The Bell Systems Technical Journal, but for Plan 9. Count me in. On Mar 26, 2008, at 8:04 PM, Enrico Weigelt wrote: Hi folks, I'm currently planning an little ezine about Plan9 and related stuff (incl. 9P+synthentic filesystems on other OS'es). Maybe anyone interested ?

Re: [9fans] bug in echo?

2008-03-26 Thread Pietro Gagliardi
Who needs OpenOffice.org Write when you have troff? Who needs OpenOffice.org Calc when you have CSV and awk? Who needs OpenOffice.org Impress (PowerPoint) when you have troff and either mv or Uriel's macros? Who needs OpenOffice.org Draw when you have 2nd edition draw in /n/ sources/extra?

Re: [9fans] databases

2008-03-27 Thread Pietro Gagliardi
I had been thinking of adding a database to Plan 9 for a while. Here's my design: The DBMS is a 9P server. Upon mounting, it takes as arguments two files: - the list of names of records and fields - the data itself It then parses the data into virtual files in the location given

Re: [9fans] silliness in flight: build a desktop calculator with srv and rio

2008-03-31 Thread Pietro Gagliardi
On Mar 31, 2008, at 6:43 PM, Federico G. Benavento wrote: what about: % dc <[0=1] | echo 0 > /srv/desk Does that even do anything? You can't pipe to echo, can you?

Re: [9fans] bug in echo?

2008-04-03 Thread Pietro Gagliardi
The ultimate echo, actually useful, but no one wants it. NAME echo: echo arguments SYNOPSIS echo [-1abCDEeilmNnOqrtuVvwXx] [-B base] [-c cmd] [-d char] [-f file] [-L len] [-o file] [-S voice] [-s char] [args...] DESCRIPTION echo outputs its arguments. It takes the following sw

Re: [9fans] bug in echo?

2008-04-03 Thread Pietro Gagliardi
Ah good one. The order of interpretation is: -f -i command line On Apr 3, 2008, at 3:30 PM, Steven D. Vormwald wrote: Pietro Gagliardi wrote: The ultimate echo, actually useful, but no one wants it. NAME echo: echo arguments SYNOPSIS echo

Re: [9fans] bug in echo?

2008-04-03 Thread Pietro Gagliardi
You don't realize the point. I am agreeing with Kernighan and Pike: cat -v is harmful. So is ls -M, or echo -f, or rm -i. I'm showing a ludicrous echo command and challenging you to make it effective. What you'll find is surprising: 1) Maintaining echo is harder than maintaining all of Micros

Re: [9fans] bug in echo?

2008-04-03 Thread Pietro Gagliardi
Forgot a bit. echo -n '-n ' On Apr 3, 2008, at 6:44 PM, John Floren wrote: On Thu, Apr 3, 2008 at 3:26 PM, Pietro Gagliardi <[EMAIL PROTECTED]> wrote: You don't realize the point. I am agreeing with Kernighan and Pike: cat -v is harmful. So is ls -M,

[9fans] Oh what the heck - more drawterm/OS X bugs

2008-04-06 Thread Pietro Gagliardi
Here's a subtle bug: 1) Open a new acme session 2) Copy a chunk of text from this email in Mac OS X Mail 3) Paste it in Acme 4) Copy just this line of text from Mac OS X Mail 5) Paste it somwhere else It seems as if each successive paste isn't truncating /dev/snarf properly, so that we wind up

Re: [9fans] OSX Drawterm hangs on close

2008-04-08 Thread Pietro Gagliardi
Also realize that Cocoa is written in Objective-C, not C, so you need to learn a new language to get your hands on it. You CAN write a C wrapper around the Objective-C (it was originally a C preprocessor), but I don't think elite Mac programmers would recommend it. On Apr 8, 2008, at 10:32

Re: [9fans] bug in echo?

2008-04-08 Thread Pietro Gagliardi
mory of that is fading). On Apr 8, 2008, at 7:51 PM, david parsons wrote: In article <[EMAIL PROTECTED]>, Pietro Gagliardi <[EMAIL PROTECTED]> wrote: The ultimate echo, actually useful, but no one wants it. NAME echo: echo arguments SYNOPSIS echo [-1abCDEeilmNnOqrtuVv

Re: [9fans] sshserve.c

2008-04-15 Thread Pietro Gagliardi
Yup. usage() is calling itself with no termination condition - and what's more, it is tail recursing. It should be void usage(void) { fprint(2, "usage: sshserve [-A authlist] [-c cipherlist] client-ip- address\n"); exits("usage"); } to keep w

Re: [9fans] sshserve.c

2008-04-15 Thread Pietro Gagliardi
On Apr 15, 2008, at 6:34 PM, [EMAIL PROTECTED] wrote: Yup. usage() is calling itself with no termination condition - and what's more, it is tail recursing. It should be void usage(void) { fprint(2, "usage: sshserve [-A authlist] [-c cipherlist] client-ip

Re: [9fans] sshserve.c

2008-04-16 Thread Pietro Gagliardi
On Apr 15, 2008, at 11:30 PM, Bruce Ellis wrote: On Wed, Apr 16, 2008 at 12:29 PM, Russ Cox <[EMAIL PROTECTED]> wrote: Using MacFUSE + sshfs, I have: -bash$ sshfs ar.aichi-u.ac.jp: /n/ar remote host has disconnected -bash$ Then /sys/log/ssh says: ar Apr 16 07:53:15 [359853]

[9fans] Plan 9 refuses to boot from iMac

2008-04-16 Thread Pietro Gagliardi
Hello. Tired of waiting for Q's developers to fix the bug resulting in QEMU, which Q provides a wrapper for, freezing every time I boot, I decided to try to run Plan 9 on native Mac hardware. I have a December 2006 iMac with a 2GHz Intel Core 2 Duo. When I boot the iMac from the latest Plan

Re: [9fans] Plan 9 refuses to boot from iMac

2008-04-16 Thread Pietro Gagliardi
On Apr 16, 2008, at 6:14 PM, Armando Camarero wrote: Pietro Gagliardi escribió: Hello. Tired of waiting for Q's developers to fix the bug resulting in QEMU, which Q provides a wrapper for, freezing every time I boot, I decided to try to run Plan 9 on native Mac hardware. I have a Dec

Re: [9fans] Plan 9 refuses to boot from iMac

2008-04-17 Thread Pietro Gagliardi
rEFIT fails me. Back to waiting. On Apr 17, 2008, at 9:29 AM, Anant Narayanan wrote: Does 9load support EFI? A. OS X EFI emulates a BIOS. That's how Boot Camp works. You need to explicitly enable it, and even then it won't work quite right until you get a nice bootloader that chains (muc

Re: [9fans] Plan 9 refuses to boot from iMac

2008-04-17 Thread Pietro Gagliardi
I have one, but unfortunately, Broadcom hardware (remember when I first joined 9fans)? On Apr 17, 2008, at 5:22 PM, erik quanstrom wrote: On Thu Apr 17 17:19:06 EDT 2008, [EMAIL PROTECTED] wrote: rEFIT fails me. Back to waiting. you know, you could get a pc. - erik

[9fans] Does Plan 9 do this? It crashes QEMU on Leopard

2008-04-19 Thread Pietro Gagliardi
The following was taken from a log of a run of Plan 9 on QEMU on Leopard. When Venti told me it would archive some blocks, this is what happened: Apr 19 21:09:11 ool-18b97500 [0x0-0x44d44d].ch.kberg.q[9530]: sb16: attempt to change DMA 8bit 32(1), 16bit 6(5) (val=0x40) and everything stop

[9fans] QEMU and Venti

2008-04-22 Thread Pietro Gagliardi
Hello. Someone just told me the fault on why QEMU crashes every time I boot Plan 9 -- venti. With a fossil only system, everything worked without a hitch -- until that corrupt root entry fiasco which cost me a book I was writing, a troff preprocessor (eg, for graphing equations), my extensi

[9fans] How to read fossil+venti partition without venti

2008-04-22 Thread Pietro Gagliardi
Hello. I'm trying to recover my files from the fossil+venti system I have. I changed the configuration to read fsys oldfs config /dev/sdC1/fossil fsys oldfs open -AWPVr srv fossil then do fossil/fossil -f /dev/sdC1/fossil mount /srv/fossil /n/oldfs oldf

Re: [9fans] How to read fossil+venti partition without venti

2008-04-23 Thread Pietro Gagliardi
t 11:21 PM, Bruce Ellis wrote: On Wed, Apr 23, 2008 at 11:48 AM, Pietro Gagliardi <[EMAIL PROTECTED]> wrote: Hello. I'm trying to recover my files from the fossil+venti system I have. I changed the configuration to read fsys oldfs config /dev/sdC1/fossil fsys oldfs

[9fans] I finally fixed venti

2008-04-26 Thread Pietro Gagliardi
I just figured out the cause of my venti problems: the qcow2 disk image program was not communicating very well with Q. I changed it to a raw disk image and it works now. I'll be changing the wiki in a bit.

[9fans] Drawterm not working in Leopard

2008-04-26 Thread Pietro Gagliardi
Hello. I use the following to get to drawterm in OS X: drawterm-osx-intel -c 'tcp!127.0.0.1!17010' -a 'tcp!127.0.0.1!2567' - s 'tcp!127.0.0.1!5356' -u pietro It works nicely on Tiger, but on Leopard, I got cpu: can't dial tcp!127.0.0.1!17010: Connection refused goodbye Now

[9fans] mpictures and ms: text before is gone

2008-04-26 Thread Pietro Gagliardi
Hello. I decided to take advantage of mpicture's wrapping text. However, when I do so, the text before the picture and the wrapped text disappears, leaving space. I tried prefixing with .fl to flush everything, but to no avail. What's going on?

Re: [9fans] Drawterm not working in Leopard

2008-04-26 Thread Pietro Gagliardi
It seems to be a firewall problem, then. telnet on Plan 9 reports connection refused. On Apr 26, 2008, at 5:17 PM, [EMAIL PROTECTED] wrote: i don't really believe your problem's drawterm; i'm typing this in drawterm on leopard now. more likely, either the firewall settings have changed or wha

Re: [9fans] mpictures and ms: text before is gone

2008-04-27 Thread Pietro Gagliardi
/n/sources/contrib/pietro/saturn.tar has an example of what I mean. troff -ms -mpictures tmac.colors saturnhd.ms history.ms On Apr 27, 2008, at 12:43 PM, Russ Cox wrote: Hello. I decided to take advantage of mpicture's wrapping text. However, when I do so, the text before the picture a

Re: [9fans] mpictures and ms: text before is gone

2008-04-28 Thread Pietro Gagliardi
Probable bug in lp? I did hget ... | jpg -9 | lp -dstdout -pp9bitpost > ... # this is a school project hget | lp -dstdout -pjpgpost > ... # when I realized it existed However, there is one GIF in my project and that didn't cause any problems, so it makes me wonder... The only pos

Re: [9fans] ftpfs ahould not expose "." and ".." directories

2008-04-28 Thread Pietro Gagliardi
You do realize using strncmp means that a filename like .abc or ..whatever will also get hidden? There is no notion of a hidden file in Plan 9, nor is there an option to ls to show them. It's only necessary to hide . and .., not whatever the other system feels is a hidden file. Also note

Re: [9fans] Drawterm not working in Leopard

2008-04-28 Thread Pietro Gagliardi
to try to solve their own problems before asking someone (on 9fans or not) to solve it. there is a word describing the change in the order of these actions: laziness. iru You do realize I tried? On Apr 26, 2008, at 4:17 PM, Pietro Gagliardi wrote: Now I found a lot about this on some sites

[9fans] A new language for Plan 9

2008-05-01 Thread Pietro Gagliardi
Hello. I started working on Bentley, a new programming language. This was inspired by and is based on the pseudocode in Jon Bentley's "Programming Pearls" - a column for the CACM that became a book. The compiler generates Assembly in a temporary file, then calls up the assembler to make the

Re: [9fans] A new language for Plan 9

2008-05-01 Thread Pietro Gagliardi
On May 1, 2008, at 9:52 PM, Rob Pike wrote: Indentation by white space is a very bad idea in my experience. Superficially attractive but ultimately very dangerous. I once spent a couple of days tracking down a bug caused by a source-to-source code tool that broke a major program because the cod

Re: [9fans] A new language for Plan 9

2008-05-01 Thread Pietro Gagliardi
On May 1, 2008, at 9:12 PM, Federico G. Benavento wrote: Put it this way: It's unwise to make program structure depend on invisible characters. a white space is something hard to find, some time ago I helped a friend who couldn't get a mkfile working, he got something like: "mk: mkfile:6: s

Re: [9fans] A new language for Plan 9

2008-05-01 Thread Pietro Gagliardi
On May 1, 2008, at 9:26 PM, erik quanstrom wrote: one does if key = 'c' then scanline runcommand else generate(key) assemble(key) This is similar to Python, and prevents the

Re: [9fans] A new language for Plan 9

2008-05-01 Thread Pietro Gagliardi
On May 1, 2008, at 10:21 PM, Pietro Gagliardi wrote: On May 1, 2008, at 9:26 PM, erik quanstrom wrote: one does if key = 'c' then scanline runcommand else ge

Re: [9fans] Disassembler?

2008-05-02 Thread Pietro Gagliardi
On May 2, 2008, at 6:14 AM, Anant Narayanan wrote: Hi, Is there a tool available which can convert plan 9 a.out executables to plan 9 assembly code? I'd like to know how the C compiler stores arguments for a system call on the stack for x86. 8c -S does not help, since all it displays is:

Re: [9fans] Factotum

2008-05-03 Thread Pietro Gagliardi
On May 3, 2008, at 6:54 PM, erik quanstrom wrote: factotum comes from the Charles Bukowski's book? i thought the reference was older minooka; dict */factotum/ 1 Fac*to"tum *1 Fac*to"tum (făk*tō"tŭm), n.; pl. Factotums (- tŭmz). [L., do e

Re: [9fans] A new language for Plan 9

2008-05-03 Thread Pietro Gagliardi
We have two ratpies. They're ruby and perl. Pick your poison. On May 3, 2008, at 7:32 PM, Bruce Ellis wrote: ratpie! tasty. i thought a pindent was what a pinhead gets when you scone him with a frypan. brucee On Sun, May 4, 2008 at 9:28 AM, Skip Tavakkolian <[EMAIL PROTECTED]> wrote: my ori

Re: [9fans] Factotum

2008-05-03 Thread Pietro Gagliardi
On May 3, 2008, at 9:37 PM, Russ Cox wrote: Fac*to"tum (făk*tō"tŭm), n.; pl. Factotums (- tŭmz). [L., do everything; facere to do + totus all : cf. F. factotum. See /Fact/, and /Total/.] A person employed to do all kinds of work or business. B. Jonson. And that d

Re: [9fans] A new language for Plan 9

2008-05-04 Thread Pietro Gagliardi
s/one/two/ # don't forget c++ On May 4, 2008, at 8:18 AM, Bruce Ellis wrote: I think the quote of the day was "We already support one C-like language". brucee On Sun, May 4, 2008 at 5:57 PM, <[EMAIL PROTECTED]> wrote: Just out of curiosity, why did alef die, or are some of you still using

Re: [9fans] A new language for Plan 9

2008-05-04 Thread Pietro Gagliardi
I put up a new Bentley. This has support for, hopefully, all control structures: if e then if..then s if e then if..then..else s else

Re: [9fans] A new language for Plan 9

2008-05-05 Thread Pietro Gagliardi
On May 4, 2008, at 10:24 PM, andrey mirtchovski wrote: Set for the next release: bit arrays. "I'd use plan 9 before i'd use bitfields" -- pjw I'm aware of that quote. The design of bit arrays will be totally different from the design of bitfields. They are true arrays that can be used in

Re: [9fans] Equis

2008-05-06 Thread Pietro Gagliardi
/n/sources/contrib/pietro/fgbx11.errors And after that, how do I run? I get some errors and a big X after X11/equis On May 6, 2008, at 10:55 AM, Federico G. Benavento wrote: lotte% contrib/list -v fgb/X11 fgb/X11: Description: Equis - Xserver for Plan 9 + Xlibs

Re: [9fans] Plan 9 Logo Font

2008-05-06 Thread Pietro Gagliardi
The covers of the manuals on the vol1.pdf in /sys/man and in the vol2.pdf in my contrib dir (/n/sources/contrib/pietro) is the same ol' Lucida Sans. It's a nice font family. My question is why it lacks fs, ffs, etc. You'll see Peter's face in the back of the troff manual where they should b

Re: [9fans] A new language for Plan 9

2008-05-07 Thread Pietro Gagliardi
On May 7, 2008, at 5:24 AM, Matt Erickson wrote: On 2008-05-02, erik quanstrom <[EMAIL PROTECTED]> pondered onto the tubes: one does if key = 'c' then scanline runcommand else generate(key)

Re: [9fans] A new language for Plan 9

2008-05-11 Thread Pietro Gagliardi
A new Bentley is up. This defines hopefully all of the bitwise operators I will support: & | ^ << >> ~ (as in C) <@ >@ (roll left and roll right, also called circular shift) I'm still working on the base language, getting type checking working and allowing logical AND, OR, XO

[9fans] ms problem

2008-05-12 Thread Pietro Gagliardi
Hello. The just-updated ms macro set for troff has a problem: if you use .P1 and .P2, you have an .IP followed by an .RE, which winds up doing nothing, so the indent stays. Try it out. .PP The following... .P1 abc() { def; }

Re: [9fans] ms problem

2008-05-13 Thread Pietro Gagliardi
I just found out that .RS and .RE no longer work - they too keep the indent. Again, please revert to the older version. On May 12, 2008, at 4:26 PM, Pietro Gagliardi wrote: Hello. The just-updated ms macro set for troff has a problem: if you use .P1 and .P2, you have an .IP followed by an

Re: [9fans] ms problem

2008-05-13 Thread Pietro Gagliardi
Everyone that uses .P1 has to do yesterday then. On May 13, 2008, at 4:59 PM, erik quanstrom wrote: yesterday(1) yesterday(1) all my 9trouble seemed so vlong away ... - erik

[9fans] blbooks.html

2008-05-15 Thread Pietro Gagliardi
Hello. Does anyone know what happened to http://www.bell-labs.com/blbooks.html and what the list there is? Thanks.

Re: [9fans] ms problem

2008-05-16 Thread Pietro Gagliardi
.P2 still doesn't work right. I'm going to send an update in a minute. On May 14, 2008, at 1:10 PM, Sape Mullender wrote: I just found out that .RS and .RE no longer work - they too keep the indent. Again, please revert to the older version. On May 12, 2008, at 4:26 PM, Pietro Gagli

Re: [9fans] fonts for X11

2008-05-17 Thread Pietro Gagliardi
I believe that was the same problem I had. Compare it to /n/sources/ contrib/pietro/fgbX11.errors. On May 17, 2008, at 6:33 AM, [EMAIL PROTECTED] wrote: I get, from /n/sources: tar: can't open ape/X11/fonts/encodings/large/big5.eten-0.enc.gz: 'big5.eten-0.enc.gz' permission denied tar: can'

[9fans] Assembler weirdness?

2008-05-17 Thread Pietro Gagliardi
Hello. I'm trying to switch from GCC/NASM to the good old Plan 9 tools to get a simple kernel I'm writing compiled and working with 9load (which fortunately is Multiboot-compliant). But there is one file - an 8a-ized hand-me-down interrupt service routine array - that is causing problems. R

Re: [9fans] Assembler weirdness?

2008-05-17 Thread Pietro Gagliardi
You mean ##? Okay, but since 8a doesn't have an option to issue the standard C preprocessor (cpp(1) - 8c has -p), I'll see what I can do. On May 17, 2008, at 9:44 PM, erik quanstrom wrote: Hello. I'm trying to switch from GCC/NASM to the good old Plan 9 tools to get a simple kernel I'm writ

[9fans] Linker weirdness? (was: Assembler weirdness?)

2008-05-17 Thread Pietro Gagliardi
/pietro/pgos.err And yes, I plan to use the a.out(6). But now it just takes raw binary. On May 17, 2008, at 10:21 PM, Pietro Gagliardi wrote: You mean ##? Okay, but since 8a doesn't have an option to issue the standard C preprocessor (cpp(1) - 8c has -p), I'll see what I can do. On Ma

Re: [9fans] Linker weirdness? (was: Assembler weirdness?)

2008-05-18 Thread Pietro Gagliardi
Thanks for the typing tip. It turns out that I used x+0(SB) instead of x+0(FP) for some of the arguments to a functions. Now to test. On May 18, 2008, at 8:02 AM, erik quanstrom wrote: 8l -T0x10 -o 8.out boot.8 cpuid.8 floppy.8 gdt.8 halt.8 harddisk.8 interrupt.8 jmtrue.8 keyboard.8 memo

[9fans] "Web server" wiki page not found

2008-05-18 Thread Pietro Gagliardi
% cd /mnt/wiki/ % ls | grep '^web_server$' web_server % cd web_server Can't cd web_server: 'web_server' file does not exist Why is this happening? My Mac OS X Safari reports the same thing. - Pietro

Re: [9fans] dag pic preprocessor

2008-05-19 Thread Pietro Gagliardi
On May 19, 2008, at 10:08 AM, Steve Simon wrote: Hi, I want to draw some DAGs. Dot (part of graphviz) seems to be the way to do it these days, however looking at the sources I wondered if there was a smaller simpler way to do this. I found a reference to dag, a pic preprocessor which seems to

[9fans] Where is Uriel?

2008-05-19 Thread Pietro Gagliardi
He has been MIA since March 11, and his last cat-v blog update was from around that time. Isn't he supposed to be taking care of some things, like the Contrib Index page of the wiki? I just modified his contrindx and updated it myself.

Re: [9fans] A shot in the dark

2008-05-27 Thread Pietro Gagliardi
No, I wasn't around that time :-) But I was looking for the Hello World X11 paper a while back, which was pre-website USENIX. But on the USENIX website it seems that you can purchase papers from before 1991(?). Perhaps they had a paper? On May 27, 2008, at 6:02 PM, ron minnich wrote: OK,

Re: [9fans] simulation and newsqueak

2008-05-30 Thread Pietro Gagliardi
Have you done a port of Newsqueak to Plan 9? I tried using Rob's original code (and failed, albeit not very miserably). What do you mean by "monte carlo" - the solitaire? Perhaps a look at the concept would be helpful. On May 30, 2008, at 6:27 PM, Skip Tavakkolian wrote: i need to build a

Re: [9fans] simulation and newsqueak

2008-05-31 Thread Pietro Gagliardi
On May 31, 2008, at 1:29 AM, Rob Pike wrote: The Unix source is on my web site. -rob And I had lots of problems porting that to Plan 9. It works well on my Mac, though.

Re: [9fans] secretpem(1)

2008-06-03 Thread Pietro Gagliardi
I have a program grepman that searches the actual man pages rather than just the index (which is what lookman does). It turned up nothing. The First Edition manual, which Uriel hosts, also has nothing. I can't seem to figure out what this does. On Jun 3, 2008, at 3:49 AM, [EMAIL PROTECTED]

Re: [9fans] stub function generator

2008-06-05 Thread Pietro Gagliardi
If you are conforming to style(6), awk can generate stub functions quite easily. # turns lines of the form # valid type name # name ( argument-list ) # into # valid type name # stub_ ## name

[9fans] Fun with libthread 1: The Sieve

2008-06-05 Thread Pietro Gagliardi
Hello. I decided to teach myself the 33 libraries of Plan 9 (even those that I partially know), and I started with libthread, Sape's implementation of Newsqueak-esque threads in C. One of Rob's favorite programs is Doug's Newsqueak Sieve of Eratosthenes. It's a simple Newsqueak program that

Re: [9fans] Fun with libthread 1: The Sieve

2008-06-06 Thread Pietro Gagliardi
on Bentley showed me how to count simple algorithms. I'm not so sure this is very simple at first glance. On Jun 6, 2008, at 5:55 AM, Martin Neubauer wrote: Very amusing. However, I'm not sure what you are trying to tell us, besides that you haven't understood what the O(...) m

Re: [9fans] Fun with libthread 1: The Sieve

2008-06-06 Thread Pietro Gagliardi
The program spawns n + 2 threads. sieve and counter are only spawned once, but filter is spawned for every prime number. With Roger's command line, primes took me about 91 seconds - possibly because it isn't looking for a specific end. primes 1 2837711 takes 43 seconds. Up next: what happ

[9fans] Second, third edition manuals

2008-06-07 Thread Pietro Gagliardi
Hello. Just out of curiosity, does anyone have the second or third edition programmer's manuals? I found the first edition on uriel's docs site. Thanks.

Re: [9fans] Second, third edition manuals

2008-06-08 Thread Pietro Gagliardi
er copy of the same stuff. If anyone has any papers that are not included in any of the existing collections I would love to get a copy. uriel On Sun, Jun 8, 2008 at 5:17 AM, Pietro Gagliardi <[EMAIL PROTECTED]> wrote: Hello. Just out of curiosity, does anyone have the second or

  1   2   3   >