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);

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,

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

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 confirmed one

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 calls

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 wrong

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

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
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 need to keep echo the same because

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

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

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, or echo -f, or rm -i. I'm

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] 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

[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

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

2008-04-23 Thread Pietro Gagliardi
, 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 open -AWPVr srv fossil

[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] 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

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:

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

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

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*totum *1 Fac*totum (făk*tōtŭm), n.; pl. Factotums (- tŭmz). [L., do

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-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, XOR,

[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
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] 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:

[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.

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

[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 May 17, 2008

[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

[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] 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

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

2008-06-06 Thread Pietro Gagliardi
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(...) means. * Pietro Gagliardi

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

[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
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 third edition programmer's

[9fans] First/second edition image manipulation tools

2008-06-11 Thread Pietro Gagliardi
Hello. My next experiment in learning libraries, as well as my next project, is a reimplementation of the first and second edition raster graphics manipulation tools. These use libmemdraw, which provides Memimage. Since I only have a working first edition manual, the program I will

Re: [9fans] First/second edition image manipulation tools

2008-06-11 Thread Pietro Gagliardi
On Jun 11, 2008, at 11:46 PM, Russ Cox wrote: The first edition specified the arguments to -o as two values - this cannot be done due to idiosyncrasies with args(2). case 'o': arg1 = EARGF(usage()); arg2 = EARGF(usage()); break; russ According to

Re: [9fans] command line tool for storing / reading files on venti

2008-06-13 Thread Pietro Gagliardi
9fs dump command /n/dump//mmdd/absolutepathtofile - year mmdd - month and date On Jun 13, 2008, at 3:50 PM, Enrico Weigelt wrote: Hi folks, is there any command line tool for reading and writing files on venti ? The venti/read and venti/write commands just support single blocks.

Re: [9fans] command line tool for storing / reading files on venti

2008-06-15 Thread Pietro Gagliardi
On Jun 15, 2008, at 12:02 PM, Enrico Weigelt wrote: Aha. But this still does not terminate the vacfs, right ? Once you kill the script, you also kill the processes it created - that's what process groups are, remember? Please read The Use of Name Spaces in Plan 9 and the rfork man page

Re: [9fans] command line tool for storing / reading files on venti

2008-06-15 Thread Pietro Gagliardi
Doesn't matter. Process groups are process groups on any Unix clone. If it's daemons you're dealing with, then it leaves the scope of this room. If it's Windows, you're out of luck. On Jun 15, 2008, at 1:13 PM, Enrico Weigelt wrote: * Pietro Gagliardi [EMAIL PROTECTED] wrote: On Jun 15

[9fans] Getting drawterm to work in Leopard (again)

2008-06-19 Thread Pietro Gagliardi
Hello. I'm trying to get drawterm to work in Leopard again. Here is my command line: 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 The problem was that it told me the connection refused. I told the firewall to open ports 17010,

Re: [9fans] Getting drawterm to work in Leopard (again)

2008-06-19 Thread Pietro Gagliardi
All the ports except the guard and ticket (56[67]) work, and AS is still botched, so I believe AS has to do with one of those two (most likely ticket. This port problem might have to do with OS X. I'll ask around. On Jun 19, 2008, at 2:50 PM, erik quanstrom wrote: Hello. I'm trying to get

Re: [9fans] OSX Drawterm hangs on close

2008-06-24 Thread Pietro Gagliardi
On Jun 24, 2008, at 8:51 AM, Uriel wrote: Drawterm everywhere needs to die and be replaced with inferno. The duplication of bug fixes and efforts is pointless. I don't believe Inferno can interface with Plan 9 from Bell Labs, can it? And Inferno can't interface with the native

Re: [9fans] icache: nothing to do - kick dcache

2008-06-25 Thread Pietro Gagliardi
On Jun 25, 2008, at 6:37 PM, erik quanstrom wrote: Isn't that automatically done if I update daily? Or is the active venti hooked to the venticonf? since you're booting from venti root, venti and fossil are built into the kernel. so you need to update your kernel. this is not done

Re: [9fans] 9vx

2008-06-27 Thread Pietro Gagliardi
On Jun 27, 2008, at 1:39 PM, ron minnich wrote: This is really sweet. I think we've got an easy way to show people Plan 9 now. I agree: a self-contained 9 could really solve all my QEMU worries and boot CD nonsense! (No mouse detection, kbd init failed x infinity, inverse video - sorry)

Re: [9fans] 9vx

2008-06-27 Thread Pietro Gagliardi
On Jun 27, 2008, at 7:13 PM, Skip Tavakkolian wrote: i've not had a chance to look through the sources. is a windows port feasible? If you call translating the X API to Win32 or C++ .NET feasible, then yes! I'm struggling to Cocoa-ize it. It seems like a much easier job than with drawterm.

[9fans] prof, libc, and fixed length fields

2008-06-27 Thread Pietro Gagliardi
Bentley: /n/sources/contrib/pietro/bentley.bundle Bentley profiler output (on test program in bundle): /n/sources/ contrib/pietro/bentley.profout It demonstrates two deficiencies of the prof program as is: - line 312 should be modified to add a space after the first format, so that

Re: [9fans] 9vx

2008-06-28 Thread Pietro Gagliardi
Yes. It's a single line of code: exec rc -c '{ newns; rio }' On Jun 28, 2008, at 1:03 AM, [EMAIL PROTECTED] wrote: i've not had a chance to look through the sources. is a windows port feasible? I haven't looked at anything at all, but I've also never seen such a happy reception on

Re: [9fans] 9vx

2008-06-28 Thread Pietro Gagliardi
scratch that - no newns. (what is it's name?) On Jun 28, 2008, at 1:28 PM, Pietro Gagliardi wrote: Yes. It's a single line of code: exec rc -c '{ newns; rio }' On Jun 28, 2008, at 1:03 AM, [EMAIL PROTECTED] wrote: i've not had a chance to look through the sources. is a windows

Re: [9fans] 9vx native OS X gui

2008-06-28 Thread Pietro Gagliardi
Running the new native 9vx (which I was almost done doing myself, had it not been for that missing file): The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec(). Break on

Re: [9fans] Updating an old port . Warning! long lines of code

2008-06-29 Thread Pietro Gagliardi
On Jun 29, 2008, at 7:32 AM, Fernan Bolando wrote: /* int (*fputs)P((char *s, FILE *p)); */ /* sizet (*fwrite)P((char *s, sizet siz, sizet num, FILE *p)); */ Try uncommenting those two lines.

[9fans] kenc: casting expression to void not ignored

2008-06-29 Thread Pietro Gagliardi
Hello. I have a simple push macro for a stack machine interpreter. It looks like this: #define push(s) ((void)(((stackptr = (stack + stacksize)) ? growstack() : (void)0), (*stackptr++ = errcheck(s Does this boggle the mind? It's very simple: it checks for stack overflow and makes

Re: [9fans] kenc: casting expression to void not ignored

2008-06-29 Thread Pietro Gagliardi
I forgot to mention this is with the -w option; I found that turning it off also hid warnings I wanted to keep. On Jun 29, 2008, at 9:53 AM, Pietro Gagliardi wrote: Hello. I have a simple push macro for a stack machine interpreter. It looks like this: #define push(s) ((void)(((stackptr

Re: [9fans] 9vx os x

2008-06-29 Thread Pietro Gagliardi
This new release works. Thanks! Now to take my fossil/venti off QEMU and onto OS X. On Jun 29, 2008, at 1:00 PM, Russ Cox wrote: I have not bothered to create a new package, but there is a new binary available for OS X: hget -o 9vx.OSX.gz http://pdos.csail.mit.edu/~rsc/9vx.OSX.gz

Re: [9fans] sad commentary

2008-06-30 Thread Pietro Gagliardi
People do acknowledge the new free systems. Unfortunately, RMS got them off it in a microsecond when 3e came out: http://www.gnu.org/philosophy/plan-nine.html And I don't believe the Note at the top will change people's minds. And even if we do manage to make people remember Plan 9, we live

Re: [9fans] 9vx fork problem

2008-06-30 Thread Pietro Gagliardi
- Modify the kernel (it is based on Unix - even Microsoft says so) - Learn how Cygwin does it - Don't use real processes, like in Inferno On Jun 30, 2008, at 8:34 AM, Steve Simon wrote: Apparently, after a fork, a child retains it's parent's pid in _tos-pid. I think this is at the root of

Re: [9fans] sad commentary

2008-06-30 Thread Pietro Gagliardi
On Jun 30, 2008, at 9:48 AM, bblochl wrote: Pietro Gagliardi schrieb: If people say Plan 9 is too hard to use they will allocate blame to Rob Pike's rio before reading his tirade on other windowing systems (which you can find at http://cm.bell-labs.com/cm/cs/doc/88/1-07.ps.gz

Re: [9fans] sad commentary

2008-06-30 Thread Pietro Gagliardi
RMS has the power to turn people away from bad technology. Remember that now. On Jun 30, 2008, at 9:46 AM, bblochl wrote: Pietro Gagliardi schrieb: People do acknowledge the new free systems. Unfortunately, RMS got them off it in a microsecond when 3e came out: http://www.gnu.org

Re: [9fans] sad commentary

2008-06-30 Thread Pietro Gagliardi
On Jun 30, 2008, at 10:07 AM, [EMAIL PROTECTED] wrote: Are we talking about the same thing? Pietro's link is for an old paper by Rob Pike talking about the mux windowing system. There aren't really any examples. Much of the paper still applies to rio. From mux to rio few changes were

Re: [9fans] sad commentary

2008-06-30 Thread Pietro Gagliardi
On Jun 30, 2008, at 1:34 PM, [EMAIL PROTECTED] wrote: Now, before I set quill to parchment (or fingers to keyboard as may be), has anyone else started something like this? I was planning on doing something of the sort... On Jun 30, 2008, at 5:46 PM, erik quanstrom wrote: this guide was

[9fans] /lib/font fonts in troff

2008-06-30 Thread Pietro Gagliardi
Hello. I found a few fonts from /lib/font (Courier, for aesthetic reasons, and erik's vera, for its complete Unicode conformance) that I'd like to make available to troff. Is there any way to do this? I'll name the files myself (Other-Courier and Bitstream-Vera, perhaps). Thanks.

Re: [9fans] sad commentary

2008-07-01 Thread Pietro Gagliardi
On Jul 1, 2008, at 9:32 AM, [EMAIL PROTECTED] wrote: Eric, I don't know what this audio thing you CS/CE type researchers are using but us lowlifes just need Firefox and Excel before we can use Plan 9. I'm afraid that until you can provide those, Joe Public will never use Plan 9 and it will be

Re: [9fans] sad commentary

2008-07-01 Thread Pietro Gagliardi
If only we transmitted messages by voice. It's much easier to understand the sarcastic nature. (And you need to get me in a good mood.) On Jul 1, 2008, at 5:53 PM, Dan Cross wrote: (But sarcasm seems to escape you :-)) On Tue, Jul 1, 2008 at 5:35 PM, Pietro Gagliardi [EMAIL PROTECTED

Re: [9fans] improvement for vmware

2008-07-06 Thread Pietro Gagliardi
See patch(1) for instructions on contributing a patch. man -t patch | page On Jul 6, 2008, at 12:46 PM, Antonin Vecera wrote: Hello all, I don't know how to submit a patch, so I try to do it this way... I have installed Plan 9 in WMware Player and every time when I start the

Re: [9fans] replica question

2008-07-06 Thread Pietro Gagliardi
On Jul 6, 2008, at 1:03 PM, Antonin Vecera wrote: Hello all, can somebody help me with replica/pull ... I made some changes to /rc/bin/termrc . After that I decided to move my changes to /rc/bin/termrc.local and restore termrc . I did: replica/pull -v -s rc/bin/termrc

[9fans] man -p vs. man|page (was: improvement for vmware)

2008-07-06 Thread Pietro Gagliardi
On Jul 6, 2008, at 3:04 PM, erik quanstrom wrote: See patch(1) for instructions on contributing a patch. man -t patch | page which is equivalent to man -p patch - erik The following, however, are not: man -t 2 open pipe | page man -p 2 open pipe The

Re: [9fans] APE printf difference

2008-07-07 Thread Pietro Gagliardi
C89 does have such a requirement, in two places: Section 5.1.2.3: ... - The input and output dynamics of interactive devices shall take place as specified in 7.9.3. ... or line-buffered input appear as soon as possible, to ensure that prompting messages actually appear prior to a program

Re: [9fans] notes on the kernel published

2008-07-11 Thread Pietro Gagliardi
1) Did you update them for the 4th edition kernel, or are they still 3rd edition? 2) Does it include a source code listing? 3) Is it digital or hard print? 4) Is it available in America for USD? Otherwise, cool! On Jul 11, 2008, at 3:57 AM, Francisco J Ballesteros wrote: They are edited by

[9fans] file heuristics on troff input

2008-07-11 Thread Pietro Gagliardi
Just a bit of humor: COMPUTER ME % cd troff % file * advp9prog:directory yes (old attempt at plan 9 programmer's guide) algoawk:directory

Re: [9fans] setting up a differnet keyboard

2008-07-16 Thread Pietro Gagliardi
9fat: cp /sys/lib/kbmap/uk /n/9fat try again with kbmap=uk and reboot. On Jul 16, 2008, at 4:46 PM, Robert Hibberdine wrote: Thanks for reply. putting kbmap=uk into plan9.ini gives a message boot: can't open kbd map: 'uk' file does not exist. So I triedkbmap=/sys/lib//kbmap/uk

Re: [9fans] Plan 9 on MacBook?

2008-07-16 Thread Pietro Gagliardi
The ISO I got that was supposed to work natively on an iMac had: - keyboard error messages (but I think it worked) - no working mouse - inverse video But good luck on a MacBook! On Jul 16, 2008, at 10:30 PM, [EMAIL PROTECTED] wrote: I now have a more-or-less unused MacBook. I'm considering

Re: [9fans] Plan 9 on MacBook?

2008-07-16 Thread Pietro Gagliardi
Intel - there is no prebuilt PPC binary. That ELCR point is what made me get QEMU in the first place. You can find the ISO somewhere in /n/ sources/contrib. du and you can't miss it; it was made by someone else on the list. On Jul 16, 2008, at 10:40 PM, [EMAIL PROTECTED] wrote: This was

Re: [9fans] sam question

2008-07-17 Thread Pietro Gagliardi
On Jul 17, 2008, at 8:28 PM, erik quanstrom wrote: i suppose you could also type ctl+m

Re: [9fans] A0 poster w/troff

2008-07-23 Thread Pietro Gagliardi
For viewing with page, the simplest way is to add a line of the form %%BoundingBox: 0 0 w h where the width and height are in pixels (multiply by 72) before the second line of the PostScript output (dpost) and give page the -b option. On Jul 23, 2008, at 8:43 AM, [EMAIL PROTECTED]

Re: [9fans] [plan9mod] C compilers??

2008-07-24 Thread Pietro Gagliardi
bblochi - you failed to solve his problem. Instead you spat out an insane commentary on how to compile C programs, and the following both show his problem and show he figured out how to do it: On Jul 23, 2008, at 5:02 AM, [EMAIL PROTECTED] wrote: did not result in it being found (nor 8c

Re: [9fans] [plan9mod] C compilers??

2008-07-24 Thread Pietro Gagliardi
On Jul 24, 2008, at 10:23 AM, [EMAIL PROTECTED] wrote: Thanks! You should forward your friendly comments to Michael A. Covington. May be he will correct his Newbie`s guide? I thought those were YOUR words, not his.

Re: [9fans] [plan9mod] C compilers??

2008-07-24 Thread Pietro Gagliardi
All right, let's stop this now. I had just waken up and was a bit tired when I wrote that. But I had a reason: you did not answer the question of why the system didn't have an 8c. sorry.

Re: [9fans] current state of thread programming

2008-07-28 Thread Pietro Gagliardi
On Jul 28, 2008, at 1:11 PM, andrey mirtchovski wrote: salad fork. Locks, mutexes, the synchronized keyword; all of these things can strike fear into the heart of a green developer. Most That's what you get for using Java. On Jul 28, 2008, at 1:50 PM, [EMAIL PROTECTED] wrote: I'm unable to

[9fans] float.h

2008-08-05 Thread Pietro Gagliardi
Hello. Is there an alternative to the macros in this header? My program uses some of them (DBL_MIN, DBL_MAX, DBL_EPSILON), and including ape/float.h yields name clashes. Thanks.

Re: [9fans] Learning how to use sam

2008-08-08 Thread Pietro Gagliardi
On Aug 8, 2008, at 4:44 AM, [EMAIL PROTECTED] wrote: Besides the paper, manual, and language tutorial, is there anything else I should read to help me learn how to use sam? Would any background reading on Plan 9, ed, or anything else be helpful? Thanks. You're pretty much set with those

Re: [9fans] Using the Acme Editor

2008-08-19 Thread Pietro Gagliardi
On Aug 19, 2008, at 11:52 AM, Wendell xe wrote: 01. Toggle on/off line wrapping 02. Toggle on/off EOL character display 03. Display line numbers 04. Display ruler 05. Rectangluar block selection 06. Search and replace with confirmation at each item 07. Automatic insertion of spaces for tabs 08.

Re: [9fans] Using the Acme Editor

2008-08-19 Thread Pietro Gagliardi
On Aug 19, 2008, at 7:51 PM, Eris Discordia wrote: Plan 9 obeys the UNIX way: tools that make jobs simpler. A UNIX better than UNIX? I thought that was just the thing 9people claimed to be past. Didn't I hear someone saying, Plan 9 is not UNIX? Ahem... GNU's Not UNIX, too, nah? No,

Re: [9fans] Using the Acme Editor

2008-08-19 Thread Pietro Gagliardi
Geoff! Why not let Eris read your paper on Why Plan 9 Matters?

Re: [9fans] Using the Acme Editor

2008-08-19 Thread Pietro Gagliardi
Just a few other bits of relevance to the original topic: On Aug 19, 2008, at 11:52 AM, Wendell xe wrote: 07. Automatic insertion of spaces for tabs style(6) says not to convert tabs to spaces. 11. Bookmarks If you know what text the bookmark will point to, make a comment on the line

Re: [9fans] sorry

2008-08-20 Thread Pietro Gagliardi
As will I. This thread has become pointless. I'm done attacking this guy. If you need me, I'll be making good programs in Plan 9 or watching stuff in iTunes. On Aug 20, 2008, at 4:16 AM, Steve Simon wrote: Sorry for feeding the troll, I will shut up. -Steve

Re: [9fans] Porting Plan 9 to the TI Beagle Board

2008-08-22 Thread Pietro Gagliardi
I'd like to see Plan 9 being run on a portable device, and up until now I thought the only ways were to get an iPAQ (but are newer models compatible?) or to port 9vx to the iPhone (but does Apple's license allow that?). Can we use this board to make an alternative - the new bitsy? This

Re: [9fans] purposeful omission or amnesia

2008-09-12 Thread Pietro Gagliardi
On Sep 12, 2008, at 8:28 AM, Eris Discordia wrote: completely 'unencumbered' by POSIX. s/completely/almost / Pietro

Re: [9fans] window -hide rc -c 'label a_name; tail -f some_file'

2008-10-08 Thread Pietro Gagliardi
On Oct 8, 2008, at 2:26 PM, Rudolf Sykora wrote: Hello, I'd expect window -hide rc -c 'label a_name; tail -f some_file' would create a new hidden window (and so it does), run the tail command (and so it does) and set the name for the hidden window to a_name. The last thing seems to not

Re: [9fans] environment + functions

2008-10-08 Thread Pietro Gagliardi
On Oct 8, 2008, at 2:52 PM, Rudolf Sykora wrote: So, if I continuously want to add and remove functions within one shell (running hypothetically forever), do I have to 'manually' delete those empty left-behind files? --- that is, not only use fn name_that_I _don't_need but also rm

Re: [9fans] sorry for the noise; pgp test

2008-10-12 Thread Pietro Gagliardi
How? On Oct 12, 2008, at 6:00 AM, hiro wrote: I didn't get your mail, can't read it On Sun, Oct 12, 2008 at 5:40 AM, Pietro Gagliardi [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sorry for the noise; I'm just testing to see if the PGP for Apple's Mail

  1   2   >