Hello to all

Is there a way to get stdout without a LF?

I have something like

case INPUT_CMD:
  fflush(stdin);
  printf("\nEnter Command:");
  fgets(input, INPUT_STRING, stdin);
  spitest.cmd = input[0];         /* First char is the command          */

that in Linux prints message and waits for input but in Nuttx shows nothing.

I don't want LF because that destroys the format I want for program
interface

Another related issue is I don't get echo from input

How do I get messages printed without a LF and echo from input?

TIA

Grr

Reply via email to