Bug#1028485: bc: Ctrl+C does not clear the buffer

2024-12-12 Thread Krzysztof Aleksander Pyrkosz
Package: bc Version: 1.07.1-3+b1 Followup-For: Bug #1028485 X-Debbugs-Cc: krzpyrk...@gmail.com Dear Maintainer, The source of the problem is misplaced rl_initialize() in the SIGINT handler in the debian/patches/05_notice_read_write_errors.diff patch. Bc is compiled with DONTEXIT macro defined. In

Bug#1028485: bc: Ctrl+C does not clear the buffer

2023-01-11 Thread Krzysztof Aleksander Pyrkosz
Package: bc Version: 1.07.1-2+b2 Severity: important Tags: upstream X-Debbugs-Cc: krzpyrk...@gmail.com Dear Maintainer, bc in the interactive mode keeps the contents of the previous line after hitting Ctrl+C. Example: Type 111, hit Ctrl+C, type 1+1. Expected output is 2. Observed result: 111^C