From nobody Mon Apr 28 21:22:35 2025 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 4Zmby31jKVz5tvjr for ; Mon, 28 Apr 2025 21:22:35 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Zmby268c4z3Q2L for ; Mon, 28 Apr 2025 21:22:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1745875354; 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: in-reply-to:in-reply-to:references:references; bh=nDI3refvzSEhAwHHq+lePGBHD+VWIeyvewZjEODJKOI=; b=BEQvmofotWaYQiOrO13XhbQzKeCvAfbJEEanRWUKc3jU32C0/HnMYtOC6oLI6prPlsrOjV XkysVS+HFZeZ7PaJRgkqkRr0YBK9m7AthoeQzJgpw58syib6RDoIJT0J0O0rBbr7ZVV9ZG spNUHjglAHII2bkDnaLP+YWYtxxb7LotqcY/eSSQtGChF04jIt9wut3e+WS2mxsBBHMgUf iikjK1jO6Ix5h3IOLI4j6erWg0fW9F/4Uq2eT478dIYPIUOxk+eVgROieNhFCgRhYE+FNN 0nfJJELKCAq3IS7pH6/0qj1BbcxFhLnfD3AdFJH5RtEE9yFwlsAgYgr2CeBo1A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1745875354; a=rsa-sha256; cv=none; b=JLjMp8cmyDM1OmFcneQlxKcuNRMnNeIwrZC/DKRogdTrBTvxFnnAKmJvEIoBxCWMr1/OXU GzTKFRfA87HB+nnxNIWXIrkPZxcDnkkDRgpNp+bj43A19yuGhdBOnsTLHy4LZ7wuroGCRC aDPQn7A7Mc075z5tRoSuCuVq/91BUt3qYQOj1uFR/ci7KRmhzxAkClPs4e89ZPoWsPYJf/ 9nhbDjYoSdUxx42dDGoRdxSYdqJNdM+hNtwsh0fUZxgJ3GXseyVa6Ib+09q25jTovhm3XA 31JbBnjJHXfzVEZgX7/CWdXlx1CSOHPd+JjGDDmeDgpjE6aTG1ZoFsdzNrhlSA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1745875354; 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: in-reply-to:in-reply-to:references:references; bh=nDI3refvzSEhAwHHq+lePGBHD+VWIeyvewZjEODJKOI=; b=tOMQWONTeUZIJfYD5dpRHd3+TyeNn0mwqsAWmDdcG5bQ8OsF/sZrvrQgqZd6Yfa4mlFuKP cMVXvpmf5TF9zPAfAh5pANWsmJ1LBd6UdL8Tdxm56L9btInyMSUHFWoHs+wWzGYFOflUuV oqJc3wY6c04NFc4m14pToZLQ7Qn3tEIRuiDEqzMdQ4U2O9WNYv7YidIMsn8PZ5bm+/Gjpn Iht1iXlu+SMuNloo6/WWKbrcZgBdL8b1aTYwDvZb8HMPzvdrxc9II0gRg0AUPxqC5wYoMu pOwpGFCk24u0isqpuzornKYwPk+XTvNo+JknU/fLaKEHefx5Et4S9ISbUz44lQ== 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 4Zmby25mkczsMP for ; Mon, 28 Apr 2025 21:22:34 +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 53SLMYRZ076632 for ; Mon, 28 Apr 2025 21:22:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 53SLMYSv076631 for bugs@FreeBSD.org; Mon, 28 Apr 2025 21:22:34 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 286373] Teach fmt(1) to query stdout's width Date: Mon, 28 Apr 2025 21:22:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd-2024@virtual-estates.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D286373 --- Comment #4 from Mikhail T. --- > Saying the flag was ignored without explanation isn't very helpful. I'm counting on warn(3) appending the explanation: % fmt -A < /dev/null > /dev/null fmt: ignoring the -A option: Inappropriate ioctl for device Maybe, adding a more detailed message to the most common reason for the err= or would be useful to some, but other callers of warn(3) don't usually bother = with that. --=20 You are receiving this mail because: You are the assignee for the bug.=