From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Sun, 18 Dec 2011 15:07:49 -0500 Subject: [U-Boot] [PATCH 11/16] New command clr: Clear the ANSI terminal In-Reply-To: <29430747.FdmDrPJuAD@pali-elitebook> References: <2772527.Czs1Sl5aoH@pali-elitebook> <201112181356.13853.vapier@gentoo.org> <29430747.FdmDrPJuAD@pali-elitebook> Message-ID: <201112181507.51475.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sunday 18 December 2011 14:20:35 Pali Roh?r wrote: > On Sunday 18 December 2011 13:56:12 Mike Frysinger wrote: > > On Saturday 17 December 2011 12:03:13 Pali Roh?r wrote: > > > --- /dev/null > > > +++ b/common/cmd_clr.c > > > > > > +int do_clr(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) > > > > static > > > > > + printf(ANSI_CLEAR_CONSOLE); > > > > puts() > > puts(s) will output s + '\n'. And we do not want newline after clear > screen. no it won't. u-boot's puts() is diff from the POSIX puts(). -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: