From nobody Fri Mar 11 22:56:30 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id F12641A1D51F for ; Fri, 11 Mar 2022 22:56:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KFhBQ58qsz3wCR for ; Fri, 11 Mar 2022 22:56:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8CDCB21AB9 for ; Fri, 11 Mar 2022 22:56:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 22BMuU60071929 for ; Fri, 11 Mar 2022 22:56:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22BMuUIC071928 for bugs@FreeBSD.org; Fri, 11 Mar 2022 22:56:30 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 262493] bc has bad "prompt" for input, breaking 25+ years of FreeBSD behavior Date: Fri, 11 Mar 2022 22:56:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: obrien@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647039390; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=88WVQUwAYAlz1pJtgArIdb50g2um4PXJaf5qthasFyc=; b=HGOnIZCEtK6c4ABD/CFnibo/hqCoFLng6OVTdlVF3NWyIIhIhhGle47YZEeAIEEVaEzf5F ehR166VLZQHJ/3JRTOU0mK3kgAt4XK6P2S94Ics3bd84pK45K1Mw34MroShOF9wjltgDtt oApdfNUWmxDKmUHF1DTEfchgn/78xqWA7uO5goHc0KZpP4R8velR2SfNABENhSCH/K/dR+ gb3xkbnAe9bKrhGrE3+Jq71ElbJPLqAU975pDoNtOPUFf8/UGaY2GcYfWy32a7tY2d6LVI EO9YpjOJCK53yR5y8A9PPLCxeqsKFuBxJOtwnDPKE5YzJXGUlhop9oNv5IgKlA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647039390; a=rsa-sha256; cv=none; b=qmguwMmDhkksjRuyibB9mWAZbgDiUvYiJB3Q74kch6eZ/T5j1p1wBPXp2cce9eVUhYVk7G BWIV4lDt8Y17V+/dw8aEc9MwbQzp0v3Vcn7uqoTpnZF6ffP5XZzT7hDw2SzKxwEtnNUv2J 7CiB6Bmp77g9/fRaP6B6Y/e0eP+Oj2zwY0RzxBlx5dNOPi01z3dO5TgZ3EbDf3bn5K0atP YFhQ8EvkxODjnmVJ5j2har4velc9ELNRiZ+coGDKEa8yULs/LK/kA2SFsFps0WvnOVKLsD 1WLqYzV7vVrNU7x4uLKlLnFuLoidB2Os5lC+xG8B7uqdcNKGxa6ajMzoFUK+GQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262493 Bug ID: 262493 Summary: bc has bad "prompt" for input, breaking 25+ years of FreeBSD behavior Product: Base System Version: 13.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: obrien@FreeBSD.org Up until FreeBSD 13.0, bc had no "prompt" for interactively entered math te= xt. This made it very easy to copy-n-paste using quick mouse clicks when one wa= nted to reuse a math statement. Now with 13.0, one cannot do that any longer due to very annoying leading "= >>>" text. Pre-13.0: $ bc 1+2+3+4+5+6+7 28 1+2+3+4+5+6+7 + 8 36 13.0: $ bc >>> 1+2+3+4+5+6+7 28 >>> >>> 1+2+3+4+5+6+7 + 8 Parse error: bad token :2 I am aware of the fact that 13.0 changed from a 2010 BSDL bc (FreeBSD 9.0-1= 2.2) and that replaced GNU bc used since 1993 (FreeBSD 1.x-11.4). However, since the Google SoC and GNU bc has behaved this way since FreeBSD 1.0, their replacement should behave as close to expected FreeBSD behavior as possible. --=20 You are receiving this mail because: You are the assignee for the bug.=