[Bug c++/86921] do not remove input in bash
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86921 --- Comment #8 from Yakov --- (In reply to Andreas Schwab from comment #7) > This has nothing to do with gcc, it is a property of the terminal emulation. ok. all my terminals have this problem)= thanks for help
[Bug c++/86921] do not remove input in bash
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86921 Andreas Schwab changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #7 from Andreas Schwab --- This has nothing to do with gcc, it is a property of the terminal emulation.
[Bug c++/86921] do not remove input in bash
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86921 --- Comment #6 from Yakov --- (In reply to Jonathan Wakely from comment #5) > (In reply to Yakov from comment #4) > > I am sorry. I think, I did mistake in my question. I did not press Enter. > > You said "when the second line begins. symbols, entered in first line" > > If that doesn't mean you pressed Enter, you need to tell us what you did. We > can't guess. > > See https://gcc.gnu.org/bugs/ ok. bash: $./test aa(here is the end of the first line) aa(then I press Backspace many times) I see: $./test aa(this symbols I can not remove)
[Bug c++/86921] do not remove input in bash
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86921 --- Comment #5 from Jonathan Wakely --- (In reply to Yakov from comment #4) > I am sorry. I think, I did mistake in my question. I did not press Enter. You said "when the second line begins. symbols, entered in first line" If that doesn't mean you pressed Enter, you need to tell us what you did. We can't guess. See https://gcc.gnu.org/bugs/
[Bug c++/86921] do not remove input in bash
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86921 --- Comment #4 from Yakov --- (In reply to Jonathan Wakely from comment #2) > If you're saying that data read from the terminal by std::cin cannot be > "un-read" by typing backspace, that's correct. That is not a GCC bug, it's > just how the OS works. > > In the default line-buffered mode, when you hit Enter the line is sent to > the application. Typing backspace cannot undo that, the program has already > read the data, and doesn't receive the backspace characters. I am sorry. I think, I did mistake in my question. I did not press Enter.
[Bug c++/86921] do not remove input in bash
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86921 Yakov changed: What|Removed |Added Status|RESOLVED|WAITING Resolution|INVALID |---
[Bug c++/86921] do not remove input in bash
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86921 Yakov changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #3 from Yakov --- (In reply to Jonathan Wakely from comment #2) > If you're saying that data read from the terminal by std::cin cannot be > "un-read" by typing backspace, that's correct. That is not a GCC bug, it's > just how the OS works. > > In the default line-buffered mode, when you hit Enter the line is sent to > the application. Typing backspace cannot undo that, the program has already > read the data, and doesn't receive the backspace characters. ok, thanks
[Bug c++/86921] do not remove input in bash
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86921 --- Comment #2 from Jonathan Wakely --- If you're saying that data read from the terminal by std::cin cannot be "un-read" by typing backspace, that's correct. That is not a GCC bug, it's just how the OS works. In the default line-buffered mode, when you hit Enter the line is sent to the application. Typing backspace cannot undo that, the program has already read the data, and doesn't receive the backspace characters.
[Bug c++/86921] do not remove input in bash
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86921 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed||2018-08-12 Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely --- This is not a usable bug report. Please see https://gcc.gnu.org/bugs/