Turn on display functions while running the program. Since you are
outputting 81 characters (which includes the CCTL) to a display, The line
is wrapping and the CR,LF are on the next line.
Since you are already using FREAD to read the line in, why not just use
FWRITE to write the line out. Then specify no CCTL.