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
(interrupt) use quit to exit.
1+1
1112

The performed calculation is 1111+1, definitely now what the user wants
(imagine a shell like bash not clearing the line after Ctrl+C).

There is another very annoying bug #932490 that prevents exiting with
Ctrl+D after Ctrl+C (which is common to all shells and itneractive
application I am aware of). It is also caused by the fact that the line
is not cleared after Ctrl+C.

Reply via email to