1

I know that there are many questions that are about "reading input" but to clarify I am trying to read cooked input. For some reason fgets is not cooked (Not sure if thats by default or I need to turn it on using termios) So any help? ncurses is not an option.

example: input hey then back space, it comes out as hey^H which is indicative of raw input mode

BTW I tried turning on canononical mode via termios and I'm still having trouble getting cooked input.

Coding Mash
  • 3,338
  • 5
  • 24
  • 45
user1659134
  • 93
  • 2
  • 7

0 Answers0