[U-Boot] [PATCH 2/4] Add ctrlc_ignore environment variable to ignore Ctrl-C
Wolfgang Denk
wd at denx.de
Thu Jun 5 23:43:07 CEST 2014
Dear Simon Glass,
In message <1401992872-31985-3-git-send-email-sjg at chromium.org> you wrote:
> Sometimes it is useful to ignore Ctrl-C, because checking for it causes the
> CLI to drop characters. In particular for tests involving sandbox, where
> input commands are piped in, some commands will call ctrlc() which will
> drop characters from the test script.
Why would that be the case?
If this happens, I consider it a bug that should be fixed, and not
papered over.
> Add a CONFIG_SYS_CTRLC_IGNORE option which enables this variable. If the
> variable is present (e.g. "setenv ctrlc_ignore ignore") then no checking
> for Ctrl-C will be performed.
I dislike this idea. It looks wrong to me. Can we not fix the problem
at the root cause?
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
Nothing difficult is ever easy.
More information about the U-Boot
mailing list