I've just started using GnuWin32, after being coerced to install TWiki (twiki.org) in a windows machine.
TWiki requires fgrep, egrep and rcs, and has been known to work with the rcs shipped in cygwin.
Somehow I can't get RCS to work for me; I tried doing the operations manually, to rule out TWiki errors, and kept getting exceptions, with the executable completely dying.
There is absolutely nothing on the error in internet, so I was wondering if there was someone successfully using RCS, that could give me some hints on how to do it.
Regards,
Renato
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I needed RCS on Windows, so I patched the sources downloaded from GnuWin32, and now I have a working port.
If someone needs the patches, email me at eliz@gnu.org.
For the curious, here's the list of some important problems I solved in order to make RCS work correctly on Windows:
Signal catching. When a Windows console application gets a Ctrl-C, a separate thread is started that runs the signal handler. In order to correctly emulate the Posix behavior, the signal handler should stop the main thread until it's finished.
The spawn functions don't like arguments with embedded whitespace, so subsidiary invocations of "diff -L" failed. Fixed by providing wrappers for spawn functions that quote the arguments.
Dependencies on libiberty and libgw32c removed, and a couple of missing functions written to make the port self-contained.
Several old bugs fixed, like reverse logic with using binary and text I/O with -kb.
Added emulation of W macros from <sys/wait.h> to produce correct diagnostics from spawn return values.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello all,
I've just started using GnuWin32, after being coerced to install TWiki (twiki.org) in a windows machine.
TWiki requires fgrep, egrep and rcs, and has been known to work with the rcs shipped in cygwin.
Somehow I can't get RCS to work for me; I tried doing the operations manually, to rule out TWiki errors, and kept getting exceptions, with the executable completely dying.
There is absolutely nothing on the error in internet, so I was wondering if there was someone successfully using RCS, that could give me some hints on how to do it.
Regards,
Renato
The port of RCS has bugs, and therefore it is not supported nor listed on the packages page (http://gnuwin32.sourceforge.net/packages.html).
I needed RCS on Windows, so I patched the sources downloaded from GnuWin32, and now I have a working port.
If someone needs the patches, email me at eliz@gnu.org.
For the curious, here's the list of some important problems I solved in order to make RCS work correctly on Windows: