🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Jordan Hayes Tue, 16 Jan 1990 22:40
Re: 8bit files in RCS
#599
Author: Jordan Hayes
Date: Tue, 16 Jan 1990 22:40
24 lines
1230 bytes
	>>> Are you volunteering to provide patches or work on it (:-)

Yes.

Ok, here goes:

GNU diff can do the trick.  However, you have to supply the -a flag for
it to believe (even in the face of 8bit characters) that it's text and
not a binary.  I hardcoded this option into our version (-a now
reverses this option) and installed in /usr/local/bin ...

RCS sets the variable DIFF to "/bin/diff" so I just set it to "diff"
and reinstalled.  This seems to work (at least it does for me ...).

Possible other solution -- set DIFF = "diff -a" and skip the hardcoded
option ... not sure if you exec or parse the args or what, so I didn't
bother with that.

For the GNU folks: I have 1.12 of gdiff; is there a reason why -a isn't
the default?  Is this to keep backwards compatability?  What would be a
better way to solve this?

/jordan
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads