From: Wolfgang Denk Date: Fri, 16 Jan 2009 09:37:40 +0100 Subject: [U-Boot] [PATCH] tools/netconsole: make a bit more robust and use ncb when possible In-Reply-To: <1231493902-7043-1-git-send-email-vapier@gentoo.org> References: <1231493902-7043-1-git-send-email-vapier@gentoo.org> Message-ID: <20090116083740.C302E832E425@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 Mike Frysinger, In message <1231493902-7043-1-git-send-email-vapier@gentoo.org> you wrote: > The netcat utility likes to exit when it receives an empty packet (as it > thinks this means EOF). This can easily occur when working with command > line editing as this behavior will be triggered when using backspace. Or > with tabs and command line completion. Since the local ncb util does not > have this "feature" and it supports broadcast udp, default to using that > rather than netcat. When would "ncb" not be available? What else are the implications when using ncb versus netcat? Why does your script tools/netconsole so far use netcat only, when we have the (as I read it) much better ncb anyway? 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 Is the glass half empty, half full, or twice as large as it needs to