Patch request for client/client.c

John E. Malmberg wb8tyw at qsl.net
Thu Oct 19 01:45:06 GMT 2000


Could the following patch be made to the client.c code?

************
File PROJECT_ROOT:[SAMBA_VMS]CLIENT.C;3
  182           printf("Connected. Type your message, ending it with a
Control-D\n");
  183
******
File PROJECT_ROOT:[SAMBA_VMS.CLIENT]CLIENT.C;2
  182   #ifndef CLIENT_CONNECT_MSG
  183   #define CLIENT_CONNECT_MSG \
  184     "Connected.  Type your message, ending it with a Control-D\n"
  185   #endif
  186           printf(CLIENT_CONNECT_MSG);
  187
************

[This difference report is from the 2.0.6 release of SAMBA]

OpenVMS and possibly other operating systems use a different character than
Control-D for signaling EOF from an interactive user.

For OpenVMS it is Control-Z.  This is can not easily be changed, and is what
the users of the platform are used to.

By making this prompt string customizable, it can also be used to support
other languages.

This prompt string might be a good candidate for future inclusion in
SMB.CONF.

Thank you,

John Malmberg
wb8tyw at qsl.network






More information about the samba-technical mailing list