VHDL: TextIO, End of Line, Hread
If there are characters remaining in the line when you detect vGoodRead as false, then the following will print the number of characters and print the actual characters that are left in the line:

  if vLineIn'length &gt; 0 then 
    write(OUTPUT, "Number characters remaining in line: " &amp; 
                  to_string(vLineIn'length) &amp; LF) ;
    write(OUTPUT, "Actual characters are: " &amp; vLineIn.all &amp; LF) ; 
  end if ;