[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] monotone automate stdio
From: |
Timothy Brownawell |
Subject: |
Re: [Monotone-devel] monotone automate stdio |
Date: |
Sat, 21 May 2005 13:21:55 -0500 |
On 5/20/05, Nathaniel Smith <address@hidden> wrote:
> On Fri, May 20, 2005 at 10:36:32AM -0500, Timothy Brownawell wrote:
> > How about a series of <length> colon <string> items, like we were
> > thinking for the output?
> > 7:parents40:0123456789abcdef0123456789abcdef01234567
>
> Hmm, re-read my original mail ;-):
Oops :)
> > Maybe make the format the constant "l", then a bunch
> > of <decimal length><constant ":"><that many characters> argument
> > strings, then the constant "e" to mark the end of the list.
> > Semi-arbitrary, but happens to be the same as bencoding :-).
>
> Your proposal lacks a way to tell where the beginning and end of a
> command fall (remember that a bunch of these are being sent to stdin
> sequentially). So, I suggested, stick a constant "l" at the beginning
> (for "list", in bencoding), and a constant "e" at the end (for "end").
> Seems as good as anything else.
I had been thinking newline ('\n') at the end of each command, but
that works too.
Tim
- Re: [Monotone-devel] monotone automate stdio, (continued)
- Re: [Monotone-devel] monotone automate stdio, Timothy Brownawell, 2005/05/18
- Re: [Monotone-devel] monotone automate stdio, Sebastian Spaeth, 2005/05/19
- Re: [Monotone-devel] monotone automate stdio, Timothy Brownawell, 2005/05/19
- Re: [Monotone-devel] monotone automate stdio, jc007b6093, 2005/05/20
- Re: [Monotone-devel] monotone automate stdio, Matthew A. Nicholson, 2005/05/20
Re: [Monotone-devel] monotone automate stdio, Nathaniel Smith, 2005/05/18
Re: [Monotone-devel] monotone automate stdio, Grahame Bowland, 2005/05/15