From: Wolfgang Denk Date: Fri, 07 Mar 2008 20:39:56 +0100 Subject: [U-Boot-Users] [PATCH] Add flash programming counter] In-Reply-To: Your message of "Fri, 07 Mar 2008 11:46:52 CST." <20080307114652.dc01d39a.kim.phillips@freescale.com> Message-ID: <20080307193956.3233D247B3@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 In message <20080307114652.dc01d39a.kim.phillips@freescale.com> you wrote: > > > In message <47D168AE.7050006@ge.com> you wrote: > > > > > > There is no way to add an end marker without using a new line (or use > > > '\r' which is really unacceptable, and more justifiably so). Since we > > > are settling in on having 50 (?probably want to use a #define) dots > > > unless there are fewer than 50 units to be written, I suppose we can > > > live without a end marker. Sigh, the end marker was the fun part. > > I thought it safe to assume a terminal is 80 characters wide..(80 - > strlen("Writing to Flash") - strlen("done")) == 60? No, this is not a safe assumption. We have a couple of boards supported with QVGA displays. These usually show 12 x 40 characters only. Just one example... 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 "I haven't lost my mind - it's backed up on tape somewhere."