Bug 1878 - SMBCLIENT assumes that EOF keyboard characters is Control-D
SMBCLIENT assumes that EOF keyboard characters is Control-D
Product: Samba 3.0
Classification: Unclassified
Component: smbclient
Alpha OpenVMS
: P3 enhancement
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2004-10-06 17:39 UTC by John Malmberg
Modified: 2010-04-26 03:43 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description John Malmberg 2004-10-06 17:39:46 UTC
The EOF character on OpenVMS is hard coded to be a Control-Z, which is also
common to other non-UNIX platforms.

On UNIX platforms the EOF file is actually configurable and while I assume that
it is usually left alone, can not be guaranteed to be a Control-D.

There are a few possible ways of implementing this type of change.  One way
would be to make the prompt message configured from smb.conf or equivalent.

Another way would be to have a database of implementation specific messages for
the client, that way the prompt could be in the user's native language.  This is
assuming that there are other messages besides this prompt.

And yet another way is to make a call to the lookup the current value in the
terminfo database.  Of course this only helps a little bit in the OpenVMS case
as OpenVMS does not currently implement that API, so it would have to be
replaced with a wrapper routine.
Comment 1 Stefan Metzmacher 2010-04-26 03:43:34 UTC
If it's still broken in 3.5, please reopen.
3.0 isn't supported anymore.