Mail Archives: cygwin/2002/08/06/09:05:46
Hi
> I experienced problems when using WinCVS 1.2 on Windows 98, OpenSSH
> 3.4p1-5. I searched this mailing list, and found that other people had
> experienced the same kind of problem a month ago, but not exactly the
> same one.
I use WinCVS with ssh regularly with no problems. I am using cygwin
1.3.12-2 with openssh
OpenSSH_3.4p1-5 and WinCVS 1.2 on windows 2000. Maybe the difference is
win98/win2k, but in case its any help, here is my setup:
My CYGWIN env var is "ntsec binmode tty"
I use the following script to launch wincvs:
<shellscript name="wincvs-ssh">
#!/bin/sh
export CVS_RSH=ssh
export TOP=$$
eval `ssh-agent`
# either use a dos cmd box
#cmd /c start " WinCVS (ssh)" /WAIT bash -c "ssh-add || { ssh-agent -k;
#kill $TOP; }"
# or a cygwin rxvt terminal
rxvt +ip +sb -tn rxvt -fn "Lucida Console-10" -fg white -bg SeaGreen
-geometry 80x5 -title "WinCVS (ssh)" -e bash -c "ssh-add || { ssh-agent
-k; kill $TOP; }"
unset TOP
/cygdrive/c/program\ files/GNU/WinCvs\ 1.2/WinCVS.exe
ssh-agent -k
</shellscript>
and use run.exe from the cygwin xfree86 distro to launch it from a
desktop shortcut:
<shortcut>
Target: C:\cygwin\usr\X11R6\bin\run.exe C:\cygwin\bin\bash.exe -c
wincvs-ssh
Start in: C:\cygwin\bin
</shortcut>
You get a pop-up rxvt (or cmd box - change the script as marked) to
enter your ssh passphrase,
then wincvs starts. When you close wincvs, the ssh-agent is stopped.
When running cvs commands, wincvs generates a minimized dos box, but
this always disappears when the cvs command terminates.
Steven
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -