Bash line-feed problem
Wed Apr 9 16:18:00 GMT 1997
The bash port generates a line-feed sometimes when it starts up a
program. I know this has been mentioned before, but has anyone
solved this problem? It makes even very simple progams such
as the following fail:
char buf = "";
cout << "Enter a line:";
cin.getline(buf, 80, '\n');
cout << "You wrote: " << buf << endl;
This works right under csh and command.com, but fails under
Anyone have a bash binary that doesn't output this unwanted line-feed?
Thanks very much for your help,
For help on using this list (especially unsubscribing), send a message to
"firstname.lastname@example.org" with one line of text: "help".
More information about the Cygwin