Re: [9fans] ISO C and typestr

2013-03-15 Thread Charles Forsyth
On 15 March 2013 16:52, Joel C. Salomon wrote: > BTW, the C11 standard includes a restricted form of 9c's anonymous > sub-structs (with no pointer conversion). > isn't the pointer conversion most of the point of them?

Re: [9fans] unix rsa-key with passphrase vs. p9(p)

2013-03-08 Thread Charles Forsyth
It isn't just one "cloud machine", and includes several servers that I own, and virtual servers that I lease, and my Internet connections are usually good; if they are not, the machines I'd otherwise connect to outside the house aren't accessible anyway, so I don't need the keys.

Re: [9fans] X11 [was APE select and awkward Python subprocess PIPEfitting]

2013-02-28 Thread Charles Forsyth
On 28 February 2013 23:02, Jeff Sickel wrote: > that just removes the > offending EBADF > it should generate EBADF for any bit set in any of the fd_sets when that bit doesn't correspond to an open file descriptor. the mistake was producing EBADF on a very specific condition associated with an *o

Re: [9fans] X11

2013-02-28 Thread Charles Forsyth
ANSI C has a "_Noreturn" attribute that I started to implement, but I think I might fall back to a #pragma, which would be quicker to do. On 28 February 2013 14:15, Steve Simon wrote: > I have rebuilt equis with the change in ape's select > and it seems to work fine (tested with xlock and xter

Re: [9fans] rc script question

2013-02-27 Thread Charles Forsyth
i assumed you wanted a b c as command line arguments in the second case, not echoed in. in the first case, you indexed a variable. in the second case, you indexed nothing. % rc -c 'echo @ $*(2-) @' a b c @ b c @ On 27 February 2013 15:41, Steve Simon wrote: > Hi, > > rc is not working how I e

Re: [9fans] the import/exportfs protocol and a proposed import -z flag

2013-02-27 Thread Charles Forsyth
On 27 February 2013 08:24, wrote: > I hope this post leads to constructive discussion of the import/exportfs > protocol. As you'll have noticed, it isn't a great protocol as it stands. I don't think your option makes it worse. Thanks for the detailed discussion. I think at least one existing sy

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

2013-02-26 Thread Charles Forsyth
On 26 February 2013 17:01, Jeff Sickel wrote: > Of course, if we're going the Linux route, we'll need to up FD_SETSIZE to > at > least 1024, we're currently at 96. Seems that 1024 has become the default > these days. > I meant only for trying to work out what seems to satisfy X11 as regards err

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

2013-02-26 Thread Charles Forsyth
On 26 February 2013 16:20, Charles Forsyth wrote: > If APE's select does the same, it will be fine, without breaking Python's > pipes. "it will be fine" -- I meant X11 will be fine, since it's relying on closing a file descriptor in one part of the program

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

2013-02-26 Thread Charles Forsyth
On 26 February 2013 15:29, Jeff Sickel wrote: > But if the X11 port does expect EBADF on the EOF, then I'd expect > it to break. > It breaks anyway: http://lists.opensuse.org/opensuse-bugs/2012-08/msg02390.html Note, however, that the EBADF in that example is on the output side (and outputs are

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

2013-02-26 Thread Charles Forsyth
On 26 February 2013 11:25, Yaroslav wrote: > 've come to the conclusion that the code that causes error is intentional I don't think that code is right. It's correct to return with a bit set in rfds for a file descriptor that's ready with only an end of file (zero read). EBADF should only be g

Re: [9fans] Ancient History: "Electronic Mail Without Aliases"

2013-02-26 Thread Charles Forsyth
On 26 February 2013 07:35, Devon H. O'Dell wrote: > So I > googled the directory and presto chango. Took about 3 minutes. > The dates on the file and the file with the e-mail exchange with Lesk suggests the file only turned up there on 14 Feb this year, which probably explains why it wasn't quit

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

2013-02-25 Thread Charles Forsyth
"My other question is: what's the security implications of cpu? You get to do processes on the remote box, but then they also get to have filesystem access on yours. " If you don't entirely trust the cpu server, you *should* export a name space from your terminal, limit the processes on the cpu s

