Re: [9fans] arm ports update

2010-05-13 Thread Charles Forsyth
>the flash translation layer, which was developed for nor flash and is >suspect with nand flash it's not "suspect" as such: just not implemented because it's the wrong approach. FTL's design assumes you can rewrite a word, flipping bits off (but never on), to change a physical/logical map efficie

Re: [9fans] 9vx and ubuntu 10.04LTS

2010-05-01 Thread Charles Forsyth
>this version madness confuses me. i could not get it to run on 9.10. i had 9vx running fine in 9.10 on the same machine. it was the upgrade to 10.04 LTS that messed it up today. i wonder why the library allocation addresses are different.

Re: [9fans] 9vx and ubuntu 10.04LTS

2010-05-01 Thread Charles Forsyth
>can you run the current 9vx in 9.04? yes

Re: [9fans] 9vx and ubuntu 10.04LTS

2010-05-01 Thread Charles Forsyth
% ldd 9vx.Linux # old ... % ldd 9vx # new note that `old' is run on an existing 9.04 (2.6.28-18-generic), which works, and `new' is the 10.04 (2.6.32-21-generic), which doesn't.

Re: [9fans] 9vx and ubuntu 10.04LTS

2010-05-01 Thread Charles Forsyth
% ldd 9vx.Linux # old linux-gate.so.1 => (0xb772) libX11.so.6 => /usr/lib/libX11.so.6 (0xb7617000) ... % ldd 9vx # new linux-gate.so.1 => (0x00704000) libX11.so.6 => /usr/lib/libX11.so.6 (0x00c35000) ... where an obvious difference is tha

Re: [9fans] 9vx and ubuntu 10.04LTS

2010-05-01 Thread Charles Forsyth
>2.6.32-21-generic according to uname -a or is that a combination?

Re: [9fans] 9vx and ubuntu 10.04LTS

2010-05-01 Thread Charles Forsyth
2.6.32-21-generic according to uname -a

[9fans] 9vx and ubuntu 10.04LTS

