
15 Sep
2009
15 Sep
'09
10:54 p.m.
Dear Mike Frysinger,
In message 1252513221-2524-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. So create two netcat processes - one to only listen (and put it into a loop), and one to do the sending. Once the user quits the transmitting netcat, the listening one will be killed automatically.
Signed-off-by: Mike Frysinger vapier@gentoo.org
v2
- split the changes (robust and ncb)
tools/netconsole | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-)
Applied, thanks.
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@denx.de
Presidency: The greased pig in the field game of American politics.
- Ambrose Bierce