Re: [9fans] going too far?

2013-02-19 Thread Charles Forsyth
On 19 February 2013 10:05, Bruce Ellis wrote: > i could only presume that the #includes are expected to be in the first > block. that would be all right, I suppose, but I didn't think the go command compiled C programs as well (or at least, that's what I'd read). It's a bit like PIP, though, so

Re: [9fans] going too far?

2013-02-19 Thread Charles Forsyth
On 18 February 2013 19:23, andrey mirtchovski wrote: > sorry, not all source files, just the 'import' section. I could see the relevance of reading the contents 7 times (since there were separate go clean requests), but it wasn't clear to me why it was apparently reading 4k from each file in th

Re: [9fans] going too far?

2013-02-18 Thread Charles Forsyth
On 18 February 2013 19:23, andrey mirtchovski wrote: > sorry, not all source files, just the 'import' section. In nemo's example, it seemed to have wandered off into go/src/cmd, reading 4k from everything there each time, which began to add up, if I've read the iostats correctly. As to caching

Re: [9fans] going too far?

2013-02-18 Thread Charles Forsyth
On 19 February 2013 01:36, Charles Forsyth wrote: > I wonder if there's something about nemo's example > that gets {go clean ...} wandering through all the src/cmd stuff so often. > One difference is that I had floren's code outside the go tree, although it would sti

Re: [9fans] c compiler bug

2013-02-18 Thread Charles Forsyth
On 18 February 2013 15:02, erik quanstrom wrote: > since nested functions are not allowed, applying nested scope seems > a bit odd. > Nevertheless, that is what it is.

Re: [9fans] c compiler bug

2013-02-18 Thread Charles Forsyth
On 18 February 2013 13:02, Comeau At9Fans wrote: > seems to be doing is setting up allowing the call to compile and once that > is satisfied then the subsequent definition "has" to match it, as perhaps a > way to do type punning. No, the compiler is simply applying scope rules. Without that inn

Re: [9fans] why does this compile?

2013-02-14 Thread Charles Forsyth
No, but the value at least isn't bizarre. It would be correct for rloge as an array, and i assume it gets through because of the way the array->pointer change is done. Even so, if it had been GCC, by now it would be an essential extension, and have been used to implement an elisp interpreter, shave

Re: [9fans] acid on linux; easiest-to-set-up virtual machine

2013-01-31 Thread Charles Forsyth
I couldn't get the vbox I downloaded to work properly with Solaris. Several hours of my life are missing. On 1 February 2013 02:39, ron minnich wrote: > vbox is a useful bit paperweight. Maybe you have too many bits, and > they might float away. Use vbox to hold them down. If you ever need > the

Re: [9fans] fortune nomination

2013-01-31 Thread Charles Forsyth
On 31 January 2013 17:44, Rox 64 wrote: > If I wanted to implement human beings, physical laws, an universe and an > operating system inside a missing text editor inside a Lisp interpreter on a > C compiler I'm pretty sure I would add 1200 options. That's a great summary. Thank you.

Re: [9fans] fp crash

