ID: |
5176
|
Fixed in: | 2.5.04, 3236
|
Issue Date: |
2008-03-01 12:00 AEST
|
Owner: | CVS Support
|
Last Modified: | 2008-03-01 12:04 AEST | Reporter: | Arthur Barrett
|
Current Est. | 0.0 hours
| % Complete: | 0.0
|
Status: | NEW /
|
Severity: | normal
|
Affected: | 2.5.04
|
Description: | using :ssh: input is hijacked, can't answer "a)bort, c)ontinue,..."
|
Actions:
|
2008-03-01 12:00 AEST by Arthur Barrett - using :ssh: input is hijacked, can't answer "a)bort, c)ontinue,..."
Thorsten Schiller writes:
I've just recently started running CVSNT (Windows XP) with the :ssh:
protocol. The problem I'm encountering is that if, for example, I try
to do a 'cvs commit' but then close notepad without editing the log
message, I can't enter anything at the "a)bort, c)ontinue, e)dit,
!)reuse this message unchanged for remaining dirs" prompt. It seems
like all stdin is ignored and all I'm able to do is CTRL-C to kill cvsnt. |
|
2008-03-01 12:03 AEST by Arthur Barrett - Workaround: Specifcy cvs ci -m "" so the notepad doesn't come up and you are
not asked the question.
|
|
2008-03-01 12:04 AEST by Arthur Barrett - Alexey Panchenko writes:
In the plink_cvsnt.c - plink_connect() function there is the code:
inhandle = GetStdHandle(STD_INPUT_HANDLE);
outhandle = GetStdHandle(STD_OUTPUT_HANDLE);
errhandle = GetStdHandle(STD_ERROR_HANDLE);
GetConsoleMode(inhandle, &orig_console_mode);
SetConsoleMode(inhandle, ENABLE_PROCESSED_INPUT);
and the comment
/*
* Turn off ECHO and LINE input modes. We don't care if this
* call fails, because we know we aren't necessarily running in
* a console.
*/
It was needed in original putty code, but CVSNT does not send stdin directly
to server, so ssh protocol implementation should not touch stdin at all.
|
|