[Issue 253] New - CVS_RSH doesn't work

[email protected] 2 Jun 2005 14:42:34 -0000
Newsgroups gmane.comp.version-control.cvs.issuezilla
Message-ID <[email protected]>
https://ccvs.cvshome.org/issues/show_bug.cgi?id=253
                 Issue #|253
                 Summary|CVS_RSH doesn't work
               Component|ccvs
                 Version|1.12.12
                Platform|PC
                     URL|
              OS/Version|Windows XP
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|client
             Assigned to|issues@ccvs
             Reported by|reamblshla






------- Additional comments from [email protected] Thu Jun  2 07:42:34 -0700 2005 -------
When I do the following in the command line:
% set CVS_RSH=C:\cygwin\bin\ssh.exe
% set CVSROOT=:ext:user@host/cvs/repos
% cvs co repo1

I get the following error output:
cvs [checkout aborted]: reading from server: No such file or directory

And I get ssh's password prompt after that, and when I enter password, I'm back in the shell.

I looked up the source for this and it looks like that client tries to 'select' for some 'file descriptor 
handles', which doesn't work on windows at all. This call is located in cvs-1.12.12/src/buffer.c:static int 
fd_buffer_input(...).

Unfortunately I'm unable to provide a patch for this problem now, but please contact me if you have any 
questions.