Dear Graeme Russ, In message <CALButCK0oVLTbYxbTF=y-vXL+3+=09vejpzunx1+-0syjqe...@mail.gmail.com> you wrote: > > > > So how does kermit/ymodem send the XON after the user has entered the > > > receive command and we have sent the XOFF after the newline? > > > > Upon the first getc() that follows? > > And as there will be no corresponding newline, when do we send XOFF?
Never? Note that kermit / ymodem / S-record download etc. all don't have any issues with sendign characters back-to-back at line speed. Problems happen only with multi-line input, so it is perfectly fine to handle just that - at the root cause, i. e. when input turns into multi-line input. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de Include the success of others in your dreams for your own success. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot