[cvsnt] Re: BUG: PuTTY security alert written to console

Tony Hoyle tony.hoyle at march-hare.com
Tue Aug 2 20:34:04 BST 2005

Torsten Martinsen wrote:
> As described in 
> https://sourceforge.net/tracker/index.php?func=detail&aid=1206305&group_id=48103&atid=451972, 
> when CVSNT connects to a server for the first time using :ssh:, it pops 
> up a message box with the well-known "The server's host key is not 
> cached..." question. This is all very well, but the message is also 
> written to stdout/stderr, which causes TortoiseCVS to interpret it as 
> part of the output from the CVS command.
> Proposed fix: Only show the question in the message box, not on the 
> console.
cvsnt itself knows nothing of message boxes.  It's a console app & has 
no GUI.

You can do it the same way WinCVS does it - interpret the CVSGUI 
protocol markers.. You'll get:

Question: xxxxxx
Enter: Yes/No/Cancel

Then you provide the dialog and return the answer in the CVSGUI environment.


More information about the cvsnt mailing list