When the terminal is not in raw mode, if I write some text, this text will be placed in a buffer (I think it's called the line buffer), after that if I press
Ctrl+D, the content of this buffer will be sent to my application.
But what happens when I press
Ctrl+D and the terminal is in raw mode (i.e. what I write in the terminal is not buffered but rather it's sent directly to my application), will some ASCII code (probably
0x04) be sent to my application?