Actions:
|
2015-03-27 09:56 AEST by Arthur Barrett - The server error messages can appear mangled on a Windows CMD prompt because of rouge \r CR
(carriage return, no line feed) characters embedded in the message.
eg: the message should be:
cvs rls: warning: unrecognized response `'ssh' is not recognized as an internal or external command,'
from cvs server
cvs rls: warning: unrecognized response `operable program or batch file.' from cvs server
cvs [rls aborted]: end of file from server (consult above messages if any)
but appears as:
cvs rls: warning: unrecognized response `'ssh' is not recognized as an internal
' from cvs servernd,
' from cvs server unrecognized response `operable program or batch file.
cvs [rls aborted]: end of file from server (consult above messages if any)
The code is in client.cpp in the function get_server_responses():
error (0, 0,
"warning: unrecognized response `%s' from cvs server",
cmd);
The problem is 'cmd' has CR in it, which then mangles the message. The client should 'replace' any non-
printing characters (particularly CR) to fix this. |