[BorCVS-support] Re: WinCVS SSH
Status: Alpha
Brought to you by:
tbleier
From: Patrick D. <sof...@pd...> - 2002-06-25 07:56:23
|
From: Karl-Heinz Brünen <k.bruenen@w...> Date: Tue Jun 25, 2002 6:58 pm Subject: Re: [cvsgui] Invoking SSH like WinCVS does :) Hi, feel free to look at the cvsgui sources ;) They are free!!!! I can give some hints (the gcvs solution, but it works in the same way for wincvs). The solution is to modify the STDIN/STDOUT and enviroment for the cvs communication. The code is in 'AppGlue.cpp' and 'cvsgui.c'. 'cvsgui/common/AppGlue.cpp' has the special getenv code. You also have to take a look at 'cvsgui/common/cvsgui.c* I hope it helps you Kalle > -----Original Message----- > From: bor...@li... > [mailto:bor...@li...]On Behalf Of > bor...@li... > Sent: Tuesday, 25 June 2002 07:15 > To: bor...@li... > Subject: borcvs-support digest, Vol 1 #13 - 2 msgs > > > Send borcvs-support mailing list submissions to > bor...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/borcvs-support > or, via email, send a message with subject or body 'help' to > bor...@li... > > You can reach the person managing the list at > bor...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of borcvs-support digest..." > > > Today's Topics: > > 1. (no subject) (Patrick Dunford) > 2. Re: (no subject) (Thomas Bleier) > > --__--__-- > > Message: 1 > From: "Patrick Dunford" <sof...@pd...> > To: <bor...@li...> > Cc: <mi...@th...> > Date: Mon, 24 Jun 2002 20:57:55 +1200 > Subject: [BorCVS-support] (no subject) > > Ok I set up CVS_RSH=SSH. > For WinCVS I already have HOME=F:\SSH and PATH=%PATH%;F:\SSH > > Then I call up cvs with > C:\>"F:\Program Files\GNU\WinCvs 1.2\cvs.exe" -d > :ext:pdu...@cv...:/cvsroot/dunfordsoft > checkout -P > autoexec > > Which I have done by setting CVSROOT in BorCVS to > :ext:pdu...@cv...:/cvsroot/dunfordsoft > > But the thing is, when WinCVS calls SSH it brings it up in a separate > command prompt window and asks for the password. You type your > password into > the command prompt window and off it goes. > > Whereas BorCVS brings up the password request in its own CVS output window > and won't receive input in this window. > > WinCVS is able to separate the CVS output from input requests as > far as SSH > goes, and works perfectly well with SSH. > > By the way I am running BorCVS on Windows 95 on Delphi 5 standard - a > suitable enough platform for OSS development methinks. > > ====================Original Message==================== > > FROM: Thomas BleierDATE: 06/19/2002 01:07:31SUBJECT: RE: [BorCVS-support] > How to make BorCVS work with SF.net CVS server? Hello! > > Well, I did not try this yet. Maybe you can try to play with the "CVS > command" option in BorCVS to mimic WinCVS's commands and see if that > works? > > BTW, what I think is missing from your CVSROOT string is the connection > method, which, in this case, should be "ext", I think. You also have to > set the environment variables to force CVS to use SSH as described in the > Cederqvist manual... > __ > /homas > > On 19 Jun 2002 at 19:50, Patrick Dunford wrote: > > > > > I have WinCVS installed talking to the SF.net CVS server over SSH. So I > > tried to set up BorCVS the same. I told it that cvs.exe was > located in the > > WinCVS directory where indeed it is. > > > > My CVSROOT I copied from WinCVS pointing to SF's server. This is the > output > > of a checkout: > > > > C:\>"F:\Program Files\GNU\WinCvs 1.2\cvs.exe" -d > > pdu...@cv...:/cvsroot/dunfordsoft > checkout -P > > autoexec > > > > cvs.exe [checkout aborted]: cannot connect to socket: Connection refused > > > > Exit code: 1 > > > > WinCVS doesn't seem to do different but it knows to bring up SSH and ask > me > > for my password. cvs checkout -P autoexec (in directory D:\xxx) > > > > Is there something I need to do to persuade BorCVS that it can > talk to the > > server through SSH or is this not supported? > > > ================================= > Patrick Dunford, Christchurch, NZ > http://pdunford.godzone.net.nz/ > http://www.trainweb.org/ferrymead/ > > > > --__--__-- > > Message: 2 > From: "Thomas Bleier" <th...@bl...> > To: bor...@li... > Date: Mon, 24 Jun 2002 12:15:29 +0200 > Subject: Re: [BorCVS-support] (no subject) > > Hello! > > Well, BorCVS currently captures all output (STDOUT) from the CVS > subprocess and displays it in it's own window. Theoretically it would be > possible to feed in some data (passwords, etc) via STDIN, but I > don't know > any way to determine _when_ an appcation is waiting form STDIN input, so > it won't work in practice. If anybody has an idea how this could work, > please tell me. Also, the WinCVS way would be nice to be implemented, so > everyone's invited to do so ;-) > __ > /homas > > On 24 Jun 2002 at 20:57, Patrick Dunford wrote: > > > Ok I set up CVS_RSH=SSH. > > For WinCVS I already have HOME=F:\SSH and PATH=%PATH%;F:\SSH > > > > Then I call up cvs with > > C:\>"F:\Program Files\GNU\WinCvs 1.2\cvs.exe" -d > > :ext:pdu...@cv...:/cvsroot/dunfordsoft > > checkout -P > > autoexec > > > > Which I have done by setting CVSROOT in BorCVS to > > :ext:pdu...@cv...:/cvsroot/dunfordsoft > > > > But the thing is, when WinCVS calls SSH it brings it up in a separate > > command prompt window and asks for the password. You type your password > > into the command prompt window and off it goes. > > > > Whereas BorCVS brings up the password request in its own CVS > output window > > and won't receive input in this window. > > > > WinCVS is able to separate the CVS output from input requests > as far as SSH > > goes, and works perfectly well with SSH. > > > > By the way I am running BorCVS on Windows 95 on Delphi 5 standard - a > > suitable enough platform for OSS development methinks. > > _\\|//_ > ///|\\\ > ----oOO---(_)---OOo------------------------<http://www.bleier.at>- > --------- > > "The amount of sleep needed by the average person is ten minutes more." > > > > > --__--__-- > > _______________________________________________ > borcvs-support mailing list > bor...@li... > https://lists.sourceforge.net/lists/listinfo/borcvs-support > > > End of borcvs-support Digest > > |