logo       

monotone automate stdio (update): msg#00388

Subject: monotone automate stdio (update)
Input for monotone automate stdio now has the format
'l'<length>':'<arg>[<length>':'<arg>...]'e'
, as there were problems mentioned with the previous format. Characters
between the 'e' for one command and the 'l' for the next are ignored
(except for 'l', of course).

Output now has the format
<cmdnum>':'<err>':'<last?>':'<size>':'<output>
, where cmdnum is incremented by 1 for each command (statring at 0), err
is 0 for success, 1 for a syntax error, or 2 for other errors, last? is
'l' if this is the last piece of output for this command or 'm' if there
is more, and size is the number of bytes in this piece of output. Output
is broken into pieces not more than 1024 bytes (arbitrarily chosen size)
each.

As mentioned this isn't a network protocol, so I didn't go with the
3-digit code for each line. Also, this format seems somewhat simpler
while still providing all needed information. It also works better with
binary output, which was mentioned as a possibility.

Tim


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe