www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/15/20:28:20

From: elf AT netcom DOT com (Marc Singer)
Message-Id: <199604160023.RAA29183@netcom22.netcom.com>
Subject: Re: RCS For DOS and Binary Files
To: pdmillik AT jolt DOT mpx DOT com DOT au (Peter Milliken)
Date: Mon, 15 Apr 1996 17:23:21 -0700 (PDT)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu (DJGPP List Alias)
In-Reply-To: <m0u6thW-000UfZC@jolt.mpx.com.au> from "Peter Milliken" at Apr 10, 96 04:48:22 pm
Mime-Version: 1.0

> Sorry to trouble you, but I have downloaded rcsdos5.7 and set it up on my
> computer. I have already installed djgpp2.0. I cannot work out how to put
> binary files under rcs, when I try any binary file it gets shortened 
> dramatically in the rcs subdirectory. Everything seems to work OK for text
> formatted files.
> 
> I have read the documentation, I downloaded the latest gnu rcs to get the man
> pages but I can't find any switch or whatever to get rcs to recognise binary
> files. Could you please tell me what I am doing wrong?

No trouble.

I have tested support for binary files and have found it to work
properly for me.  So, I suspect that I should give an example.


I created a subdirectory called TEST and another subdirectory within
it called RCS.  I copied COMMAND.COM to the TEST directory.  I ran the
rcs command to create the empty logfile.

  rcs -i -kb command.com

Which creates an empty logfile for the COMMAND.COM file where keywords
will not be substituted and the CR-LF conversion is avoided.  I check
the file in.

  ci command.com

And it disappears from the TEST directory.  I check it out.

  co command.com

And it reappears.  A binary comparison shows that the files are
identitical.

Does this help?

Marc Singer
elf AT netcom DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019