Bug 2611 - smbsh Username: prompt appears after input (and fix)
smbsh Username: prompt appears after input (and fix)
Status: CLOSED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: Client Tools
3.0.13
Sparc Solaris
: P3 trivial
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-14 10:12 UTC by Julian Bridle
Modified: 2005-08-24 10:18 UTC (History)
0 users

See Also:


Attachments
Patch to flush the Username: prompt before input (296 bytes, patch)
2005-04-14 10:13 UTC, Julian Bridle
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Bridle 2005-04-14 10:12:57 UTC
When smbsh is executed without a username argument, the Username: prompt is not 
output until after the user has input the username.  This is on;y cosmetic but 
very confusing.

The fix is simple - it needs an fflush().
Comment 1 Julian Bridle 2005-04-14 10:13:20 UTC
Created attachment 1155 [details]
Patch to flush the Username: prompt before input
Comment 2 Tim Potter 2005-04-20 22:08:51 UTC
Checked in - thanks!
Comment 3 Gerald (Jerry) Carter 2005-08-24 10:18:02 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.