From: Wolfgang Denk Date: Sun, 23 Oct 2011 23:22:31 +0200 Subject: [U-Boot] [PATCH v4 2/2] NS16550: buffer reads In-Reply-To: References: <1318742050-2201-1-git-send-email-sjg@chromium.org> <1318742050-2201-2-git-send-email-sjg@chromium.org> <20111017121846.132DE140797D@gemini.denx.de> <4EA28251.1080009@aribaud.net> <4EA34086.4030101@gmail.com> <20111023082051.6397518AE823@gemini.denx.de> <20111023171536.4FFAA1408771@gemini.denx.de> Message-ID: <20111023212231.396E81408771@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Graeme Russ, In message 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: wd at denx.de Include the success of others in your dreams for your own success.