2010-05-01 Thread Charles Forsyth
having upgraded a machine to ubunut 10.04LTS yesterday, 9vx now crashes with a segmentation violation shortly after saying it is starting /bin/rc. has anyone else a similar problem on that or another linux system? 9vx itself was unchanged, but i also tried recompiling it (in case a linux include fi

Re: [9fans] A simple experiment

2010-04-30 Thread Charles Forsyth
>I agree that NAT and stateful firewalls (e.g. 'ip inspect' in IOS) >would need explicit support to understand the packet layout. it's a pity that the protocol revisions didn't move the port-addressing function outside individual protocols.

Re: [9fans] A simple experiment

2010-04-28 Thread Charles Forsyth
when timing http it's also a good idea to check that your isp hasn't got the item cached. admittedly, that in itself is a further potential advantage to http, because http caches abound, whereas 9p-based caches are few and far between.

Re: [9fans] BUG!!! in Plan9 compiler!

2010-04-24 Thread Charles Forsyth
>but c89 rules do seem a bit more sensible to me as they avoid surprises have you read the rules?

Re: [9fans] ken-cc, 64 bits machine, and 32 bits integers

2010-03-30 Thread Charles Forsyth
on 64-bit machines, int and long are 32 bits, long long (vlong) is 64 bits, just as on 32-bit machines, but pointers are 64 bits. defines uintptr as the integer type that will hold a pointer. u8int, u16int, u32int and u64int are used in device drivers and elsewhere to declare values (eg, in memor

Re: [9fans] more little hardware

2010-03-17 Thread Charles Forsyth
>vapor. That thing was pure vapor from start to end. i think that's a little unfair. they did produce something but underestimated the time and treasure required to make a prototype even moderately usable. had it been only the lack of software, they could have fixed it, but they were stuck too ear

Re: [9fans] int errno / errno.h patch

2010-03-03 Thread Charles Forsyth
>But for future reference should errno.h be used in Plan 9 programms or not? not using plan 9's own libraries (it has neither errno nor errno.h), but APE (ANSI/POSIX) programs should use

Re: [9fans] username surrounded by '( and )' e.g., '(username')

2010-02-22 Thread Charles Forsyth
>Can someone explain how this happened? >d-rwxrwxr-x M 8 '(rounin)' '(rounin)' 0 Feb 14 18:28 rounin it means there isn't an entry for "rounin" in /adm/users, so it shows the name unchanged as stored by fossil. (it's stored without the () -- those are just to distinguish the internal name from a n

Re: [9fans] skip mail

2010-02-17 Thread Charles Forsyth
>I don't know how else let skip now. facebook?

Re: [9fans] NaN, +Inf, and -Inf, constants?

2010-02-07 Thread Charles Forsyth
>seems like a bug to me. the spec is pretty clear: it's quite deliberate, having looked at the code. i suspect the rationale was that, finally, C provided a way outside the preprocessor to give symbolic names to constants. why restrict that to int? you can't easily get the same effect by adding #

Re: [9fans] NaN, +Inf, and -Inf, constants?

2010-02-07 Thread Charles Forsyth
i didn't even think to check earlier. even better: enum{ Fred= 1.5, Sam, }; double f = Fred; double g = Sam; h% 8c -S en.c DATAf+0(SB)/8,$(1.5e+00) DATAg+0(SB)/8,$(2.5e+00) GLOBL f+0(SB),$8 GLOBL g+0(SB),$

Re: [9fans] NaN, +Inf, and -Inf, constants?

2010-02-07 Thread Charles Forsyth
h% cat en.c enum{ Fred= 1.5 }; double f = Fred; h% 8c -S en.c DATAf+0(SB)/8,$(1.5e+00) GLOBL f+0(SB),$8 END , bug or quirk? what do you think?

Re: [9fans] kenfs question?

2010-02-07 Thread Charles Forsyth
> I guess I wasn't clear; what I was asking was why it was safe to > attempt to take a lock when splhi() at all. because such a lock is always taken with splhi, using ilock. you might find in older code the use of lock in interrupt handlers, protected by the implicit splhi of interrupt handling, a

Re: [9fans] mount acme on plan9port

2010-01-27 Thread Charles Forsyth
>"Our scripts will read them and cause trouble" is the basic complaint. unlike reading all those harmless files in /dev with no side-effects whatsoever

Re: [9fans] arch specific executables

2010-01-25 Thread Charles Forsyth
>perhaps this would be better in /dev/cons/cpuid ? doppio% ls '#P' '#P/archctl' '#P/cputype' '#P/ioalloc' '#P/iob' '#P/iol' '#P/iow' '#P/irqalloc' '#P/realmode' '#P/realmodemem' doppio% cat '#P/cputype' AMD64 1802 doppio% cat '#P/archctl' cpu AMD64 1802 pge pge on coherence mb586 cmpswap cmpswap

Re: [9fans] Shall we fix the use of Up/Dn arrows?

2010-01-24 Thread Charles Forsyth
> 1. We use Lf/Rt arrows to move the cursor, don't we? Then use Up/Dn to do > the same kind of task is symmetric, and thus more reasonable. you're assuming the task is symmetric; perhaps left/right and up/down aren't analogous, because x movement in a fixed y (left/right) is not the same as y move

Re: [9fans] Detecting EOF vs. Interrupt across 9P

2010-01-15 Thread Charles Forsyth
>i don't believe these two cases can be distinguished. you're right, and indeed don't believe it either.

Re: [9fans] Detecting EOF vs. Interrupt across 9P

2010-01-15 Thread Charles Forsyth
>you're right, and indeed don't believe it either. i meant: and indeed I don't believe it either.

Re: [9fans] Detecting EOF vs. Interrupt across 9P

2010-01-15 Thread Charles Forsyth
in the first case, you'll see the last Twrite and then a Tclunk. in the second, you'll see the first Twrite and then a Tflush (followed by a Tclunk when cat exits).

Re: [9fans] 9vx and create (...DMEXCL)

2009-12-22 Thread Charles Forsyth
>you could also modify ldevfs-posix.c to accept DMEXCL >and map that to O_EXCL|O_CREAT which may actually do the >right thing. no, it won't: OEXCL, perhaps, but not DMEXCL. i'd have thought it should be used in fscreate, though, to help chan.c implement OEXCL correctly. fscreate should fail if the

Re: [9fans] 10ed f77 manpage

2009-12-13 Thread Charles Forsyth
http://man.cat-v.org/unix_8th/1/f77 i'd be surprised if subsequently it had changed much.

Re: [9fans] port/allocb.c question

2009-12-09 Thread Charles Forsyth
>Is there any reason a locked increment is being used? good question. i thought it might be a new tradition. i don't think it's needed.

Re: [9fans] ideas for helpful system io functions

2009-12-07 Thread Charles Forsyth
> i wonder if there's a way of perverting fs(3) i made the comment fairly idly, so i shouldn't take it too seriously.

Re: [9fans] ideas for helpful system io functions

2009-12-07 Thread Charles Forsyth
>bind '#j4.5' /mnt/joined > ... to get a (read-only) fd that satisfies reads from fd 4 >until eof, then fd 5. i wonder if there's a way of perverting fs(3)

Re: [9fans] rc shell UNIX port repository

2009-12-06 Thread Charles Forsyth
>(And if so, can I build [plan9port rc] and use it independent of the rest > of the tools?) building it standalone will be hard, although you can reduce the surrounding source considerably, since it uses mainly or only lib9 (plan 9 libc). a little experiment suggests that once built, you mig

Re: [9fans] rc shell UNIX port repository

2009-12-06 Thread Charles Forsyth
> * who is maintaining the UNIX port of rc shell? (is it still >Tig?) (if so what's the email address?) if it's Byron Rakitzis' rc, it's not a `port' to UNIX of Plan 9's rc, but an independent implementation, with differences in the language, although it's quite usable and both versions are li

Re: [9fans] compiler double bug.

2009-12-01 Thread Charles Forsyth
>the implicit conversion on return also appears botched. both this: uint fun(void) { double g; g = 4215866817.; USED(g); return g; } void main(void) { uint x; double g; x = fun(); USED(x); g = 1.; exits(""); } and

Re: [9fans] compiler double bug.

2009-12-01 Thread Charles Forsyth
oh! getival is yours? but it's in the changes on the - lines not the + lines. the diffs have crossed the equator! i think i understand now. so the original had statements such as: wc = (int)getfval(x); and for excessive values in x (that couldn't be represented as an int) there was

Re: [9fans] compiler double bug.

2009-12-01 Thread Charles Forsyth
those fixes really don't seem right to me. the problem is in getival or its callers. somewhere along the way, ULONG_MAX is converted to double and then back to int (directly or indirectly). that yields a trap. now, in the case int x; x = (uint)d; the compiler is wrong to eliminate

Re: [9fans] compiler double bug.

2009-12-01 Thread Charles Forsyth
i hadn't noticed the changed example. it's removing the cast, which probably isn't right, although in that particular case it's probably better that it should trap (because the result is wrong). what is the actual code in awk that's equivalent to that sequence?

Re: [9fans] compiler double bug.

2009-12-01 Thread Charles Forsyth
#include #include void main(void) { double g = 4215866817.; print("%d\n", (unsigned int)g); print("%d\n", (unsigned int)g); exits(""); } 8c r.c 8l r.8 ./8.out -79100479 -79100479 no trap. it generates different code. (obviously the %d should be %ud in this case,

Re: [9fans] compiler double bug.

2009-12-01 Thread Charles Forsyth
g = 4215866817.; x = (int)g; does g fit in (int)? (no, (int) is 32 bit signed.) if (int) is (uint) it will fit, and not trap.

Re: [9fans] compiler double bug.

2009-12-01 Thread Charles Forsyth
the fppc points to the offending instruction.

Re: [9fans] SSH server

2009-11-27 Thread Charles Forsyth
>If it is, there's a depth of cleverness in the new Plan 9 >security model that I had missed until now, namely the elimination of >the intermediate "superuser" step required by the Unix paradigm. indeed that's the point.

Re: [9fans] Scanners

2009-11-26 Thread Charles Forsyth
>Reality is that the rate of introduction/change of hardware/silicon is too >fast >for any small - or even 'medium sized' team (FreeBSD for example) to keep up >with on their own... and that gap is widening. that's not usually the biggest problem, although it's true that lack of time can be a p

Re: [9fans] Scanners

2009-11-26 Thread Charles Forsyth
> I don't know how hideously complicated it would be, to implement a module > interface that would support loading linux modules into whatever other OS > such as Plan 9. only as hideously complicated as the linux kernel interfaces might be, but sadly those are indeed hideously complicated. try tra

Re: [9fans] Scanners

2009-11-25 Thread Charles Forsyth
>If Plan9 can 'plumb' a remote sound card, (a questionable example long >publicized) I'm sure it can do so with a mouse. it isn't plumbing, but export/import, and it's useful. i had a usable sound system on my r3000 indigo, but my PC had none. on the pc, i imported the indigo's /dev and played so

Re: [9fans] double wakeup disallowed

2009-10-28 Thread Charles Forsyth
>however the invarient that there is exactly one wakeup for >every sleep requires some careful accounting that >can be equally error prone.care not to double-interrupt. if a process p sleeps on r for condition f, and there are two wakeup(r), only the first wakeup does anything because by the time

Re: [9fans] double wakeup disallowed

2009-10-28 Thread Charles Forsyth
it isn't protecting against double wakeups, but instead detects a bug in the code. there's an invariant that the rendez and the process point to each other while the process is asleep. wakeup checks that invariant. there are three primitives (sleep, wakeup and note) and at different times in the pa

Re: [9fans] Two suggestions for ape (was: egrep for Plan9)

2009-10-23 Thread Charles Forsyth
it's /rc/bin/ape/ls that would change, not Plan 9's ls-proper. what does autoconf do with the `inode number'?

Re: [9fans] iwp9: getting from Atlanta to Athens

2009-10-18 Thread Charles Forsyth
International arrivals at ATL might be unprepared for the unusual procedure after immigration, baggage reclaim and customs. Having passed through customs, you reach a fork in the path with a choice between Atlanta and Transit Passengers. (I think it was left for Atlanta.) Then there's an extra sur

Re: [9fans] iwp9: getting from Atlanta to Athens

2009-10-12 Thread Charles Forsyth
this ought to have been better organised so we could all set off from the airport at once http://www.youtube.com/watch?v=YHa_jqxnn4o--- Begin Message --- I'll be in around 9pm or so the 20th, if I can give anyone a ride I will. ron--- End Message ---

Re: [9fans] IWP9 hack session

2009-10-06 Thread Charles Forsyth
>I'll try to get an european version here. the device itself still has a US style plug attached to it. the only difference is that it comes with one of those power leads with a figure-8 connector and a plug (UK in my case but presumably euro in yours). to use that, you need to unscrew the US styl

Re: [9fans] IWP9 hack session

2009-10-06 Thread Charles Forsyth
>Or is there a way via the usb port to get serial console (does not >seem so from block diagram) yes. the mini-usb connector is, in fact, a reverse rs232-usb device that puts the internal rs232 console on that external connector on usb. you can just plug it in to a usb connection on another machin

Re: [9fans] iwp9: getting from Atlanta to Athens

2009-10-06 Thread Charles Forsyth
>[rog] i'd be up for driving, assuming my UK driving license is sufficient. >[bill]License should be no problem with any of the major rental agencies. i've never had any trouble, but note that with a UK licence, if you've got a photocard, you must also produce the paper part: the `licence' is act

Re: [9fans] mishandling empty lists - let's fix it

2009-10-04 Thread Charles Forsyth
> cat - cat /fd/0

Re: [9fans] inferno from hg does not build out of the box

2009-10-02 Thread Charles Forsyth
>Perhaps a rule in the mkfile which would check/create empty directories? perhaps. there are several alternatives, and no doubt i'll switch to use a mix as appropriate. the annoying thing is that previously, whether through tar, replica, or even subversion, a suitable skeleton would appear without

Re: [9fans] inferno from hg does not build out of the box

2009-10-02 Thread Charles Forsyth
>committing a ".emptydir" file in each directory would be easier. why bother making it .emptydir (ie, with the dot) when that makes it invisible on broken host systems (with the ls bug) but visible under inferno itself. more important, and the reason i didn't do that, if it's visible under infern

Re: [9fans] Mounting Plan9 fs on Inferno

2009-09-28 Thread Charles Forsyth
it does work, and you can authenticate to plan 9 using Inferno's factotum (or, if you're running Inferno on Plan 9, using Plan 9's factotum within Inferno). the "bad fversion conversion ..." suggests that whatever you're running with aux/listen1 is spitting out something else before starting the p

Re: [9fans] "Blocks" in C

2009-09-18 Thread Charles Forsyth
> i mentioned that the pool library can act as a big > kernel lock a few weeks ago. i don't know if anyone > has thoughts on how to deal with this. it isn't really a `big kernel lock' in the linux sense. the big kernel lock was the device by which operating systems written with only a uniprocesso

Re: [9fans] "Blocks" in C

2009-09-17 Thread Charles Forsyth
we'd have been much better off if Apple had instead spent the time and effort writing a decent iTunes, or opening their platform interfaces enough that someone else could do it (and on Linux, not just Mac or Windows).

Re: [9fans] porting help please (gcc void pointer handling)

2009-09-09 Thread Charles Forsyth
>I am trying to port nhc98 the bytecode haskell compiler. i see. that makes it much harder to try my suggestion. i wonder why the compiler doesn't generate char* (or unsigned char*) for those defines? perhaps directly changing that would be better. if it needed a void* result then #define CT_v249

Re: [9fans] porting help please (gcc void pointer handling)

2009-09-09 Thread Charles Forsyth
you might consider using a sed script to change the CT_.* style #defines, and run the sed script from the mkfile/makefile, so although the porting is (in your sense) `destructive' it's done by changing the original source file automatically. you could sed (say) from a .h.orig to a .h using a single

Re: [9fans] nice quote

2009-09-09 Thread Charles Forsyth
if people would leave off moaning about moaning, we'd clear the space for more moaning about lisp although the former did have the advantage that the messages were shorter and didn't quote the bulk of all previous messages. anyone written any software recently? at this point it probably doesn't ma

Re: [9fans] porting help please (gcc void pointer handling)

2009-09-09 Thread Charles Forsyth
>is it valid just to add to make the porting non-destructive? >#ifdef Plan9 >#define void unsigned char >#endif not really, as a global define. it's legal to write Type *t; t = malloc(sizeof(*t)); and that won't work unless malloc returns a real void* (only void* is compatible wi

Re: [9fans] problems when hwaccel off or in inferno

2009-09-07 Thread Charles Forsyth
there's a bug in the control of the software cursor in plan 9, probably when loadimage is used. it can leave what my children call chicken tracks, as it updates the cursor. it shows up in at least vnc and inferno because they use the equivalent of loadimage on the screen to update their displays.

Re: [9fans] "Blocks" in C

2009-09-03 Thread Charles Forsyth
>Perhaps he [me?] can further elaborate. i certainly did not have comeau in mind.

Re: [9fans] "Blocks" in C

2009-09-02 Thread Charles Forsyth
>IMHO, I'd say C is C and I think it's better to leave >it as it is. If you want a language with extra features you can >probably find one. the blocks thing only works (apparently) by having two (visible) classes of function pointers. ugh. `clang' is apparently not just the name of the frontend

Re: [9fans] new sources

2009-08-31 Thread Charles Forsyth
>How about we convince the mailing list software to stop >inserting Reply-To headers. please don't. it's a list, with reply to the list.

Re: [9fans] Recursive structural expressions?

2009-08-20 Thread Charles Forsyth
qed allowed naming of regular expressions using `e' and their recursive invocation using \E, with results suggested earlier. http://cm.bell-labs.com/cm/cs/who/dmr/qedman.html http://cm.bell-labs.com/cm/cs/who/dmr/qedman.pdf ``It should be noted that the ability to define regular expressions recu

Re: [9fans] make slides in plan 9

2009-08-19 Thread Charles Forsyth
i use html, then any browser will do, even ie6 for most things. i use an rc script and awk to take an outline format such as - burble - more burble - even more burble with some other conventions to allow embedded code fragments. it's obviously easy to link to

Re: [9fans] audio standards -- too many to choose from

2009-08-14 Thread Charles Forsyth
sorry, i did realise. i'm afraid i just couldn't resist slightly misquoting Flanders and Swann's `Song of Reproduction' (High Fidelity). http://www.amazon.com/Complete-Flanders-Swann-Georges-Brassens/dp/B06T4S/ref=pd_sim_b_1--- Begin Message --- Charles Forsyth wrote: >

Re: [9fans] audio standards -- too many to choose from

2009-08-13 Thread Charles Forsyth
>Hardware 24...@192khz. the human ear can't hear as high as that still, it ought to please any passing bat! Hi-fi, hi-fi, ...

Re: [9fans] audio standards -- too many to choose from

2009-08-11 Thread Charles Forsyth
>we have scsi and ata. >and that's enough for me. that's more than enough for me.

Re: [9fans] audio standards -- too many to choose from

2009-08-11 Thread Charles Forsyth
> ... Inferno's implementation of mp3 in the kernel device file ... it does?

Re: [9fans] yet another installation guide

2009-08-11 Thread Charles Forsyth
>Soldering iron (nice old temperature controlled Weller) breaks down (never >heard of)! that's amazing.

Re: [9fans] Unexpected 8c warning message

2009-08-10 Thread Charles Forsyth
>8c complains, there is **certainly** an algorithm error somewhere for certainties, (such as many type errors) 8c unlike some others generates fatal errors, not warnings. it's a warning because it can't be absolutely sure that you don't know what you're doing, or that you aren't particularly cunni

Re: [9fans] another dual-atom motherboard: jetway nc92-330

2009-08-05 Thread Charles Forsyth
>the extra 4 pins are not required, but >they do give one extra flexability in selecting a power >supply. the original uniprocessor intel atom board required the extra 4 pin connection to be made (or bodged).

Re: [9fans] Kernel crash bug

2009-08-01 Thread Charles Forsyth
>maybe the kernel should use something like this to validate pointers >to null terminated strings? it could just call vmemchr correctly or vmemchr could be a touch more careful

Re: [9fans] Race condition in /sys/src/9/pc/trap.c?

2009-07-31 Thread Charles Forsyth
you can get similar effects by remapping things. i meant that it isn't likely to happen by accident, so am i bovvered? fault386 needs to be fixed mainly by or for people running a shared cpu server with hostile users (ie, students). for the rest of us it might be more useful to have the panic to pr

Re: [9fans] Race condition in /sys/src/9/pc/trap.c?

2009-07-31 Thread Charles Forsyth
>but my testcase crashes a uniprocessor system, so here is no >waiting for mmuflushes on other processors going on. it ensures mmuflushes in all other processes (sharing that segment) as well. in fact, the crash you describe just emphasises that point: the page reference no longer exists, hence th

Re: [9fans] Race condition in /sys/src/9/pc/trap.c?

2009-07-31 Thread Charles Forsyth
this resulted in a little side discussion. to save someone else from having to break a strong oath about 9fans, i'll sum it up. the existing code handles this situation. when several processes share a segment, and any one of them decides to shrink the segment, all the processes must see the change

Re: [9fans] [limbo] I tried keyring, but it was the wrong number

2009-07-30 Thread Charles Forsyth
>with a zero modulus (which suggests the key wasn't unpacked correctly). my deliberate mistake (it won't be using rsaencrypt but rsadecrypt) happened to highlight the actual problem, which is that strtosk shouldn't accept a string that looks to me (if not to it) like a public key not a private/sec

Re: [9fans] Race condition in /sys/src/9/pc/trap.c?

2009-07-30 Thread Charles Forsyth
just stop processes with s->ref > 1 from freeing parts of s with ibrk. it's not as if anything ever does in practice.

Re: [9fans] [limbo] I tried keyring, but it was the wrong number

2009-07-30 Thread Charles Forsyth
if you make an entry in the bugs list at inferno-os.googlecode.com i'll look at it shortly.

Re: [9fans] [limbo] I tried keyring, but it was the wrong number

2009-07-30 Thread Charles Forsyth
sorry. i accidentally deleted the first line of that reply: it will be mpdiv via mpmod via mpexp via rsaencrypt, with a zero modulus (which suggests the key wasn't unpacked correctly). but if you make an entry in the bugs list ... etc

Re: [9fans] Woes of New Language Support

2009-07-28 Thread Charles Forsyth
>the unicode proposal says that matches depend on (re, locale, input). >not just (re, input). i would think that is not acceptable. it's not just the unicode people. shell file name matching takes locale into account which often makes it case-independent (even with case-dependent file systems).

Re: [9fans] Does "as little software as possible" include a modern browser?

2009-07-22 Thread Charles Forsyth
>if there is no real browser for the platform, >how will Plan 9 participate in the "cloud computing" (r)evolution? not using a browser. careful now. down with this sort of thing!

Re: [9fans] i/o on a hangup channel asymmetry

2009-07-20 Thread Charles Forsyth
you're right. i wasn't thinking correctly.--- Begin Message --- On Mon, 2009-07-20 at 10:53 +0100, Charles Forsyth wrote: > >pipe would return -1 (and set a error condition) and the > >applications were paying attention (and I'm pretty sure all > >applications on P

Re: [9fans] i/o on a hangup channel asymmetry

2009-07-20 Thread Charles Forsyth
>pipe would return -1 (and set a error condition) and the >applications were paying attention (and I'm pretty sure all >applications on Plan 9 would do a reasonable thing when >presented with -1 from a write). they only notice when the write occurs. suppose that takes several minutes of computatio

Re: [9fans] dcp - a deep copy script, better than dircp

2009-07-20 Thread Charles Forsyth
>Before I say anythign daft, what's '+'? It does not appear to be special on my >system. it's interpreted by mkfs in its proto file to mean all the substructure of a directory. see mkfs(8).

Re: [9fans] i/o on a hangup channel asymmetry

2009-07-20 Thread Charles Forsyth
d character and block "special files" as special types of files in a physical file system, to represent devices.--- Begin Message --- On Jul 19, 2009, at 2:55 PM, Charles Forsyth wrote: not for network connections? i think pipe is the only case, and even that is suppressed for pipes t

Re: [9fans] i/o on a hangup channel asymmetry

2009-07-19 Thread Charles Forsyth
>not for network connections? i think pipe is the only case, and even that is suppressed for pipes that carry 9p, after mounting.

Re: [9fans] new usb stack and implicit timeouts

2009-07-19 Thread Charles Forsyth
disconnecting a usb device should result (eventually) in a suitable status on the relevant hub, and thus shouldn't require a timeout to get an error back to the user. devices that don't respond because they are in a bad state can be unplugged (if removeable). built-in devices on built-in hubs tha

Re: [9fans] i/o on a hangup channel asymmetry

2009-07-19 Thread Charles Forsyth
>perhaps i've been asleep at the swtch, but i don't recall seing writes >on closed channels terminate programs with a note. sys: write on closed pipe mainly to kill off a pipeline when the thing at the end has finished. i think that might be the only instance where a note is used.

Re: [9fans] Why does Acme only show text?

2009-07-15 Thread Charles Forsyth
Oberon takes advantage of a structured text representation where both the interpretation and graphic representation of particular elements is provided by Oberon modules. One demonstration had a little animated cartoon character that could be cut and pasted into another frame, where it continued to

[9fans] restricted remote address

2009-07-10 Thread Charles Forsyth
h% 9fs sources srv tcp!sources.cs.bell-labs.com: mount failed: restricted remote address virgin media changed my IP address overnight. reverse lookup gives a subdomain of virginmedia.com, but presumably it's the IP address that sources is restricting?

Re: [9fans] Google finally announces their lightweight OS

2009-07-08 Thread Charles Forsyth
"The software architecture is simple — Google Chrome running within a new windowing system on top of a Linux kernel." although most of the technology news reports i've seen today appear not to have read the googleblog (or at least, not that far into it).

Re: [9fans] Guide to using Acme effectively?

2009-07-02 Thread Charles Forsyth
>Also, you don't have the scrollwheel buckling and rolling around as you try to >mid-click. i found that with nearly all the ones i tried, but the small Gigaware wireless optical notebook mouse cat. number 26-284 from Radio Shack has a scrollwheel with enough resistance that it doesn't do that, a

Re: [9fans] Guide to using Acme effectively?

2009-07-01 Thread Charles Forsyth
>I'm just not sure time is the right thing to measure. it wasn't just time, but included other aspects such as accuracy. ``but i want to be slow AND, overall, inaccurate!''

Re: [9fans] Guide to using Acme effectively?

2009-07-01 Thread Charles Forsyth
>I think Tog's conclusions (the single set of studies put forth whenever this >thing >comes up) are poorly made ... it turns out that there is rather older work that supports much the same conclusion, which i probably saw mentioned in HCI Remixed, since that's one i've read recently.

Re: [9fans] Different representations of the same

2009-06-17 Thread Charles Forsyth
>The only drawback so far seems to be the fact that if one >needs flexibility, then every file becomes a subdirectory. >Not that it is scary or anything, but it smells too much >of resource forks (or may be I'm just too easily scared). it's the other way round: they ought to have represented colle

Re: [9fans] simple question: multiple rename

2009-06-16 Thread Charles Forsyth
>The Evolution of Conciousness in the Breakdown of the Bicameral Mind.doc it's not worth worrying about for that book (i think it's `Origin' not `Evolution') i am astounded it keeps resurfacing.

<    5   6   7   8   9   10   11   12   >