Re: [9fans] Rounding off by one

2010-04-19 Thread Martin Neubauer
* tlaro...@polynum.com (tlaro...@polynum.com) wrote: While verifying that I have the same result under Plan9 than under some Unix (NetBSD), it happens that METAFONT compiles 110 of the 125 fontes, but hence fails on some (and it should not) with something that smells like a round off by one

Re: [9fans] hoc's behaviour, unary operators

2009-10-30 Thread Martin Neubauer
* Jorden Mauro (jrm8...@gmail.com) wrote: The -- with no space may be harder to fix. More importantly, it actually is a syntax error. Consider: 1-(-2) //Add 2 to 1 1-- //Decrement 1, how? --2 //Decrement 2, how? 1--2//Decrement 1? Decrement 2? How?

Re: [9fans] hoc's behaviour, unary operators

2009-10-30 Thread Martin Neubauer
* Rudolf Sykora (rudolf.syk...@gmail.com) wrote: (a-- b wouldn't make sense) it probably can't (can it?) be parsed simply with yacc... I don't see why it would be impossible. Just introduce a binary -- operator (cf. -1 vs. 1-2). Whether it's worth it...

Re: [9fans] undelete a file

2009-08-13 Thread Martin Neubauer
* Rudolf Sykora (rudolf.syk...@gmail.com) wrote: ... Do I need venti to be able to use the dump feature? Thanks Ruda Probably. You might get away with 9fs snap and having a peek at /n/snap, though. (I'm not sure as I haven't used fossil without venti backing of some sort in years.)

Re: [9fans] plan 9 interface color ergonomy

2009-07-10 Thread Martin Neubauer
I seem to recall reading a paper by Rob Pike about discussions, I think with Ren�e French, about this visual aspect. But I don't manage to find back which one it was, and if there are other ones about this ergonomy. Has somebody hints? Maybe you mean this?

Re: [9fans] what features would you like in a shell?

2009-04-01 Thread Martin Neubauer
* hiro (23h...@googlemail.com) wrote: I also use to put a sleep 1 in there. I'm all for minimalism: while(! firefox) sleep 1

Re: [9fans] Strange rc bug for the 9fans bug-squashing squad

2009-03-16 Thread Martin Neubauer
Hi, I think the following gives a clue: % cmp f f2 f f2 differ: char 8193 The following snippet from the Xbackq code seems to be the culprit: char wd[8193]; int c; char *s, *ewd=wd[8192], *stop; ... while((c = rchr(f))!=EOF){

Re: [9fans] Strange rc bug for the 9fans bug-squashing squad

2009-03-16 Thread Martin Neubauer
On second thought (and in the light of Geoffs reply) I probably won't. If you do care, the following change to the loop in question will at least preserve all input: while((c = rchr(f))!=EOF){ if(strchr(stop, c)){ if(s!=wd){

Re: [9fans] sam/rc script problem

2008-12-16 Thread Martin Neubauer
I tried your example (reduced to the to given lines) on my FreeBSD system and got identical output both ways. So I suspect it's a linux (or distro) thingie. I'm quite puzzled as to what could be the cause, though. Nevertheless, I'd still be cautious about here documents and variable

Re: [9fans] invisible prompt in win

2008-10-04 Thread Martin Neubauer
* erik quanstrom ([EMAIL PROTECTED]) wrote: the fact that the tick shows is also a bug. notice the scroll bar. What do you mean? You're showing no characters in the pane, the insertion point is after the last character. yes, but you're not showing the line which includes the prompt.

Re: [9fans] PCMCIA Ethernet

2008-09-17 Thread Martin Neubauer
I am using a 3c589 and remember having the same symptoms at first. Jmk then gave me the hint to try the other slot which amazingly did the trick. I then didn't investigate that further. Incidentally, I'm also having a 572 lying around I'm hoping to get running someday. As far as I remember, those

Re: [9fans] fshalt - 2xdone

2008-07-15 Thread Martin Neubauer
I'm pretty sure the line 7 isn't part of the halting procedure. It just indicates that it's time for fossil to do a new snapshot which isn't possible because the file system is halted. So just believe fshalt when it claims it is done. * Antonin Vecera ([EMAIL PROTECTED]) wrote: Hello all, I

Re: [9fans] replica question

2008-07-06 Thread Martin Neubauer
The reason there is no conflict is that the entries for rc/bin/termrc in the replica databases on sources and on your computer are identical. Only after termrc would change on sources a conflict would arise becase the local copy would not match the database entry of the last pull. * Antonin

Re: [9fans] acme scrollbar

2008-07-02 Thread Martin Neubauer
The left click is basically doing the opposite of the right click - it moves the top line to the position of the click. That way a left click after a right click restores the previous view of the file. (There may be some small distortion due to lines longer than the width of the window but that

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

2008-06-06 Thread Martin Neubauer
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 ([EMAIL PROTECTED]) wrote: Hello. I decided to teach myself the 33 libraries of Plan 9 (even those that I partially know), and I started with

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

2008-06-06 Thread Martin Neubauer
* Pietro Gagliardi ([EMAIL PROTECTED]) wrote: Martin: this was just an experiment. I'm really not sure how to count timed programs. Jon Bentley showed me how to count simple algorithms. I'm not so sure this is very simple at first glance. I rest my case.

Re: [9fans] ms problem

2008-05-13 Thread Martin Neubauer
yesterday(1) * Pietro Gagliardi ([EMAIL PROTECTED]) wrote: I just found out that .RS and .RE no longer work - they too keep the indent. Again, please revert to the older version.

Re: [9fans] bootsetup problem

2008-05-12 Thread Martin Neubauer
* bblochl ([EMAIL PROTECTED]) wrote: Martin, thank you very much for your helpful answer! Indeed it might be somewhat strange to install plan 9 as a standalone system and I am sure that this is seldom done. At least I have plan 9 on the laptop happily now. Let me describe the problem

Re: [9fans] bootsetup problem

2008-05-11 Thread Martin Neubauer
* bblochl ([EMAIL PROTECTED]) wrote: The chapter Locate and Mount the Distribution Archive with the task mountdisk is very obscure (especially for me as a non-english speaker). First of all the value of the Distribution disk ist not (and cannot be) /dev/sdD0/data because such a directory is

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

2008-05-02 Thread Martin Neubauer
* Bakul Shah ([EMAIL PROTECTED]) wrote: Clearly he has a lot of enthusiasm but I don't understand why he is squandering it on implementing boring old language ideas. Old ideas have the benefit of already being there.

Re: [9fans] bug in echo?

2008-04-03 Thread Martin Neubauer
* Gorka Guardiola ([EMAIL PROTECTED]) wrote: How are you going to call it smacmeecho ?. smacho