2013-01-28 Thread Charles Forsyth
On 28 January 2013 23:37, erik quanstrom wrote: > is the compiler free to assume that > d2 has not been modified? It's free to do it, but whether it ought to is another matter. Your specific example has appeared once before, but I can't remember the context and resolution (it might have turned up

Re: [9fans] Spanish hyphenation in troff

2013-01-18 Thread Charles Forsyth
On 18 January 2013 18:43, trebol wrote: > This is a shame... I was very happy with the multilingual point in the OS's > design. troff predated the multilingual part by a few decades; its parent roff was even older.

Re: [9fans] big endian plan 9 machine?

2013-01-13 Thread Charles Forsyth
Blue Gene On 13 January 2013 18:00, Lyndon Nerenberg wrote: > Charles, what sort of PPC hardware were you running on?

Re: [9fans] big endian plan 9 machine?

2013-01-13 Thread Charles Forsyth
The distribution, I suppose, or something like it, and code we wrote. I don't know of any publicly-available big-endian machines to test new things. On 13 January 2013 17:45, erik quanstrom wrote: > are you speaking of the distribution, or of plan 9 code in general? > i was speaking of plan 9 cod

Re: [9fans] big endian plan 9 machine?

2013-01-13 Thread Charles Forsyth
I'd be surprised if there are too many endian problems, because everything I tried ran happily on PowerPC which is usually big-endian. On 13 January 2013 17:08, erik quanstrom wrote: > i'm sure that > we're in a similar situation with endianness, but perhaps even > worse.

Re: [9fans] info for manual

2013-01-09 Thread Charles Forsyth
Sorry, I was unclear, and mixed the reply in with some extraneous comments. I'm afraid none of the documentation for Plan 9 or Inferno has been translated into Italian. The only Italian documentation I've seen is Inferno material at http://basile.web.cs.unibo.it/inferno/ (I don't know whether it'

Re: [9fans] info for manual

2013-01-08 Thread Charles Forsyth
Unfortunately it coincided with a period during which people with no apparent previous link to Inferno or Plan 9 were offering to translate to different languages, with a slightly strange follow-up, and we thought it was another one of those. I don't think any of the papers let alone the manual pa

Re: [9fans] Mercurial and Plan 9

2013-01-04 Thread Charles Forsyth
The first Python port aimed at a so-called "native" port but as I worked on it to import a newer version of Python, it became clear that Python's standard libraries, certainly as used by most Python applications, are so closely bound up with POSIX interfaces (eg, the exact components of the stat st

Re: [9fans] arm compiler bug

2013-01-02 Thread Charles Forsyth
and 0x8000 is thereby unsigned int, which changes the nature of the comparison. On 2 January 2013 15:53, Charles Forsyth wrote: > those are being done at compile time. > > On 2 January 2013 15:07, erik quanstrom wrote: >> i get the same results for all compilers:

Re: [9fans] arm compiler bug

2013-01-02 Thread Charles Forsyth
those are being done at compile time. On 2 January 2013 15:07, erik quanstrom wrote: > i get the same results for all compilers:

Re: [9fans] file server design documentation

2012-12-22 Thread Charles Forsyth
Sorry, I was unclear, I meant stat("" ...) On 22 December 2012 15:59, erik quanstrom wrote: > , although I don't know >> anything that relies on that.

Re: [9fans] file server design documentation

2012-12-22 Thread Charles Forsyth
I don't think either of those is a special rule, or undocumented. Indeed, I can't think of any behaviour that isn't covered in section 5. Following an attach, you're at the root, and a walk with no qids will leave you there, so stat will just work, although I don't know anything that relies on tha

Re: [9fans] preempted()

2012-12-20 Thread Charles Forsyth
it's up to sched to handle nlocks, which it does, via delaysched. On 20 December 2012 18:23, erik quanstrom wrote: > why does preempted() not check up->nlocks? > > - erik >

Re: [9fans] 5l

2012-12-12 Thread Charles Forsyth
it doesn't say that taslock.5 defines free incompatibly: there's a disagreement about lock. free and taslock are being linked together, and both call lock, but they have incompatible definitions for lock, most likely because Lock is different in each scope. taslock.5 defines lock; free calls it. O

Re: [9fans] 9vx and Go

2012-12-10 Thread Charles Forsyth
oh no, not MMX. SSE/SSE2 surely (ie, XMM)? On 11 December 2012 00:10, Anthony Martin wrote: > It is if you're using MMX registers.

Re: [9fans] 9vx and Go

2012-12-10 Thread Charles Forsyth
MOVQ isn't a 32-bit instruction. On 10 December 2012 16:42, Anthony Martin wrote: > There's also a few instructions (MOVQ, EMMS, etc.)

Re: [9fans] QTEXCL/DMEXCL redundancy

2012-12-05 Thread Charles Forsyth
I was explaining why the top bits of the mode were in qid.type (replacing the older single bit directory flag at the top of qid.path). I wasn't saying which of those were important to which applications. You could, of course, not bother to put QTEXCL in that set specially, and then have special cas

Re: [9fans] QTEXCL/DMEXCL redundancy

2012-12-05 Thread Charles Forsyth
cfs, fscfs On 5 December 2012 12:39, erik quanstrom wrote: > i couldn't find a single program that takes advantage of this

Re: [9fans] QTEXCL/DMEXCL redundancy

2012-12-05 Thread Charles Forsyth
The qid.type is defined to be the top 8 bits of the mode. See the end of intro(5) and the discussion in stat(5). On 5 December 2012 09:41, Pavel Klinkovsky wrote: > I really do not understand why such a redundancy (QTEXCL/qid and DMEXCL/mode) > is there...

Re: [9fans] QTEXCL/DMEXCL redundancy

2012-12-05 Thread Charles Forsyth
The reason for having those bits in the qid.type is because the qid is returned on open, allowing (say) caching programs to discover directory/not append-only/not and other details without needing another transaction (and a race) to stat the file. On 5 December 2012 11:01, Charles Forsyth wrote

Re: [9fans] c++

2012-12-03 Thread Charles Forsyth
I see. That might be tedious. On 3 December 2012 14:58, Kurt H Maier wrote: > This may be true, but this is not what is being taught at the university > level.

Re: [9fans] c++

2012-12-03 Thread Charles Forsyth
>> C++ and java feel highly inconsistent and are full of stupid busywork >> and strange programming philosophies that you have to "learn" about, I've written programs in both languages and you don't really have to worry about the philosophies, if by that is meant things like the Pattern stuff, whe

Re: [9fans] GAS front-end for 8a?

2012-12-03 Thread Charles Forsyth
Oh. I think you might still have to tweak the result by hand, because the calling conventions are different. Then again, if you're linking it with something else using the same conventions, it will work. On 3 December 2012 10:11, Charles Forsyth wrote: > Perhaps you could do the transf

Re: [9fans] GAS front-end for 8a?

2012-12-03 Thread Charles Forsyth
Perhaps you could do the transformation using a sam -d script. I've done that incrementally by hand in the past, I think, for 68k not x86. On 3 December 2012 10:02, Jens Staal wrote: > Alternative ways of dealing with GAS ASM and still get native object files are > also welcome :)

Re: [9fans] sleep(2) historical question

2012-11-29 Thread Charles Forsyth
My problem is that the kernel is not currently capable of supplying what Erik defines, to the process level even internally, and even for his described applications (delays of a small interval, tiny retransmission times), it's not clear that the traditional sleep, which has *always* been sloppy, is

Re: [9fans] sleep(2) historical question

2012-11-28 Thread Charles Forsyth
well, that's ok. On 28 November 2012 21:43, Bakul Shah wrote: > And in any case why stick to an artificial choice made decades > ago when it gets in the way of at lease some applications? > Seems best to get rid of the fixed 100Hz clock and allow as > fine a timer resolution (& accuracy) as a par

Re: [9fans] sleep(2) historical question

2012-11-28 Thread Charles Forsyth
If you look at the manual pages for nanosleep, clock_nanosleep and others on Linux you'll see that they have many bits of advice, BUGS notes, and other statements to the effect that the standard things do not work well, and most need some sort of real-time support to do anything sensible. An earlie

Re: [9fans] sleep(2) historical question

2012-11-28 Thread Charles Forsyth
RTT computation isn't the problem. you're going to use a multicore numa 64-bit processor to clock edges into a simple device register at microsecond resolution without any attempt at timeliness? seriously? On 28 November 2012 19:38, Bakul Shah wrote: > RTT > computation as Erik pointed out. If y

Re: [9fans] sleep(2) historical question

2012-11-28 Thread Charles Forsyth
No, I don't think it is, in this case. I really don't see many applications deeply yearning for tiny sleeps and naplets. On 28 November 2012 18:58, Bakul Shah wrote: > Chicken and egg.

Re: [9fans] sleep(2) historical question

2012-11-28 Thread Charles Forsyth
Because they claim to be providing a service that's not actually being provided. On 28 November 2012 13:30, erik quanstrom wrote: > why do extra zeros on the right bother you?

Re: [9fans] sleep(2) historical question

2012-11-28 Thread Charles Forsyth
No, really, I'm quite serious. A grep of /sys/src/cmd/ suggests that most sleeps are relatively large, and arbitrary. None of the applications look likely to need microsecond let alone nanosecond resolution, and that seems reasonable to me. One exception is sleep(0), but that's yield() If I want t

Re: [9fans] sleep(2) historical question

2012-11-27 Thread Charles Forsyth
the relative unimportance of sleep? On 27 November 2012 23:19, erik quanstrom wrote: > why is sleep(2) limited in resolution to HZ in the > portable code? the underlying mechanism is often > much finer grained than HZ, and if there is a limit, > one would think that it's related to the hardware

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

2012-11-22 Thread Charles Forsyth
/runtime/runtime.h: uintptr n; // number of parameters ./src/pkg/runtime/thread_netbsd.c: uintptr nout; ./src/pkg/runtime/cpuprof.c: uintptr nlog; On 22 November 2012 12:39, Anthony Martin wrote: > Charles Forsyth once said: >> On 22 November 2012 03:44, Bruce Ellis wrote: >> &

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

2012-11-22 Thread Charles Forsyth
It was changed in Ritchie's own compiler in v7 as I noted earlier. It was that, use long, or limit your sizeof'd data to half the 16-bit address space. On 22 November 2012 11:54, Steve Simon wrote: > I wish I had been in the standards meeting with a big stick when somone > suggested sizeof() retu

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

2012-11-22 Thread Charles Forsyth
It was in v6 (and a nasty bug): /* * sizeof gets turned into a number here. * Bug: sizeof(structure-member-array) is 2 because * the array has been turned into a ptr already. */ if (op==SIZEOF) { t1 = length(p1); p1->op = CON; p1->type = INT;

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

2012-11-22 Thread Charles Forsyth
I meant, "detect code". It's easy to find: just look at libflate, but there were many more. On 22 November 2012 11:32, Charles Forsyth wrote: > it's quite > hard to find code (automatically) that assumes they are 32 bits.

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

2012-11-22 Thread Charles Forsyth
To try to clarify: most existing Plan 9 code doesn't worry about the actual type of sizeof or pointer differences. They assume int/long or uint/ulong. It's obvious from this discussion that hardly anyone noticed usize. Since its introduction years ago, grep shows that only kernel code has used usiz

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

2012-11-22 Thread Charles Forsyth
On 22 November 2012 11:00, Richard Miller <9f...@hamnavoe.com> wrote: > OTOH, it's not worth making special provision for physical memory addresses. > I think that any code which is dealing with those is not likely to be > portable to another architecture for many other reasons. I can't envision >

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

2012-11-22 Thread Charles Forsyth
I hadn't noticed that particularly, but having grep'd the source, I see it's also used for variables that are counters and numbers of things. Is that right too? I suspect it's more out of expediency. Some other type usage looks odd too. int32 where int would do. Curious. On 22 November 2012 03:44,

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

2012-11-21 Thread Charles Forsyth
That will obviously work, and indeed I use uintmem the same way to avoid having yet another type, but that's only because that's specific to the kernel, and of little use. Otherwise, I think there's a difference between storing a pointer value in an integer, and storing a size. For one thing, many

Re: [9fans] 8c - is this leagal?

2012-11-21 Thread Charles Forsyth
By which I meant that yes, it's legal ANSI C code to combine them. The strange way the compiler implements volatile references probably led to that odd diagnostic. As I said, I'd try nopping the volatile. On 21 November 2012 13:30, Charles Forsyth wrote: > static is scope, volatil

Re: [9fans] 8c - is this leagal?

2012-11-21 Thread Charles Forsyth
>static volatile svn_atomic_t cache_init_state = 0; svn_atomic_t? has it got its own thread library? coroutines?

Re: [9fans] 8c - is this leagal?

2012-11-21 Thread Charles Forsyth
static is scope, volatile has dynamic effects, very dynamic. you should be able to #define volatile to nothing (-Dvolatile'=') and it will usually work. certainly for statics and externals. the one real effect it might have is on automatic variables if the usage in conjunction with setjmp is a litt

Re: [9fans] Kernel panic when allocating a huge memory

2012-11-03 Thread Charles Forsyth
local paging algorithms can avoid thrashing: "the process pages against itself". global paging algorithms typically do not (invariably do not, in my experience, but most people use essentially the same one, so there might be some that worked). Wilkes has a nice discussion of paging algorithms as a

Re: [9fans] Kernel panic when allocating a huge memory

2012-11-03 Thread Charles Forsyth
We'll see. I'll reiterate my original remark that it would be worthwhile tracking down and fixing the virtual memory or paging bug in sources plan 9, not necessarily to make use of paging, but to ensure that the paging problem isn't just a symptom of something else that normally gets by. If 9front

Re: [9fans] Kernel panic when allocating a huge memory

2012-11-02 Thread Charles Forsyth
There's a non-trivial chance that what now goes wrong with paging (which did once work, even if it isn't great) is a symptom of a bug that afflicts the virtual memory code itself. (For instance, a page unlocked during a critical period, a race, and so on.) On 2 November 2012 19:18, erik quanstro

Re: [9fans] plan9.bell-labs.com, sources down this

2012-10-31 Thread Charles Forsyth
There has been a storm, I believe. On 31 October 2012 10:13, kali wrote: > is it still offline ? the name doesnt even resolve.

Re: [9fans] caveat... optimizer? the `zero and forget' thread on HN

2012-10-29 Thread Charles Forsyth
"But my point was that a programmer should understand the standard" But suppose the standard does not evidently aim to be understood, in the generally understood meaning of "understood", or there are more words in the standard than will ever appear in the programmer's own programs? Worse! "Standar

Re: [9fans] caveat... optimizer? the `zero and forget' thread on HN

2012-10-29 Thread Charles Forsyth
He can fool it once, but can he fool it twice? Can he recompile? On 29 October 2012 22:35, Bakul Shah wrote: > But it is easy to fool compilers to do what he wanted

Re: [9fans] Raspberry Pi userland is now open

2012-10-25 Thread Charles Forsyth
I don't see any problem with having to talk to invisible firmware. Surely that's normal for devices with firmware? In this case, it seems even better for Plan 9, because the OpenGL/ES engine is in the firmware, so we don't need to write or port one, just talk to an existing one. It's similar situat

Re: [9fans] sheevaplug SD card driver

2012-10-19 Thread Charles Forsyth
Blocks are intended for IO. On 19 October 2012 22:49, erik quanstrom wrote: > Block*s (well at least the buffer) > needs to be special because the ethernet on the marvell is not > cache coherent. >

Re: [9fans] sheevaplug SD card driver

2012-10-19 Thread Charles Forsyth
I think it's better to specify memory that must have special cache properties, rather than assuming that everything is.

Re: [9fans] Go on Plan9/Arm

2012-10-19 Thread Charles Forsyth
Try compiling under iostats. On 19 October 2012 19:45, wrote: > > What I don't understand is where the 386 compilation finds the int32 > definition missing in arm. I lo

Re: [9fans] I found this discussion pretty funny

2012-10-18 Thread Charles Forsyth
http://planb.lsub.org/ls/octopus.html is a user interface that includes graphics, exploits name space representations, and doesn't just mimic the xerox desktop.

Re: [9fans] usbether

2012-09-30 Thread Charles Forsyth
the qopen sets the queue limit to 8k, which seems a little low, unless it's reset later. the later unchecked qpass (with comment) will toss the data away, which is a little drastic. On 29 September 2012 22:46, Richard Miller <9f...@hamnavoe.com> wrote: > It often gets about 8k at a time (a comple

Re: [9fans] Brdline() and continuation lines

2012-09-19 Thread Charles Forsyth
I don't see how it can do it. On 19 September 2012 09:48, Steve Simon wrote: > I am happy if the answer is "Brdline() cannot do this", I just feel like > I am missing a trick, and there is elegant solution. >

Re: [9fans] Acme: the way the future actually was

2012-09-17 Thread Charles Forsyth
And a cleaner link to that: http://research.swtch.com/acme On 17 September 2012 19:24, Charles Forsyth wrote: > And this just in: > ... >

Re: [9fans] Acme: the way the future actually was

2012-09-17 Thread Charles Forsyth
And this just in: http://research.swtch.com/acme?utm_source=feedburner&utm_medium=twitter&utm_campaign=Feed%3A+hnycombinator+%28HN+-+hnycombinator%29

Re: [9fans] Acme: the way the future actually was

2012-09-14 Thread Charles Forsyth
"Copy" is a little strong: inspired by, certainly, by way of help/help, but there's an amazing difference in the structure of acme as "text editor as file server" with many independent clients accessing it through the file system. Oberon had a more conventional module "plug-in" structure within a s

Re: [9fans] Acme: the way the future actually was

2012-09-14 Thread Charles Forsyth
Probably never heard of Oberon either. On 14 September 2012 15:07, Lucio De Re wrote: > Still, Oberon had all that a long time ago, if memory isn't betraying > me. >

Re: [9fans] Acme: the way the future actually was

2012-09-14 Thread Charles Forsyth
Probably never heard of Acme. On 14 September 2012 14:12, dexen deVries wrote: > Seems a well-meaning developer sort of re-invented Acme > http://www.youtube.com/watch?v=bUR_eUVcABg > > -- > dexen deVries > > [[[↓][→]]] > > I'm sorry that this was such a long lett­er, but I didn't have time to >

Re: [9fans] carriage returns in 9term and acme

2012-09-12 Thread Charles Forsyth
That's a bit elaborate. vt(1) might be easier. On 12 September 2012 15:30, Matthew Veety wrote: > You can make a telnet client that dumbs down the stream to your terminal. > Telnet is trivial to implement.

Re: [9fans] carriage returns and other characters in acme/rc

2012-09-10 Thread Charles Forsyth
n 10 September 2012 10:45, dexen deVries wrote: > On Monday 10 of September 2012 10:42:12 Charles Forsyth wrote: > > From GNU programs you will then get moans about the terminal: > > %TERM=dumb > > % man date > > WARNING: terminal is not fully functional > > - (pr

Re: [9fans] carriage returns and other characters in acme/rc

2012-09-10 Thread Charles Forsyth
>From GNU programs you will then get moans about the terminal: %TERM=dumb % man date WARNING: terminal is not fully functional - (press RETURN) because it doesn't emulate a device that was last built decades ago. At least they don't demand 3270s. On 10 September 2012 10:20, Aram Hăvărneanu wrot

Re: [9fans] dns

2012-09-08 Thread Charles Forsyth
No, I didn't explain it well. NETPATHLEN isn't named in the manual pages, so ndb/dns doesn't use it. On the other hand, dial does, but because it's ...LEN, it's an easy mistake to think of it as the length of a string, which wouldn't include the terminating zero byte, instead of the length of the

Re: [9fans] dns

2012-09-08 Thread Charles Forsyth
it makes perfect sense: if the length of the path is NETPATHLEN, length of a string usually referring to non-zero bytes, you need to allow for the terminating zero byte. unfortunately, as you describe, it's a bit pointless because the dnsresolve callers rely on the manual page ("The path name is gu

Re: [9fans] Inferno Auth support for plan9 factotum

2012-09-07 Thread Charles Forsyth
You'll need to use Inferno's auth/ai2key to convert the keyring file to the form used by that infauth. On 7 September 2012 09:48, Jiten Pathy wrote: > thanks ! :) > > On Thu, Sep 6, 2012 at 9:40 PM, Charles Forsyth > wrote: > >> http://www.vitanuova.com/dist/iauth/iauth.tgz >> >> >

Re: [9fans] Inferno Auth support for plan9 factotum

2012-09-07 Thread Charles Forsyth
spki/source/browse/trunk#trunk%2F9%2Ffactotum. > I will try and see the current status. > > > On Wed, Sep 5, 2012 at 11:55 PM, Jiten Pathy > wrote: > >> can you point me where ? The official factotum has p9any and p9sk* but >> not infauth support. >> >>

Re: [9fans] Inferno Auth support for plan9 factotum

2012-09-06 Thread Charles Forsyth
yes, there are bits for both plan 9 and p9p factotum. On 6 September 2012 11:17, Jiten Pathy wrote: > Hi, > I was looking at the auth mechanisms for inferno. Anyone have done any > work to add support for inferno's public crypto auth mechanism based on > diffie-hellman to plan9 factotum ? > > Re

Re: [9fans] spim

2012-09-06 Thread Charles Forsyth
Little-endian mips. On 6 September 2012 05:12, Skip Tavakkolian wrote: > spim not spin? > > On Wed, Sep 5, 2012 at 7:51 AM, erik quanstrom > wrote: > > i was wondering what use the spim compiler had been put to, and > > if this use is still active. does anyone know? > > > > - erik > > > >

Re: [9fans] stripping down the kernel for an small embedded systems?

2012-09-03 Thread Charles Forsyth
Just modifying a configuration file, and substituting nocache.c and noswap.c (you won't have them, but they're easy) to eliminate the devmnt cache and the pager, I can get 8l -o 9pctiny -T0xF0100020 -l l.8 plan9l.8 cga.8 i8253.8 i8259.8 kbd.8 main.8 memory.8 mmu.8 random.8 syscallfmt.8 trap.8 pcti

Re: [9fans] (no subject)

2012-09-03 Thread Charles Forsyth
it's a shell script that copies updated files from a Bell Labs system to sources.

Re: [9fans] make-shells that create a file for you

2012-08-30 Thread Charles Forsyth
The observation was that people at the time were adding clumsy programming-language features to make, which then executed commands it didn't really understand (ie, couldn't even parse them), and might it not be better just to add dependency operators (and others as needed) to a well-designed comman

