Am 19. September 2020 04:59:46 MESZ schrieb Simon Glass <[email protected]>: >Hi Heinrich, > >On Thu, 17 Sep 2020 at 12:04, Heinrich Schuchardt <[email protected]> >wrote: >> >> Currently if SIGINT is received, it terminates U-Boot. This does not >allow >> testing the handling of CTRL-C in U-Boot and in UEFI applications. >> It is especially annoying when working with the 'mm' command. >> >> Let the serial console driver provide character 0x03 if SIGINT >occurs. We >> can still exit U-Boot using the reset or poweroff command. >> >> Adjust the sandbox test_ctrl_c() Python test accordingly. >> >> Signed-off-by: Heinrich Schuchardt <[email protected]> >> --- >> arch/sandbox/cpu/os.c | 15 ++++++++++++--- >> drivers/serial/sandbox.c | 11 ++++++++--- >> include/os.h | 14 ++++++++++++++ >> test/py/tests/test_sandbox_exit.py | 10 +++++++++- >> 4 files changed, 43 insertions(+), 7 deletions(-) > >I'm sorry but I still do want Ctrl-C to work. How about adding a short >option to change the terminal mode? > >Regards, >Simon
On QEMU you quit via <ctrl+A>X. Can we use the same for the sandbox? Best regards Heinrich

