[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RCS Programming Interface

From: Thien-Thi Nguyen
Subject: Re: RCS Programming Interface
Date: Sat, 29 Jun 2013 14:06:21 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

() "Tobias M." <address@hidden>
() Fri, 28 Jun 2013 22:53:23 +0200

   I want to use rcs from within another program (i.e. programatically,
   not interactively).  So I'm wondering if it is possible to use rcs as
   a C library or even if there are any bindings for other languages.

No, not at this time.  Could you please describe in more detail the
algorithms you would like to use, given such a library?

   If this is not possible so far: would you (someone who is familiar
   with the source code) say, with reasonable effort one could create
   such an interface?  Or is rcs' architecture just not suitable for

If the internals are not suitable for wrapping presently, someone can
(with reasonable effort) reshape them accordingly.  In fact, that is an
ongoing process, the result depending largely on the kind of interaction
client code desires.  That's why the first question above is important.

   All I found so far are programs and wrappers that internally use the
   rcs command line interface in a separate process and parse it's

Until now, the focus has been to keep those scripts happy in the face of
massive internal changes introduced in 5.8.  I suppose one way to answer
the (important!) question above is to survey those scripts to infer and
categorize idioms.  So that's the second question: Have you done that?

Thien-Thi Nguyen
GPG key: 4C807502

Attachment: pgpYAIUkB4xLh.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]