Re: [9fans] rc's shortcomings (new subject line)

2012-08-30 Thread Charles Forsyth
That's true, but the C compiler also does each .c in parallel up to NPROC. On 30 August 2012 18:18, erik quanstrom wrote: > > Even more common than reduce is map. No reason why you can't > > parallelize > > > > 8c *.c > > we already do—with mk. >

Re: [9fans] rc's shortcomings (new subject line)

2012-08-30 Thread Charles Forsyth
The source of mash as VN inherited it from the defunct Lucent organisation on 1 September 1999 remains in the tree, so it wasn't lost. On 30 August 2012 16:13, Charles Forsyth wrote: > > On 30 August 2012 16:13, Lucio De Re wrote: > >> Inferno (Vitanuova) released a &qu

Re: [9fans] rc's shortcomings (new subject line)

2012-08-30 Thread Charles Forsyth
Errr ... no. Twice: mash was not VN code but brucee's preemptive strike against a POSIX shell for Lucent's Inferno; VN's Inferno had a shell with a different style done by Roger Peppe. On 30 August 2012 16:13, Lucio De Re wrote: > Inferno (Vitanuova) released a "mash" a ways back, but apparently

Re: [9fans] rc's shortcomings (new subject line)

2012-08-30 Thread Charles Forsyth
As another example, also from Flex, J M Foster, I F Currie, "Remote Capabilities", The Computer Journal, 30(5), 1987, pp. 451-7. http://comjnl.oxfordjournals.org/content/30/5/451.full.pdf On 30 August 2012 15:45, Charles Forsyth wrote: > If you look at the paper I referenced, you

Re: [9fans] rc's shortcomings (new subject line)

2012-08-30 Thread Charles Forsyth
If you look at the paper I referenced, you will. Similar abilities appeared in systems that supported persistence and persistent programming languages (cf. Malcolm Atkinson, not Wikipedia). On 30 August 2012 14:33, erik quanstrom wrote: > i don't see that the os can really help here.

Re: [9fans] rc's shortcomings (new subject line)

2012-08-30 Thread Charles Forsyth
typed command languages: I F Currie, J M Foster, Curt: The Command Interpreter Language for Flex http://www.vitanuova.com/dist/doc/rsre-3522-curt.pdf

<    1   2   3   4   5   6   7   8   9   10   >