Re: change in /usr/bin/bc with CTRL-d no longer exit

From: Stefan_Eßer <se_at_FreeBSD.org>
Date: Mon, 16 Sep 2024 20:59:06 UTC

Am 15.09.24 um 23:40 schrieb Dan Mack:
> On Sun, 15 Sep 2024, Dimitry Andric wrote:
> 
>> On 15 Sep 2024, at 22:35, Herbert J. Skuhra <herbert@gojira.at> wrote:
>>>
>>> On Sun, Sep 15, 2024 at 03:16:46PM -0500, Dan Mack wrote:
>>>> On 14.1 and prior, a CTRL-d will exit a bc session.
>>>>
>>>> Today I noticed that on 3 different 15-CURRENT systems, it appears to be
>>>> ignored.  Works fine otherwise and I can exit the bc session with the 'quit'
>>>> command okay.
>>>>
>>>> I re-tested this on the system console on fresh login just to rule out any
>>>> terminal madness.
>>>>
>>>> Here's a paste of what I see:
>>>>
>>>> https://tpaste.us/VYya
>>>>
>>>> I did a fresh install of 14.1 and it works as it did previously.
>>>>
>>>> No biggie, just wondering if anyone else on -CURRENT can confirm/deny this
>>>> change on their system.
>>>
>>> Known issue:
>>>
>>> <https://lists.freebsd.org/archives/dev-commits-src-all/2024- 
>>> September/045187.html>
>>
>> FWIW, this was broken by:
>>
>> https://git.gavinhoward.com/gavin/bc/ 
>> commit/56bb18255a24b60f785560ab882447d9c959bd93
>>
>> -Dimitry
> 
> ack.
> 
> I hot fixed my source and it works for me (tm).  assuming someone can report it 
> upstream.  thanks,

The author of bc asks to not apply local patches.

I'm waiting for a fix that can be imported from his official source repository.

Regards, STefan