From nobody Sun Feb 19 08:35:37 2023 X-Original-To: questions@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 4PKJlw4YP9z3syMm for ; Sun, 19 Feb 2023 08:35:40 +0000 (UTC) (envelope-from grahamperrin@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PKJlw2ss3z3syf for ; Sun, 19 Feb 2023 08:35:40 +0000 (UTC) (envelope-from grahamperrin@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676795740; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=lCoOidK/0QbWMFWfnGOcBsUjpkTQQAiAiLtZTdESgnU=; b=ZS58jpzzg3MqdKaT4S1aaBGI3iNHN3kzkZCTfngMMATA6CuZK4Er5J8ZeasUsTiMsIiQtr aGqRpeJ9CSQps83HKxq33g4hYJvWqyjpm+t4+oH1Xf4r2XYwMns3s6y9ax7GmUMiOGmaiU qohwvjU2/eD10jo+8WdAIx4n5j8rm83q4fXtTY1ZZRUCPd2Wk6SHcCpRHqwxuZ5mmjBGVp zDdbUbP312LO/SDUa9tlpytyTfnLNs/vqTiCwEu92GxsxBwNahO847ecLgqkA6jwqQykT8 3wgs0YZaUaB6Bx8cLs+uTkik2dykjHBBwTJxG9MiafIBknSTgFdl0qdU4ED82Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676795740; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=lCoOidK/0QbWMFWfnGOcBsUjpkTQQAiAiLtZTdESgnU=; b=b63Lo1mTxGDrJKFHzNruQ4p9C5ddSijR7g4WHL2egrGmC7YVK7W8JX1JxpPOCN1rpXRSR3 Kw628TFiwE/lVzXdjAFJQH87y1xbas9VJCOIaoNQUQn9oRpu0MUNel7W/HqVqcmxya7YQd mV6+RClrFROJf4o2ns22DB0/cLGzJ6KKlZlAIDhJagzILBCtpkNwp0IUixd+KfGLDFDK83 aQkZh+9kgTiqxwzal5PCrekV4aj1CYV9QrxoBvGJ1Fsh4JtXzEDy8PSy81G4f3mHMtTSsP vEYcSnHeNCOEqXAC9Ylroxeildm4MXGWJoLIX4EcX3D4hBdzOYrAuzgp8+szhA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676795740; a=rsa-sha256; cv=none; b=PojpGugDRt5WUrRK6fCfr/enOJyIFdrolwl75NsibIeEq6P8dBZrejWFRsEe94YxjufIi3 fb31Uo2AchwUmaegDQSS0XGlBteeN1J/RRlDz3R0dyrZap8KKdBXpc9yrtdEnqCMvjL6gS rnsLmFsxDeHk7L5nUA57+j4adTQhVkE0HVP1HVUsP7qPRwXnyNCLY2ROlZwMoIRYu2Lgbi yUGPdZc6KeopDAJfsghY4f5HgKn1Gr18x2RMHJGbh2y4yw3WnsDvAeCXgkvx48PAifJPJo I5Bw2lc8rj/YIDvdAXf/4pGt27grUTbeffXP0Nh70V9QCPO+rHQUDgT0/Ae96A== Received: from [IPV6:2001:470:1f1c:a0::2] (tunnel642390-pt.tunnel.tserv1.lon2.ipv6.he.net [IPv6:2001:470:1f1c:a0::2]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: grahamperrin) by smtp.freebsd.org (Postfix) with ESMTPSA id 4PKJlw0ZRyzXMl for ; Sun, 19 Feb 2023 08:35:39 +0000 (UTC) (envelope-from grahamperrin@freebsd.org) Message-ID: Date: Sun, 19 Feb 2023 08:35:37 +0000 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: Upgrade from 12.3 to 12.4 To: questions@freebsd.org References: Content-Language: en-US From: Graham Perrin Organization: FreeBSD In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------bBidN5KZ4j9F09HNXDjsnW36" X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------bBidN5KZ4j9F09HNXDjsnW36 Content-Type: multipart/mixed; boundary="------------Sjsiw4fxIeYTXOg2JSurqlEf"; protected-headers="v1" From: Graham Perrin To: questions@freebsd.org Message-ID: Subject: Re: Upgrade from 12.3 to 12.4 References: In-Reply-To: --------------Sjsiw4fxIeYTXOg2JSurqlEf Content-Type: multipart/alternative; boundary="------------jHssmXJmAU0oNXbFEjCVJujs" --------------jHssmXJmAU0oNXbFEjCVJujs Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMTgvMDIvMjAyMyAxNzoyOCwgTW9uYWggQmFraSB3cm90ZToNCj4g4oCmDQo+IEZpbGUg Y2hhbmdlZCB3aGlsZSBGcmVlQlNEIFVwZGF0ZSBydW5uaW5nOiANCj4gL3Vzci9saWIvZGVi dWcvYm9vdC9rZXJuZWwvYXRoX2hhbF9hcjU0MTYua28uZGVidWcNCj4NCj4gL2Nhbid0IHNl ZW0gdG8gdXBncmFkZSBJIGtlZXAgZ2V0dGluZyAiZmlsZSBjaGFuZ2VkIiBhbmQgdGhlIHBh dGggdG8gDQo+IGZpbGUgbmFtZSBrZWVwcyBjaGFuZ2luZy4vDQo+IOKApg0KDQoNCldoaWNo IHZlcnNpb24gb2YgMTIuMywgZXhhY3RseT8NCg0KZnJlZWJzZC12ZXJzaW9uIC1rcnUgOyB1 bmFtZSAtYUtVDQoNCg== --------------jHssmXJmAU0oNXbFEjCVJujs Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On 18/02/2023 17:28, Monah Baki wrote:=
=E2=80=A6
File changed while FreeBSD Update running: /usr/lib/debug/boot/kernel/ath_hal_ar5416.ko.debug

can't seem to upgrade I keep getting "file changed" and the path to file name keeps changing.
=E2=80=A6


Which version of 12.3, exactly?

freebsd-version -kru ; uname -aKU

--------------jHssmXJmAU0oNXbFEjCVJujs-- --------------Sjsiw4fxIeYTXOg2JSurqlEf-- --------------bBidN5KZ4j9F09HNXDjsnW36 Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEWT/lssMHB+28ly8Kt2dIb0oY1AsFAmPx31kFAwAAAAAACgkQt2dIb0oY1Auw Tw/7B8OHFpO7iZV8KQB6pTIbwyY4Di2gJ/m0hqMTWImKy35YuDnR+i4FLCh7Lpc9sjb3IWcylUoa YNvNkQX7D61H8l3qiFxOXfbGzrf4NyuDCyw69qcl9EdPIU7nzRchpgzUvp/5DlCuvGTkM/kCliNP VUTR9nG5zJOzDY2gdpcWwVaXb/8chY7tLVfitM+LlNuAP0FZcAYdqdSUwl+Py4n6erzbaimI4KEF qqLlO7IA3PJCH3qGvDwODg+Ards032AZMgt3mgY6hVDc3m0kGI55QV8abhMRQ8rfthBhYmiob22H /VD48y4wtyhutDKhxquUq2zWR5OksbzKzSbRYyzgOEUpokM0b8U/iJGw6CrIIsuw2oWpRj7F2xZC PLziaF90+0nDbiEB4ocKPbygcOSI4GfknUwRJREJnzwhLqeU61nUsU69TdHIqt8QGHRIi6Dqh1u5 P+4RPHTl2Y7z7NHMuOkdhyf/HIB58qGKnAWHl+vMzxFaAMbDlMwV3r4WG+8BWBfEvJ2udX0PXS7V TU/4fHDUxv8B9bHyA/RwFfy1iC7OfdKLBwe/fZOqHWlbBVSdivFLUK9OUkWz5AdA3HyHEfdATJ00 0YN7QAEyU+Zejqp1onScDAVQ4hkDloSnHBpdH6yXq0k6EqWCwc4zL4GQPft6bl9wvToHadGYkoyQ 8YM= =1akn -----END PGP SIGNATURE----- --------------bBidN5KZ4j9F09HNXDjsnW36-- From nobody Sun Feb 19 13:27:15 2023 X-Original-To: questions@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 4PKRDd42f0z3r8Db for ; Sun, 19 Feb 2023 13:27:29 +0000 (UTC) (envelope-from monahbaki@gmail.com) Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PKRDd1JgKz4TM1; Sun, 19 Feb 2023 13:27:29 +0000 (UTC) (envelope-from monahbaki@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-wm1-x32b.google.com with SMTP id l5-20020a05600c4f0500b003dc4050c94aso495974wmq.4; Sun, 19 Feb 2023 05:27:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=0sIQaRQXiivq+cpr5Ihgvo3qm6OShVj4/2DSYyn/Tf0=; b=UIf4pcWzgsphuGr3/WpT+ctFuvco4CCp77m0/699uxNiDSj07rm+R225D61DeLUrLQ 5Bqayb4Hc1Q0sMI/Z6d3Be7aHI9eu1GEVPIvwPf3iRJIGioxkjiuqDtecobN51JEn3Pz VU8g8hy86IsCpWsvrxFztzZB3PbszTgl6axe08lT5QRQUscfcg8Y6b0QwGAt/vwCVrHj fiumTRs+xt/z5FVUc55rexYyhItZAU4oVAM0YWnKOxaEDQ1E/Cu36DnYVqUt+j2RKmp9 58xHqYV5cZ4POWTPXE6sYA3W0+SiU6abUenS4qIouSkszepYsFtjuYwVJgGu5bJVDQmW 9bEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0sIQaRQXiivq+cpr5Ihgvo3qm6OShVj4/2DSYyn/Tf0=; b=AV4K/DVOmZH/FejCZMP67+T7J4nfnfqtGC0p0IoQ7psonXbMC21HeiM81KDXGHuFJ9 PdemT2dycYp7EZFYq8/YxmzFw7Qvl/+/ezD/C8PstisXQSLHI2956AjsDxXj4oOhoI4J jZdz2t90Nx/Agqhi0+NOHp9cUAspatAkMndxF2eOK/ywtzjId3FyOcfnHj2udZYsmUkH wvq9f0I6IZKQ5+CznVYFyGTN5t9Ay5KyCTbUsNRJP7J1o7u80PWMIDKIy3AJHabfO6Jj SnHZaNfvHlKa/9gYoFZFanpQbq5QndTJhG2CfzUBq0OuHUmzH54jwKyaZnhWfxu0xAh1 QYPw== X-Gm-Message-State: AO0yUKXmp3iP9iCClqV0XdnUoNlixu9OHn0AsPcOI8/80aVyBfCg4cPM IHWHIGBNq8HWwbY28YRTozWygkP+4chsCmZq3r/lSEmMTA0= X-Google-Smtp-Source: AK7set94k0G9IuuLb85BSkCyQVr102u3p2UCLnbh/PnvO6dIZhBv852dLAGmFuc5UxUfZ7gz6BTY6Q7LiUAAdsBz1p4= X-Received: by 2002:a05:600c:5254:b0:3db:e0b:7ffb with SMTP id fc20-20020a05600c525400b003db0e0b7ffbmr327433wmb.157.1676813247115; Sun, 19 Feb 2023 05:27:27 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Monah Baki Date: Sun, 19 Feb 2023 08:27:15 -0500 Message-ID: Subject: Re: Upgrade from 12.3 to 12.4 To: Graham Perrin Cc: questions@freebsd.org Content-Type: multipart/alternative; boundary="000000000000f2f44d05f50d812a" X-Rspamd-Queue-Id: 4PKRDd1JgKz4TM1 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --000000000000f2f44d05f50d812a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable $ freebsd-version -kru ; uname -aKU 12.3-RELEASE-p11 12.3-RELEASE-p6 12.3-RELEASE-p12 FreeBSD waf 12.3-RELEASE-p6 FreeBSD 12.3-RELEASE-p6 GENERIC amd64 1203000 1203000 Thanks On Sun, Feb 19, 2023 at 3:36 AM Graham Perrin wrote: > On 18/02/2023 17:28, Monah Baki wrote: > > =E2=80=A6 > File changed while FreeBSD Update running: > /usr/lib/debug/boot/kernel/ath_hal_ar5416.ko.debug > > *can't seem to upgrade I keep getting "file changed" and the path to file > name keeps changing.* > =E2=80=A6 > > > Which version of 12.3, exactly? > > freebsd-version -kru ; uname -aKU > --000000000000f2f44d05f50d812a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
$ freebsd-version -kru ; uname -aKU
12.3-RELEASE-p1112.3-RELEASE-p6
12.3-RELEASE-p12
FreeBSD waf 12.3-RELEASE-p6 Fr= eeBSD 12.3-RELEASE-p6 GENERIC =C2=A0amd64 1203000 1203000

Thanks

On Sun, Feb 19, 2023 at 3:36 AM Graham Perrin <<= a href=3D"mailto:grahamperrin@freebsd.org">grahamperrin@freebsd.org>= wrote:
=20 =20 =20
On 18/02/2023 17:28, Monah Baki wrote:
=E2=80=A6
File changed while FreeBSD Update running: /usr/lib/debug/boot/kernel/ath_hal_ar5416.ko.debug

can't seem to upgrade I keep getting "file changed&q= uot; and the path to file name keeps changing.
=E2=80=A6


Which version of 12.3, exactly?

freebsd-version -kru ; uname -aKU

--000000000000f2f44d05f50d812a-- From nobody Sun Feb 19 14:23:21 2023 X-Original-To: questions@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 4PKST82GQMz3rCyH for ; Sun, 19 Feb 2023 14:23:24 +0000 (UTC) (envelope-from grahamperrin@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PKST81kL7z4ZG2; Sun, 19 Feb 2023 14:23:24 +0000 (UTC) (envelope-from grahamperrin@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676816604; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=UWmheonER0yvcGe1IHcNLD6hL8FqnY9eYFhGUchuToE=; b=ThWc7Ac28UrBs00L7L8XcTKr39WHz+BJQHf/Vb6H4D9lFD2dSomfjD9IhifxGdjiuGysMW OUs5HOxGzg2nVC7gLFFODLmwsPRGSSQpqzNK1hLnrVjLmy7MN/jp52mqWwA2cYDETAMnRG g4pVWocOP/FR6bvOkyo864JjrHIHsrkWGZ9UVRCIHryk74z4M4tU2bkbzHk3WkESmRPMIU ICphZsxFalsOuKmbi0rVeTjrb39XY6E/Hfq/TJl59AoFImcIAx4JKaVpHhBrbz/VN1PPJV g5qZKxJ3wo0bctiU/UfnDU3tKTuOu264nXnPiC0Va9tjP+anGBN4WrASgd/NeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676816604; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=UWmheonER0yvcGe1IHcNLD6hL8FqnY9eYFhGUchuToE=; b=UxFT5oqofnVG/+SGzsVlx6qjdA6mB2zeYZ452OGdUHs07UCdqsMuVQnPq0ZvDbGak6+u/a 5jv06wlJoj5m5C124VE5gHZHOjQN3jBtrOsyMyLA8nqjba6VnHMQr8y88CimkjOupBs6Af OD1O7RiCkKfewPQ+m2wx2xByDy3VJzkdpNOsRPeihb5n8m8TrOtYFjxmRAHS9tv12Tj9Sx w0yStABuYL7rW+IUdkwC3OQbGoclNW4D4zWTpfbeibtZHolMXpxNZ07oCJegbwKAUvUaR3 vWQXaEWjrFyk0s74r0jqPSa+pPkRJZd04s7q8+V4SzbcSGnRCb0oQPSTK/EPrQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676816604; a=rsa-sha256; cv=none; b=jIhC7DWkQ4sqmNPbqnzLUcQ0kQpYYrgP5YWWsUM6kGEtgJxTDIx1XP0BUhbbMZs6ma0WHg BOt4ACWVent55OclHOMatq7weYFNC4jg5x/h7z4VnaXzPu072UGW65wIah5nDW425PQRjs NmgCvSc2qqT95cPac3Dk/VSaWa7cyFKOSc4WDTJJARPEPtOOZVu7W7WPB5B89C/x3blT7u cZ43jWeZYj1/PBs3DFSo82fOwV2mzpgA0T+Z9xaTrgmR5cxxHj5xoExW7ZTXTJJslXmws0 pgxoApikENbt6Mk9LKzPCanvOoxXwz0/NhkEQfPJAAeE7dgdDVw/rJR/ODVOMw== Received: from [IPV6:2001:470:1f1c:a0::2] (tunnel642390-pt.tunnel.tserv1.lon2.ipv6.he.net [IPv6:2001:470:1f1c:a0::2]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: grahamperrin) by smtp.freebsd.org (Postfix) with ESMTPSA id 4PKST74nRQzfHR; Sun, 19 Feb 2023 14:23:23 +0000 (UTC) (envelope-from grahamperrin@freebsd.org) Message-ID: <76a3f542-3756-e3f4-86b7-88b9fba1801a@freebsd.org> Date: Sun, 19 Feb 2023 14:23:21 +0000 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: Upgrade from 12.3 to 12.4 Content-Language: en-US To: Monah Baki Cc: questions@freebsd.org References: From: Graham Perrin Organization: FreeBSD In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------whbHXQS3kaSegLUTr6w00Bpm" X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------whbHXQS3kaSegLUTr6w00Bpm Content-Type: multipart/mixed; boundary="------------s000vTyCPOE3fD0wa2vmT7bW"; protected-headers="v1" From: Graham Perrin To: Monah Baki Cc: questions@freebsd.org Message-ID: <76a3f542-3756-e3f4-86b7-88b9fba1801a@freebsd.org> Subject: Re: Upgrade from 12.3 to 12.4 References: In-Reply-To: --------------s000vTyCPOE3fD0wa2vmT7bW Content-Type: multipart/alternative; boundary="------------cSbGdI92YGeQuL4759JEu0da" --------------cSbGdI92YGeQuL4759JEu0da Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMTkvMDIvMjAyMyAxMzoyNywgTW9uYWggQmFraSB3cm90ZToNCj4gJCBmcmVlYnNkLXZl cnNpb24gLWtydSA7IHVuYW1lIC1hS1UNCj4gMTIuMy1SRUxFQVNFLXAxMQ0KPiAxMi4zLVJF TEVBU0UtcDYNCj4gMTIuMy1SRUxFQVNFLXAxMg0KPiDigKYNCg0KVGhpcyBpcyBpbmRpY2F0 aXZlIG9mIGFuIGluY29tcGxldGUgdXBkYXRlIChkaXN0aW5jdCBmcm9tIGFuIHVwZ3JhZGUp Lg0KDQpTbzoNCg0KZnJlZWJzZC11cGRhdGUgaW5zdGFsbA0KDQpUaGVuLCB5b3UgbWlnaHQg bGlrZSB0byByZXN0YXJ0IHRoZSBPUyBiZWZvcmUgYXR0ZW1wdGluZyBhbiB1cGdyYWRlLg0K DQo= --------------cSbGdI92YGeQuL4759JEu0da Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On 19/02/2023 13:27, Monah Baki wrote:=
$ freebsd-version -kru ; uname -aKU
12.3-RELEASE-p11
12.3-RELEASE-p6
12.3-RELEASE-p12
=E2=80=A6

This is indicative of an incomplete update (distinct from an upgrade).

So:

freebsd-update install

Then, you might like to restart the OS before attempting an upgrade.

--------------cSbGdI92YGeQuL4759JEu0da-- --------------s000vTyCPOE3fD0wa2vmT7bW-- --------------whbHXQS3kaSegLUTr6w00Bpm Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEWT/lssMHB+28ly8Kt2dIb0oY1AsFAmPyMNkFAwAAAAAACgkQt2dIb0oY1At/ hg//WaQhWbNmnur2WvVInPS+F56VPDFN6wUaGXvtGtrLLfOQV1nGZCXsPA80OfZ9cTi7ul1Xn+0i 0HO381xfOsyy+pkW//un+prZHwx2eIRdDOYlVk1DbrauKyhDtR9mzgB5prpsM02OWgVYbVzepSLf aTR/u+7tkI5hduGYz2qbwSuQlnDsY3o7afmCEJYGbcWTWF7oPAEPShNmVNJbcXDJ7uHIxdA/2vsU WKlghEfYS5twrvYqgvOQBHOTMmzXj4MgNLtJGYF+3n+wO9ooNyc+n17lQ//mEUC5OBzWm9xnF3gH 9SH2WVBjlKx1NTFqiYLD7I9Ci3Dm7fdz2CnQm9l+EuUksJkbP5R8HZtDS3369w1wHfSeDbmL79ja 630xWHjhqATQxw+zYT1kWUCfClYr4NmeP6gaekRwlOna1EOuMdc2tlQufNvwdNloDUrBGcozGQf6 /eicyWm9b0WiS1dBvOhZpshyf+B4g9di7Y/1CWlGtmnkezfEmNT2VXM1WcT4POrE7xJQpUSIMX8R ImN9+bbZVvYSG48FJLJM3cnIAp4dXamFzSyXKF9pwXjJVJWqD5PCV9/dtlVjFTo4yBDHz0q5zGue EGF9hwndd1tq65RqKtNgW8qIhay3YzTcw52H4MfKJWCk1vHUglgFmxt9gOP5+Lu7xMLgA5iCnLf4 89k= =orkl -----END PGP SIGNATURE----- --------------whbHXQS3kaSegLUTr6w00Bpm-- From nobody Sun Feb 19 14:43:25 2023 X-Original-To: questions@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 4PKSwW2zbRz3rFC3 for ; Sun, 19 Feb 2023 14:43:39 +0000 (UTC) (envelope-from monahbaki@gmail.com) Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PKSwV6j4fz4l0G; Sun, 19 Feb 2023 14:43:38 +0000 (UTC) (envelope-from monahbaki@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-wm1-x32f.google.com with SMTP id l5-20020a05600c4f0500b003dc4050c94aso571443wmq.4; Sun, 19 Feb 2023 06:43:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=VP5cK+Wqt4D3Zr4ms2rCBSQs13R+AcJdMsu/nfDSXSQ=; b=nFHw+3PUJcjCtzWN6it8cBBxAfzUh1WWgwMPDU2JLQp8G0z/idZTe8EIwXq21pd4Wj lbgF8O/2xJo/Ndd3VZOHx5q279ABzHoU1HsZqTEhds2QMX/AB5HM5X2oZ1LSLAWbI+oR qjoeEXLUGvpK6X5dFGbRtL2SY5BFAfCt0eRydXSFBlL6dRWdOCP81dF3GK9OTxShSxTC f+j47LMtgb09kFQmde4ViuivKR3MUlEYE4Nr7TiWSK7Wv+rIy42ajH8LMFMv2xg02FPR xuEWIeU5kEToAdJciNsyDWDeUKw2Oqs/cNb4iD2/bVDJ4G12p51hiDl+csCij2KaaUgo 9ONQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=VP5cK+Wqt4D3Zr4ms2rCBSQs13R+AcJdMsu/nfDSXSQ=; b=zPb5QadwR7bEY0oa6+yXxXtaQ5efjKGuifHpBQtig+zCXPbzvLrbQF9FkKtFvYzD84 3FuP2XxgSjbxUqsdGFz90tF/lTfUKiB/5w5PtQu2M35EbMng9IEsU0GvMvhMtlnakGQF o/A/FR7u0iQWaXxh2keWsW5QeOO+6qb7tsLvqP6ohJT0jPGen5RrV6oASucRIleJZlb4 +DCgwnSqSwcIWlHEHef0+k/DirBUQROZ1zddlvKpMxloXiM08x0v0Yw1CJzwR8ClNVpp bwToQMfJKeUdN3NIfXfb7tmu+kZjGvH3hCs0YcHlQlGy35W1l2dpeKdqxZdOOryot6pJ TJ/g== X-Gm-Message-State: AO0yUKUNGix1Vu3im7U9mS7bBWVa47lTuuXhiTNfo0ShleK50TBCDGjy tnRyibpNF06mraBdWndzm4rG1azGPtG7Pf7saHQbRVpUm1I= X-Google-Smtp-Source: AK7set9wb++DIyBThBlg650WmZ8C8BsWtvT44pwZNwjQTlwkT2XiV4uxpel/Mf6qpNnLSLlTeGe4nDeYA7Mbm+NX598= X-Received: by 2002:a05:600c:5254:b0:3db:e0b:7ffb with SMTP id fc20-20020a05600c525400b003db0e0b7ffbmr343140wmb.157.1676817817011; Sun, 19 Feb 2023 06:43:37 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <76a3f542-3756-e3f4-86b7-88b9fba1801a@freebsd.org> In-Reply-To: <76a3f542-3756-e3f4-86b7-88b9fba1801a@freebsd.org> From: Monah Baki Date: Sun, 19 Feb 2023 09:43:25 -0500 Message-ID: Subject: Re: Upgrade from 12.3 to 12.4 To: Graham Perrin Cc: questions@freebsd.org Content-Type: multipart/alternative; boundary="0000000000005608ef05f50e9293" X-Rspamd-Queue-Id: 4PKSwV6j4fz4l0G X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --0000000000005608ef05f50e9293 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Steps that I performed (no luck still) # freebsd-update install No updates are available to install. Run '/usr/sbin/freebsd-update fetch' first. # freebsd-update fetch Looking up update.FreeBSD.org mirrors... 2 mirrors found. Fetching metadata signature for 12.3-RELEASE from update2.freebsd.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... File changed while FreeBSD Update running: /rescue/zstdmt # reboot # freebsd-update install No updates are available to install. Run '/usr/sbin/freebsd-update fetch' first. # freebsd-update fetch Looking up update.FreeBSD.org mirrors... 2 mirrors found. Fetching metadata signature for 12.3-RELEASE from update1.freebsd.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. No updates needed to update system to 12.3-RELEASE-p12. # freebsd-update upgrade -r 12.4-RELEASE Looking up update.FreeBSD.org mirrors... 2 mirrors found. Fetching metadata signature for 12.3-RELEASE from update2.freebsd.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. Inspecting system... done. The following components of FreeBSD seem to be installed: kernel/generic kernel/generic-dbg src/src world/base world/doc world/lib32 The following components of FreeBSD do not seem to be installed: world/base-dbg world/lib32-dbg Does this look reasonable (y/n)? y Fetching metadata signature for 12.4-RELEASE from update2.freebsd.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. Inspecting system... Fetching files from 12.3-RELEASE for merging... done. Preparing to download files... Bus error (core dumped) <<<<<<<<<<<<<<<<<<<< File changed while FreeBSD Update running: /rescue/halt Thanks On Sun, Feb 19, 2023 at 9:23 AM Graham Perrin wrote: > On 19/02/2023 13:27, Monah Baki wrote: > > $ freebsd-version -kru ; uname -aKU > 12.3-RELEASE-p11 > 12.3-RELEASE-p6 > 12.3-RELEASE-p12 > =E2=80=A6 > > This is indicative of an incomplete update (distinct from an upgrade). > > So: > > freebsd-update install > > Then, you might like to restart the OS before attempting an upgrade. > --0000000000005608ef05f50e9293 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Steps that I performed (no luck still)

=

# freebsd-update install
No updates are avai= lable to install.
Run '/usr/sbin/freebsd-update fetch' first.

# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 2 mirrors found.Fetching metadata signature for 12.3-RELEASE from update2.freebsd.org... = done.
Fetching metadata index... done.
Inspecting system... done.
= Preparing to download files...
File changed while FreeBSD Update runnin= g: /rescue/zstdmt

# reboot

= # freebsd-update install
No updates are available to install.
Run = 9;/usr/sbin/freebsd-update fetch' first.

#= freebsd-update fetch
Looking up u= pdate.FreeBSD.org mirrors... 2 mirrors found.
Fetching metadata sign= ature for 12.3-RELEASE from update1.freebsd.org... done.
Fetching metada= ta index... done.
Inspecting system... done.
Preparing to download fi= les... done.

No updates needed to update system to 12.3-RELEASE-p12.=

# freebsd-update upgrade -r 12.4-RELEASE
Looki= ng up update.FreeBSD.org mirrors.= .. 2 mirrors found.
Fetching metadata signature for 12.3-RELEASE from up= date2.freebsd.org... done.
Fetching metadata index... done.
Fetching = 1 metadata patches. done.
Applying metadata patches... done.
Fetching= 1 metadata files... done.
Inspecting system... done.

The followi= ng components of FreeBSD seem to be installed:
kernel/generic kernel/gen= eric-dbg src/src world/base world/doc
world/lib32

The following c= omponents of FreeBSD do not seem to be installed:
world/base-dbg world/l= ib32-dbg

Does this look reasonable (y/n)? y

Fetching metadata= signature for 12.4-RELEASE from update2.freebsd.org... done.
Fetching m= etadata index... done.
Fetching 1 metadata patches. done.
Applying me= tadata patches... done.
Fetching 1 metadata files... done.
Inspecting= system...
Fetching files from 12.3-RELEASE for merging... d= one.
Preparing to download files... Bus error (core dumped)=C2=A0=C2=A0 = <<<<<<<<<<<<<<<<<<<= ;<

File changed while FreeBSD Update running: /rescue/halt
<= div>
Thanks

On Sun, Feb 19, 2023 at 9:23 AM Graham P= errin <grahamperrin@freebsd.= org> wrote:
=20 =20 =20
On 19/02/2023 13:27, Monah Baki wrote:
$ freebsd-version -kru ; uname -aKU
12.3-RELEASE-p11
12.3-RELEASE-p6
12.3-RELEASE-p12
=E2=80=A6

This is indicative of an incomplete update (distinct from an upgrade).

So:

freebsd-update install

Then, you might like to restart the OS before attempting an upgrade.

--0000000000005608ef05f50e9293-- From nobody Sun Feb 19 14:49:26 2023 X-Original-To: questions@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 4PKT3S67Qwz3rG3f for ; Sun, 19 Feb 2023 14:49:40 +0000 (UTC) (envelope-from monahbaki@gmail.com) Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PKT3R419Qz3C51; Sun, 19 Feb 2023 14:49:39 +0000 (UTC) (envelope-from monahbaki@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b="P/r7K0+x"; spf=pass (mx1.freebsd.org: domain of monahbaki@gmail.com designates 209.85.128.48 as permitted sender) smtp.mailfrom=monahbaki@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-wm1-f48.google.com with SMTP id i5-20020a05600c354500b003e1f5f2a29cso566371wmq.4; Sun, 19 Feb 2023 06:49:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=a7vaQSBb0ee5SAfk89kIhZIWLyF8HmWyYk32BQMQcOE=; b=P/r7K0+xhts7Oj6leLJ1X1Sx/h9YA01RzEyEDvAKFQTyS6lUXcZ5b64eoDdP6GGdPL qvfs2pG51eIjFhnrFVRMIyY+5SfmEdzYL91FlW1gLwjnHbL831TqUi/8dDdMoymAD4cS HKp4IuZssDvVpt1UHAxESs3IZeNfkZPjmTrGScyPSJz0udT4FBqbEeuif0VQx/UNiAvr gxHpFm6U6f7s9jAgbNW10VnHjWv8g4XWoXAxXAbi1lc2kOpF/B/mZ2k/UOl3n5KOmscc J3ZVQluORWCay1xkvGYjcGl8a8Z1qSfs4DCvBnJuzteFEPzJYhz0ffFKG8kamOrwseSz 9Sgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=a7vaQSBb0ee5SAfk89kIhZIWLyF8HmWyYk32BQMQcOE=; b=Po4269v1jNNwlUAhtqqAdl/3edazpZytIFS2BxsLO/ny+CucssZ61GIpTnzKuXTkDY YI2aqKAOrx6CGYbYG41SVWH6wKD89+UNksRASaCKy0pVs+RhQU6MzEHDwrfN469ebT6a sFVfmM/6S+KWXNdhvOV0fNyDqrjbVVxY1NHRcwKX7p11IbqVPPPgnhv8XLCwQDyMl0Yc +Q79DafoT2plFt5LgeOUi4jDigYCgD9DwOmlGIEjgolTvGeii9LTwwXYkFbeeOwafKS/ Fv+pz/A0AQNMeyM9iv5UboK79SCE06tESVLzRKQkvlNW+1PYa/D2QBSQIcxhodq3Kavs gFvw== X-Gm-Message-State: AO0yUKXnP9FWsFahMsEA9jlU9SN1esPWOiaOH0g9o7b2w7yvpcqI2DLk 2+UuOZS15CUHgT88cJhssRRSGsjlpt8ceCNI8og5k+C4Kk4= X-Google-Smtp-Source: AK7set/szv0hzL0C+eDfVwUvORBOBEbZ5NUROyamdvfO1XkHAcTv7vXwhRiuuS3gEzhR0tFX+vQ5Dk0FTUdlJYbk0D0= X-Received: by 2002:a05:600c:5254:b0:3db:e0b:7ffb with SMTP id fc20-20020a05600c525400b003db0e0b7ffbmr344414wmb.157.1676818177257; Sun, 19 Feb 2023 06:49:37 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <76a3f542-3756-e3f4-86b7-88b9fba1801a@freebsd.org> In-Reply-To: From: Monah Baki Date: Sun, 19 Feb 2023 09:49:26 -0500 Message-ID: Subject: Re: Upgrade from 12.3 to 12.4 To: Graham Perrin Cc: questions@freebsd.org Content-Type: multipart/alternative; boundary="000000000000cef3d505f50ea77f" X-Spamd-Result: default: False [-3.57 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.57)[-0.570]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_IN_DNSWL_NONE(0.00)[209.85.128.48:from]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; MLMMJ_DEST(0.00)[questions@freebsd.org]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCPT_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.128.48:from]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-Rspamd-Queue-Id: 4PKT3R419Qz3C51 X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N --000000000000cef3d505f50ea77f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable cat /var/log/messages kernel: pid 35190 (cut), jid 0, uid 0: exited on signal 10 (core dumped) On Sun, Feb 19, 2023 at 9:43 AM Monah Baki wrote: > Steps that I performed (no luck still) > > > # freebsd-update install > No updates are available to install. > Run '/usr/sbin/freebsd-update fetch' first. > > # freebsd-update fetch > Looking up update.FreeBSD.org mirrors... 2 mirrors found. > Fetching metadata signature for 12.3-RELEASE from update2.freebsd.org... > done. > Fetching metadata index... done. > Inspecting system... done. > Preparing to download files... > File changed while FreeBSD Update running: /rescue/zstdmt > > # reboot > > # freebsd-update install > No updates are available to install. > Run '/usr/sbin/freebsd-update fetch' first. > > # freebsd-update fetch > Looking up update.FreeBSD.org mirrors... 2 mirrors found. > Fetching metadata signature for 12.3-RELEASE from update1.freebsd.org... > done. > Fetching metadata index... done. > Inspecting system... done. > Preparing to download files... done. > > No updates needed to update system to 12.3-RELEASE-p12. > > # freebsd-update upgrade -r 12.4-RELEASE > Looking up update.FreeBSD.org mirrors... 2 mirrors found. > Fetching metadata signature for 12.3-RELEASE from update2.freebsd.org... > done. > Fetching metadata index... done. > Fetching 1 metadata patches. done. > Applying metadata patches... done. > Fetching 1 metadata files... done. > Inspecting system... done. > > The following components of FreeBSD seem to be installed: > kernel/generic kernel/generic-dbg src/src world/base world/doc > world/lib32 > > The following components of FreeBSD do not seem to be installed: > world/base-dbg world/lib32-dbg > > Does this look reasonable (y/n)? y > > Fetching metadata signature for 12.4-RELEASE from update2.freebsd.org... > done. > Fetching metadata index... done. > Fetching 1 metadata patches. done. > Applying metadata patches... done. > Fetching 1 metadata files... done. > Inspecting system... > Fetching files from 12.3-RELEASE for merging... done. > Preparing to download files... Bus error (core dumped) > <<<<<<<<<<<<<<<<<<<< > > File changed while FreeBSD Update running: /rescue/halt > > Thanks > > On Sun, Feb 19, 2023 at 9:23 AM Graham Perrin > wrote: > >> On 19/02/2023 13:27, Monah Baki wrote: >> >> $ freebsd-version -kru ; uname -aKU >> 12.3-RELEASE-p11 >> 12.3-RELEASE-p6 >> 12.3-RELEASE-p12 >> =E2=80=A6 >> >> This is indicative of an incomplete update (distinct from an upgrade). >> >> So: >> >> freebsd-update install >> >> Then, you might like to restart the OS before attempting an upgrade. >> > --000000000000cef3d505f50ea77f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
cat /var/log/messages

kernel= : pid 35190 (cut), jid 0, uid 0: exited on signal 10 (core dumped)



On Sun, Feb 19, 2023 at 9:43 AM Monah Baki <<= a href=3D"mailto:monahbaki@gmail.com">monahbaki@gmail.com> wrote:
<= div>Steps that I performed (no luck still)


# freebsd-update install
No updates are available to install.<= br>Run '/usr/sbin/freebsd-update fetch' first.

# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 2 mirrors found.Fetching metadata signature for 12.3-RELEASE from update2.freebsd.org... = done.
Fetching metadata index... done.
Inspecting system... done.
= Preparing to download files...
File changed while FreeBSD Update runnin= g: /rescue/zstdmt

# reboot

= # freebsd-update install
No updates are available to install.
Run = 9;/usr/sbin/freebsd-update fetch' first.

#= freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetc= hing metadata signature for 12.3-RELEASE from update1.freebsd.org... done.<= br>Fetching metadata index... done.
Inspecting system... done.
Prepar= ing to download files... done.

No updates needed to update system to= 12.3-RELEASE-p12.

# freebsd-update upgrade -r 12.= 4-RELEASE
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching metadat= a signature for 12.3-RELEASE from update2.freebsd.org... done.
Fetching = metadata index... done.
Fetching 1 metadata patches. done.
Applying m= etadata patches... done.
Fetching 1 metadata files... done.
Inspectin= g system... done.

The following components of FreeBSD seem to be ins= talled:
kernel/generic kernel/generic-dbg src/src world/base world/docworld/lib32

The following components of FreeBSD do not seem to be = installed:
world/base-dbg world/lib32-dbg

Does this look reasonab= le (y/n)? y

Fetching metadata signature for 12.4-RELEASE from update= 2.freebsd.org... done.
Fetching metadata index... done.
Fetching 1 me= tadata patches. done.
Applying metadata patches... done.
Fetching 1 m= etadata files... done.
Inspecting system...
Fetching file= s from 12.3-RELEASE for merging... done.
Preparing to download files... = Bus error (core dumped)=C2=A0=C2=A0 <<<<<<<<<<= ;<<<<<<<<<<

File changed while FreeBSD= Update running: /rescue/halt

Thanks

On S= un, Feb 19, 2023 at 9:23 AM Graham Perrin <grahamperrin@freebsd.org> wrote:
=20 =20 =20
On 19/02/2023 13:27, Monah Baki wrote:
$ freebsd-version -kru ; uname -aKU
12.3-RELEASE-p11
12.3-RELEASE-p6
12.3-RELEASE-p12
=E2=80=A6

This is indicative of an incomplete update (distinct from an upgrade).

So:

freebsd-update install

Then, you might like to restart the OS before attempting an upgrade.

--000000000000cef3d505f50ea77f-- From nobody Sun Feb 19 19:54:52 2023 X-Original-To: questions@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 4PKbqt5lm5z3rwG5 for ; Sun, 19 Feb 2023 19:55:06 +0000 (UTC) (envelope-from monahbaki@gmail.com) Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PKbqs4gg7z42TB; Sun, 19 Feb 2023 19:55:05 +0000 (UTC) (envelope-from monahbaki@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b="COyDa/lH"; spf=pass (mx1.freebsd.org: domain of monahbaki@gmail.com designates 2a00:1450:4864:20::434 as permitted sender) smtp.mailfrom=monahbaki@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-wr1-x434.google.com with SMTP id m7so958667wrr.13; Sun, 19 Feb 2023 11:55:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=wFK6LiLFt5EMABu2OigmKaUakP4wqrQaf8zio4Hx4eU=; b=COyDa/lH7+dVvQwWIoiBoegd5c3w02OIr1cfqBEdVqF8HalsbiGh72vUI8ehnBJV1b TE7cCQydblAMREKJPuX73ceDQmaNVSHNg5HR1yTOFZd9vh6LsGWI3se+dy4LDJgi0u7A xqLN+g/Aeb/msHgqcpAgRmDRSTAJF6Ibe5iZDpY0NtFEj/Xudy9RQJ0dwMR6mV6KoK2j SChUvulEwE5GJ+yqqtI2dw2K11YZGzYWXunVoBK6sLMMR0cU94/I2HSvE0XwwVhGw4Yt 3Zu4dFx+s4cT96M/hQqrn+lsekun02zldvkcnDvJ5k7O1KhHP7UJYkKEOL2ylsnhugtF QReg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wFK6LiLFt5EMABu2OigmKaUakP4wqrQaf8zio4Hx4eU=; b=g8XEoQkex6AeInGuYJWS2YMCGnPCjiNlY0/HtUU1L0HtTAW0wQ3WPOXzTV9SIxp45b 2z95E/EWATA/t0onF0pe6QxDYp3ptnYlvR/mO/aqiwdWsELSWsxEfuaab+uXdHKmhJLW eNrl4Ft/A9f4XknWO9xfQqZBxprkkcDDGU+Ug/3xE9/EBMEI5GL3tExb23g4z+eSHqgo hwGBxQrkPu9MbAA4OAjuQwo41UN5DYY4jz2hyrf/EKLWwd4E4GR+/j6ghzxJqeuSK7Z/ eN7xKr/9mQvXO3oRuNSORodIlKtKduRvPQ2c6UX7bnrRCLRFd3lJ3Xkxb6EGlJSOMWBH QZlQ== X-Gm-Message-State: AO0yUKWCuvkDvjQbA0X9SGVqqULKIv2S7CpoC3zZuZFO67YtvHBQcOD9 Q1ylHoDyskav6/uUGPwE8TYeKaS21JUZVexlznc2KD8B X-Google-Smtp-Source: AK7set+4aLr4Ia/+0HhAKoj09R92VubxkxXEVDQNcikBQfSwT+/8UJI5XgBZ/lwBi6MSqM6RsFm0Wo3VJ1tyf1U+b2M= X-Received: by 2002:a5d:44c9:0:b0:2c5:5ebc:d680 with SMTP id z9-20020a5d44c9000000b002c55ebcd680mr185887wrr.655.1676836503248; Sun, 19 Feb 2023 11:55:03 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <76a3f542-3756-e3f4-86b7-88b9fba1801a@freebsd.org> In-Reply-To: From: Monah Baki Date: Sun, 19 Feb 2023 14:54:52 -0500 Message-ID: Subject: Re: Upgrade from 12.3 to 12.4 To: Graham Perrin Cc: questions@freebsd.org Content-Type: multipart/alternative; boundary="0000000000001f638005f512ec60" X-Spamd-Result: default: False [-3.82 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.82)[-0.817]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MLMMJ_DEST(0.00)[questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::434:from]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-Rspamd-Queue-Id: 4PKbqs4gg7z42TB X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N --0000000000001f638005f512ec60 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I switch to bash and it worked On Sun, Feb 19, 2023 at 9:49 AM Monah Baki wrote: > cat /var/log/messages > > kernel: pid 35190 (cut), jid 0, uid 0: exited on signal 10 (core dumped) > > > > On Sun, Feb 19, 2023 at 9:43 AM Monah Baki wrote: > >> Steps that I performed (no luck still) >> >> >> # freebsd-update install >> No updates are available to install. >> Run '/usr/sbin/freebsd-update fetch' first. >> >> # freebsd-update fetch >> Looking up update.FreeBSD.org mirrors... 2 mirrors found. >> Fetching metadata signature for 12.3-RELEASE from update2.freebsd.org... >> done. >> Fetching metadata index... done. >> Inspecting system... done. >> Preparing to download files... >> File changed while FreeBSD Update running: /rescue/zstdmt >> >> # reboot >> >> # freebsd-update install >> No updates are available to install. >> Run '/usr/sbin/freebsd-update fetch' first. >> >> # freebsd-update fetch >> Looking up update.FreeBSD.org mirrors... 2 mirrors found. >> Fetching metadata signature for 12.3-RELEASE from update1.freebsd.org... >> done. >> Fetching metadata index... done. >> Inspecting system... done. >> Preparing to download files... done. >> >> No updates needed to update system to 12.3-RELEASE-p12. >> >> # freebsd-update upgrade -r 12.4-RELEASE >> Looking up update.FreeBSD.org mirrors... 2 mirrors found. >> Fetching metadata signature for 12.3-RELEASE from update2.freebsd.org... >> done. >> Fetching metadata index... done. >> Fetching 1 metadata patches. done. >> Applying metadata patches... done. >> Fetching 1 metadata files... done. >> Inspecting system... done. >> >> The following components of FreeBSD seem to be installed: >> kernel/generic kernel/generic-dbg src/src world/base world/doc >> world/lib32 >> >> The following components of FreeBSD do not seem to be installed: >> world/base-dbg world/lib32-dbg >> >> Does this look reasonable (y/n)? y >> >> Fetching metadata signature for 12.4-RELEASE from update2.freebsd.org... >> done. >> Fetching metadata index... done. >> Fetching 1 metadata patches. done. >> Applying metadata patches... done. >> Fetching 1 metadata files... done. >> Inspecting system... >> Fetching files from 12.3-RELEASE for merging... done. >> Preparing to download files... Bus error (core dumped) >> <<<<<<<<<<<<<<<<<<<< >> >> File changed while FreeBSD Update running: /rescue/halt >> >> Thanks >> >> On Sun, Feb 19, 2023 at 9:23 AM Graham Perrin >> wrote: >> >>> On 19/02/2023 13:27, Monah Baki wrote: >>> >>> $ freebsd-version -kru ; uname -aKU >>> 12.3-RELEASE-p11 >>> 12.3-RELEASE-p6 >>> 12.3-RELEASE-p12 >>> =E2=80=A6 >>> >>> This is indicative of an incomplete update (distinct from an upgrade). >>> >>> So: >>> >>> freebsd-update install >>> >>> Then, you might like to restart the OS before attempting an upgrade. >>> >> --0000000000001f638005f512ec60 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I switch to bash and it worked

On Sun, Feb 19, 2023 at = 9:49 AM Monah Baki <monahbaki@gma= il.com> wrote:
cat /var/log/messages

= kernel: pid 35190 (cut), jid 0, uid 0: exited on signal 10 (core dumped)



On Sun, Feb 19, 2023 at 9:43 AM Monah Baki= <monahbaki@gma= il.com> wrote:
Steps that I performed (no luck still)


# freebsd-update install
No updates ar= e available to install.
Run '/usr/sbin/freebsd-update fetch' fir= st.

# freebsd-update fetch
Looking up update.FreeBSD.org mir= rors... 2 mirrors found.
Fetching metadata signature for 12.3-RELEASE fr= om update2.freebsd.org... done.
Fetching metadata index... done.
Insp= ecting system... done.
Preparing to download files...
File changed w= hile FreeBSD Update running: /rescue/zstdmt

# reboot=

# freebsd-update install
No updates are availa= ble to install.
Run '/usr/sbin/freebsd-update fetch' first.
<= /div>

# freebsd-update fetch
Looking up update.FreeBSD.org mirrors..= . 2 mirrors found.
Fetching metadata signature for 12.3-RELEASE from upd= ate1.freebsd.org... done.
Fetching metadata index... done.
Inspecting= system... done.
Preparing to download files... done.

No updates = needed to update system to 12.3-RELEASE-p12.

# fre= ebsd-update upgrade -r 12.4-RELEASE
Looking up update.FreeBSD.org mirrors... 2 mirrors = found.
Fetching metadata signature for 12.3-RELEASE from update2.freebsd= .org... done.
Fetching metadata index... done.
Fetching 1 metadata pa= tches. done.
Applying metadata patches... done.
Fetching 1 metadata f= iles... done.
Inspecting system... done.

The following components= of FreeBSD seem to be installed:
kernel/generic kernel/generic-dbg src/= src world/base world/doc
world/lib32

The following components of = FreeBSD do not seem to be installed:
world/base-dbg world/lib32-dbg
<= br>Does this look reasonable (y/n)? y

Fetching metadata signature fo= r 12.4-RELEASE from update2.freebsd.org... done.
Fetching metadata index= ... done.
Fetching 1 metadata patches. done.
Applying metadata patche= s... done.
Fetching 1 metadata files... done.
Inspecting system...
Fetching files from 12.3-RELEASE for merging... done.
Prepa= ring to download files... Bus error (core dumped)=C2=A0=C2=A0 <<<&= lt;<<<<<<<<<<<<<<<<

= File changed while FreeBSD Update running: /rescue/halt

Thanks

On Sun, Feb 19, 2023 at 9:23 AM Graham Perrin <grahamperrin@fre= ebsd.org> wrote:
=20 =20 =20
On 19/02/2023 13:27, Monah Baki wrote:
$ freebsd-version -kru ; uname -aKU
12.3-RELEASE-p11
12.3-RELEASE-p6
12.3-RELEASE-p12
=E2=80=A6

This is indicative of an incomplete update (distinct from an upgrade).

So:

freebsd-update install

Then, you might like to restart the OS before attempting an upgrade.

--0000000000001f638005f512ec60-- From nobody Mon Feb 20 04:49:18 2023 X-Original-To: questions@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 4PKqlP5Wblz3rtMv for ; Mon, 20 Feb 2023 04:52:01 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from h1.out2.mxs.au (h1.out2.mxs.au [110.232.143.236]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4PKqlP2Qd8z3lkh for ; Mon, 20 Feb 2023 04:52:00 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Authentication-Results: mx1.freebsd.org; none Received: from s121.syd3.hostingplatform.net.au (s121.syd3.hostingplatform.net.au [103.27.34.4]) by out2.mxs.au (Halon) with ESMTPS id 45dd8b05-b0da-11ed-8a38-00163c1ebd60; Mon, 20 Feb 2023 15:51:44 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nimnet.asn.au; s=default; h=Message-ID:From:CC:To:Subject: Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To: Date:Sender:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ZvkrHBMHMhDQpvrsvJptTAzxZYgKvwCOkpX993LDC30=; b=jYW5Vx3tHUfw0s5DzO0pwwZFsT dIHz3zIwynl07rIhbz/KYK/J7DKtQTvuhI5RA7JC0GcfHplFljYPJtCfWxT36fHhEyOWFXAZedseG djHLbx8U6Knh7qoqyLhUiaQGD36IyvRDkbRrmaH/yngG88yJl1cZlTtw3vf1260gkFphI8lia5F7z dS/p2zF9SCe6DXxtG5NrZKd+uryxHEU2N+od7TCvtNsQO+bkBe79OYXCn3pKKCOP0mb+46kO578Wm GP4HjD1jceX0dznjBQ4I2wDarkXWD2AiQOhUKJTHrBcH0YW7DTK1x/Asb1YFqrv/5hHL5jSpCEqGJ VD6LSoTA==; Received: from [1.144.198.110] (port=57384 helo=Galaxy-J5-Pro) by s121.syd3.hostingplatform.net.au with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1pTy8q-000oOS-0l; Mon, 20 Feb 2023 15:51:43 +1100 Date: Mon, 20 Feb 2023 15:49:18 +1100 User-Agent: K-9 Mail for Android In-Reply-To: References: <76a3f542-3756-e3f4-86b7-88b9fba1801a@freebsd.org> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: Upgrade from 12.3 to 12.4 To: Monah Baki ,Graham Perrin CC: questions@freebsd.org From: Ian Smith Message-ID: X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - s121.syd3.hostingplatform.net.au X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - nimnet.asn.au X-Get-Message-Sender-Via: s121.syd3.hostingplatform.net.au: authenticated_id: smithi@nimnet.asn.au X-Authenticated-Sender: s121.syd3.hostingplatform.net.au: smithi@nimnet.asn.au X-Source: X-Source-Args: X-Source-Dir: X-Rspamd-Queue-Id: 4PKqlP2Qd8z3lkh X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:45638, ipnet:110.232.140.0/22, country:AU] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On 20 February 2023 6:54:52 am AEDT, Monah Baki wro= te: > I switch to bash and it worked >=20 > On Sun, Feb 19, 2023 at 9:49 AM Monah Baki > wrote: >=20 > > cat /var/log/messages > > > > kernel: pid 35190 (cut), jid 0, uid 0: exited on signal 10 (core > dumped) [=2E=2E=2E] I can't see one successful run being due to using another shell=2E Smells like semi-random hardware failures to me, from here, based on semi-= random sequence of failures=2E sysutils/stress may expose such issues, among any number of test programs= =2E cheers, Ian From nobody Mon Feb 20 08:59:42 2023 X-Original-To: freebsd-questions@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 4PKxF01PLzz3sDjD for ; Mon, 20 Feb 2023 08:59:32 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (mailserver.netfence.it [78.134.96.152]) (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 (2048 bits) client-digest SHA256) (Client CN "mailserver.netfence.it", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PKxDy6q6Dz4Fhf for ; Mon, 20 Feb 2023 08:59:30 +0000 (UTC) (envelope-from ml@netfence.it) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of ml@netfence.it designates 78.134.96.152 as permitted sender) smtp.mailfrom=ml@netfence.it; dmarc=pass (policy=none) header.from=netfence.it Received: from [192.168.113.67] (martin.centrocontabilebiesse.it [151.69.5.121]) (authenticated bits=0) by soth.netfence.it (8.17.1/8.17.1) with ESMTPSA id 31K8xKGm028816 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Mon, 20 Feb 2023 09:59:20 +0100 (CET) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.netfence.it: Host martin.centrocontabilebiesse.it [151.69.5.121] claimed to be [192.168.113.67] Message-ID: Date: Mon, 20 Feb 2023 09:59:42 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: Upgrading 12.3 + OpenZFS from ports to 13.1 Content-Language: en-US To: Dan Langille Cc: FreeBSD Questions Mailing List References: <1a606ad7-1379-a0b9-c3e5-3d01272a197c@langille.org> <7036e259-cedf-ff79-57cf-f0ac785de10a@netfence.it> <39958d49-ba4b-ef19-b8a9-17d70d67a391@langille.org> From: Andrea Venturoli In-Reply-To: <39958d49-ba4b-ef19-b8a9-17d70d67a391@langille.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.86 X-Spamd-Result: default: False [-3.80 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[netfence.it,none]; R_SPF_ALLOW(-0.20)[+ip4:78.134.96.152]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:35612, ipnet:78.134.0.0/17, country:IT]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_ALL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; HAS_XAW(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4PKxDy6q6Dz4Fhf X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On 2/10/23 16:04, Dan Langille wrote: > Good luck. Let us know. Hello. All went well. The change I described to /boot/loader.conf were enough. bye av. From nobody Tue Feb 21 00:24:41 2023 X-Original-To: freebsd-questions@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 4PLKmb2bqyz3shX7 for ; Tue, 21 Feb 2023 00:24:47 +0000 (UTC) (envelope-from sysadmin.lists@mailfence.com) Received: from mailout-l3b-97.contactoffice.com (mailout-l3b-97.contactoffice.com [212.3.242.97]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4PLKmZ1Dy6z44Zt for ; Tue, 21 Feb 2023 00:24:45 +0000 (UTC) (envelope-from sysadmin.lists@mailfence.com) Authentication-Results: mx1.freebsd.org; dkim=fail ("body hash did not verify") header.d=mailfence.com header.s=20210208-e7xh header.b="J+/KZ+9h"; spf=pass (mx1.freebsd.org: domain of sysadmin.lists@mailfence.com designates 212.3.242.97 as permitted sender) smtp.mailfrom=sysadmin.lists@mailfence.com; dmarc=pass (policy=quarantine) header.from=mailfence.com Received: from fidget.co-bxl (fidget.co-bxl [10.2.0.33]) by mailout-l3b-97.contactoffice.com (Postfix) with ESMTP id 793C5280 for ; Tue, 21 Feb 2023 01:24:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1676939083; s=20210208-e7xh; d=mailfence.com; i=sysadmin.lists@mailfence.com; h=Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:To:Subject:From; l=1835; bh=R/Yorz4vX5LLu76rdPIJ1RcT+qxKqY4HNuIz+fPTMN8=; b=J+/KZ+9hEHUIFLRLqGD97FdrTV+wlABnC6ZgD3iCQC2buqxpkBf6gZj+p2jt9lq0 JNvfNY3spd/g6YlDR3vGsm2H6EdeVvy3wG/FMz/bv8uYLzuuTHxwCionk8yBFZi5m2d OyyrEWg1f7TRuZDpwTwHnZy/GhQ/Wn/nEc2jAfsEffJK4HKQBUUbAtVL42veULCsxGL 6CBzrh/if5ftca2ABfur+unfyDPeUFCUKiVX1GsmAisZJcITIZuTWXqfshsx5GH+0lb eU0BeElhtTEZH/9oGcWaIBb1cS3GW7Ezphg7ulM9qii6WfTY7cWiBP//yurLHhswzF2 EflgfNHU9g== Date: Tue, 21 Feb 2023 01:24:41 +0100 (CET) Message-ID: <1600449078.170379.1676939080787@fidget.co-bxl> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit To: Freebsd Questions Subject: BSD-awk print() Behavior From: Sysadmin Lists X-Mailer: ContactOffice Mail X-ContactOffice-Account: com:312482426 X-Spamd-Result: default: False [-1.87 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.998]; NEURAL_SPAM_LONG(0.93)[0.934]; NEURAL_HAM_MEDIUM(-0.92)[-0.916]; DMARC_POLICY_ALLOW_WITH_FAILURES(-0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:212.3.242.64/26]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[212.3.242.97:from]; XM_UA_NO_VERSION(0.01)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_REJECT(0.00)[mailfence.com:s=20210208-e7xh]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:10753, ipnet:212.3.242.64/26, country:US]; DMARC_POLICY_ALLOW(0.00)[mailfence.com,quarantine]; DKIM_TRACE(0.00)[mailfence.com:-]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4PLKmZ1Dy6z44Zt X-Spamd-Bar: - X-ThisMailContainsUnwantedMimeParts: N Trying to wrap my head around what BSD awk is doing here. Although the behavior is unwanted for this exercise, it seems like a possibly useful feature or hack for future projects. Either way I'd like to understand what's going on. I extracted a list of URLs from my browser's history sql file, and when iterating over the list with awk got some strange results. file_1 has the sql-extracted URLs, and file_2 is a copy-paste of that file's contents using vim's yank-and-paste. $ cat file_{1,2} https://github.com/ https://github.com/ https://github.com/ https://github.com/ $ diff file_{1,2} 1,2c1,2 < https://github.com/ < https://github.com/ --- > https://github.com/ > https://github.com/ $ awk '{ print $0 " abc " }' file_{1,2} abc ://github.com/ abc ://github.com/ https://github.com/ abc https://github.com/ abc The sql-extracted URLs cause awk's print() to replace the front of the string with text following $0. file_2 does not. I used vim's `:set list' option to view hidden chars, but there's no apparent difference between the two -- although `diff' clearly thinks so. Both files show this when `list' is set: https://github.com/$ https://github.com/$ Here's more background if needed: I extracted the URLs using sqlite3 like so: for f in History-16768665* do sqlite3 --bail $f <<-HEREDOC .mode csv .output ${f}.csv select * from urls where url like '%github%'; HEREDOC done Then tried to create a list of unique URLs using `sort -u' but it broke because of special chars in the extracted lines (so it claimed). I used awk to get a unique list instead: for f in *.csv; do [[ -s $f ]] && list="${list} $f"; done; echo $list awk '{ u[$0] } END { for (e in u) print e > "file_1" }' $list -- Sent with https://mailfence.com Secure and private email From nobody Tue Feb 21 01:13:27 2023 X-Original-To: freebsd-questions@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 4PLLrz1Kdcz3skyh for ; Tue, 21 Feb 2023 01:13:39 +0000 (UTC) (envelope-from jguojun@gmail.com) Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PLLry6gNgz49ws for ; Tue, 21 Feb 2023 01:13:38 +0000 (UTC) (envelope-from jguojun@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qt1-x830.google.com with SMTP id w23so3352815qtn.6 for ; Mon, 20 Feb 2023 17:13:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=F3TgEMmbMMq0NJgMOVDScxSkD+t2zaAs41xhnC1bBs0=; b=NVM1FMr1WpKD5vR7sNUosS/hg58Zb/SDUXsz4p2rIUolcbwC2GQM7uImjUN8yij7RD DySPed3oDgc4xblMDsYv/6eZ7zqL4EXIEqqMu4Kh4oiRj4frRcA/JxHhPikuCAKll9iJ FB1dxT1DZUyeZIDoPeSSpE7lIU/JhHzJiSvBgjfv4DUMYESXRvbg011t5M6fRY7BXyoC Ik0zPec33Q/9QBGWcy1N4hA78DQzMp7yGl4lCrvEgIzyuPHTU4yX35/lng4eoUo+KRU/ b3CpXMvgsZKlNfP2ml0xqO5wSGK36cJoRg9RQbmnrnQKOmQMHORqAILdwbO+8SkeYbxI 8B/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=F3TgEMmbMMq0NJgMOVDScxSkD+t2zaAs41xhnC1bBs0=; b=D4UPTy1XmaX8/AGdxAeO1itbjPDX9oSh/W7elBU2qoy64wc5qxaCQkuYYNKgawCB66 jqH1tlleSE0d3s32ZGKX9rF7cBau/UqWxPQ22LJcRCPu0LSyPGI+Ay6lnsmL6DK4yY46 gt+U9jtCplItZX+06hdoFncwo2gfQsY9fRCRwAH00cpfazT0tiNPvA1O8t8UkfR7xUXT g7MweFm8YEDt31hc6VC0+odBjZ4QP+WRTUrv0AutZmMychyKlzW9EkdT9/Qj0JZBqUr+ EKd0UYwEn68qZSO1NTTr9aYD4Fovo+mI5PFng/IWK48230KxJPFhgwElIm0+/kopApmg pRmA== X-Gm-Message-State: AO0yUKWzerWmdUotyq9IKUp3RTELXatZRLIdOux0V8ddJHE3w4b2hNXu 93PAI6weXi+NuES/FTtivS91d6VpsSAxfS0DgA== X-Google-Smtp-Source: AK7set/48X1JulGSlxhI0r4JjgMzV4OJ3IQlwl83DXLKmDqRk3/HG8z7k/SazhzfTk3a+9L2WkmjuEZ6wN/Cf1up1gc= X-Received: by 2002:ac8:4997:0:b0:3bb:92c4:9441 with SMTP id f23-20020ac84997000000b003bb92c49441mr357537qtq.13.1676942018224; Mon, 20 Feb 2023 17:13:38 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <1600449078.170379.1676939080787@fidget.co-bxl> In-Reply-To: <1600449078.170379.1676939080787@fidget.co-bxl> From: jin guojun Date: Mon, 20 Feb 2023 17:13:27 -0800 Message-ID: Subject: Re: BSD-awk print() Behavior To: Sysadmin Lists Cc: Freebsd Questions Content-Type: multipart/alternative; boundary="0000000000004e26ea05f52b7d97" X-Rspamd-Queue-Id: 4PLLry6gNgz49ws X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --0000000000004e26ea05f52b7d97 Content-Type: text/plain; charset="UTF-8" Without knowing what hidden character(s) in those files, how one can guess what happened. hexdump -C file_{1,2} can show what is the real difference, which may help to understand what is going on with awk print. -Jin On Mon, Feb 20, 2023 at 4:25 PM Sysadmin Lists wrote: > Trying to wrap my head around what BSD awk is doing here. Although the > behavior > is unwanted for this exercise, it seems like a possibly useful feature or > hack > for future projects. Either way I'd like to understand what's going on. > > I extracted a list of URLs from my browser's history sql file, and when > iterating over the list with awk got some strange results. > > file_1 has the sql-extracted URLs, and file_2 is a copy-paste of that > file's > contents using vim's yank-and-paste. > > $ cat file_{1,2} > https://github.com/ > https://github.com/ > https://github.com/ > https://github.com/ > > $ diff file_{1,2} > 1,2c1,2 > < https://github.com/ > < https://github.com/ > --- > > https://github.com/ > > https://github.com/ > > $ awk '{ print $0 " abc " }' file_{1,2} > abc ://github.com/ > abc ://github.com/ > https://github.com/ abc > https://github.com/ abc > > The sql-extracted URLs cause awk's print() to replace the front of the > string > with text following $0. file_2 does not. I used vim's `:set list' option to > view hidden chars, but there's no apparent difference between the two -- > although `diff' clearly thinks so. Both files show this when `list' is set: > > https://github.com/$ > https://github.com/$ > > > Here's more background if needed: > > I extracted the URLs using sqlite3 like so: > for f in History-16768665* > do > sqlite3 --bail $f <<-HEREDOC > .mode csv > .output ${f}.csv > select * from urls where url like '%github%'; > HEREDOC > done > > Then tried to create a list of unique URLs using `sort -u' but it broke > because > of special chars in the extracted lines (so it claimed). I used awk to get > a > unique list instead: > > for f in *.csv; do [[ -s $f ]] && list="${list} $f"; done; echo $list > awk '{ u[$0] } END { for (e in u) print e > "file_1" }' $list > > -- > Sent with https://mailfence.com > Secure and private email > > --0000000000004e26ea05f52b7d97 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Without knowing what hidden character(s) in those fil= es, how one can guess what happened.

hexdump -C fi= le_{1,2} can show what is the real difference, which may help to understand= what is going on with awk print.

-Jin

On= Mon, Feb 20, 2023 at 4:25 PM Sysadmin Lists <sysadmin.lists@mailfence.com> wrote:
=
Trying to wrap my head ar= ound what BSD awk is doing here. Although the behavior
is unwanted for this exercise, it seems like a possibly useful feature or h= ack
for future projects. Either way I'd like to understand what's going= on.

I extracted a list of URLs from my browser's history sql file, and when=
iterating over the list with awk got some strange results.

file_1 has the sql-extracted URLs, and file_2 is a copy-paste of that file&= #39;s
contents using vim's yank-and-paste.

$ cat file_{1,2}
https:= //github.com/
https:= //github.com/
https:= //github.com/
https:= //github.com/

$ diff file_{1,2}=C2=A0
1,2c1,2
< h= ttps://github.com/
< h= ttps://github.com/
---
> h= ttps://github.com/
> h= ttps://github.com/

$ awk '{ print $0 " abc " }' file_{1,2}=C2=A0
=C2=A0abc ://github.com/
=C2=A0abc ://github.com/
https:= //github.com/ abc
https:= //github.com/ abc

The sql-extracted URLs cause awk's print() to replace the front of the = string
with text following $0. file_2 does not. I used vim's `:set list' o= ption to
view hidden chars, but there's no apparent difference between the two -= -
although `diff' clearly thinks so. Both files show this when `list'= is set:

https= ://github.com/$
https= ://github.com/$


Here's more background if needed:

I extracted the URLs using sqlite3 like so:
for f in History-16768665*
do
=C2=A0 =C2=A0 =C2=A0 =C2=A0 sqlite3 --bail $f <<-HEREDOC
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 .mode csv
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 .output ${f}.csv =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 select * from urls = where url like '%github%';
HEREDOC
done

Then tried to create a list of unique URLs using `sort -u' but it broke= because
of special chars in the extracted lines (so it claimed). I used awk to get = a
unique list instead:

for f in *.csv; do [[ -s $f ]] && list=3D"${list} $f"; do= ne; echo $list
awk '{ u[$0] } END { for (e in u) print e > "file_1" }'= ; $list

--
Sent with https://mailfence.com=C2=A0
Secure and private email

--0000000000004e26ea05f52b7d97-- From nobody Tue Feb 21 10:14:21 2023 X-Original-To: freebsd-questions@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 4PLZs53R8Kz3s89D for ; Tue, 21 Feb 2023 10:14:33 +0000 (UTC) (envelope-from andreas.kahari@abc.se) Received: from hekla.abc.se (hekla.abc.se [158.174.61.227]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PLZs46VQcz3wxH for ; Tue, 21 Feb 2023 10:14:32 +0000 (UTC) (envelope-from andreas.kahari@abc.se) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=default; bh=xwV/Yxv52v K5aMA+7i0x3WUhOGgVkqw1KGYx+whuSDI=; h=in-reply-to:references:subject: cc:to:from:date; d=abc.se; b=ng2ocvSo9cRFNxINPkMapU6eMMsz0rY17re9LuVbM kX/W5JyRwWV2yX5XeUdgi30vEjUYx/1dI1Wv9Dfdn1pH6xij35uv0T/z28gYx0UcpYHLF3 mCZmYKUzdC3zb5PkPqnOgZGdG0Gma+S10DtSXexlW3xBGobz3QB8RX33o3R3gD4IYQhYfX eT2GWlny+P8Ei810EqSufUyxHbgV4iAoyGcXT0qO2IB1xws6+b2jHMIT+lZKbKIoQYJq8a CGEuJwoRTWWf5OqsVvdMmE+XeC8cAMa3taiYGCrj5iQ1qSkgeXrqnoijtVmYziiDhEI5Yg ADwOJirxaLkGhf9g9QS0w== Received: from harpo.local (83-233-144-161.cust.bredband2.com [83.233.144.161]) by hekla.abc.se (OpenSMTPD) with ESMTPSA id b8b404a7 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 21 Feb 2023 11:14:23 +0100 (CET) Date: Tue, 21 Feb 2023 11:14:21 +0100 From: Andreas Kusalananda =?utf-8?B?S8OkaMOkcmk=?= To: Sysadmin Lists Cc: Freebsd Questions Subject: Re: BSD-awk print() Behavior Message-ID: Mail-Followup-To: Sysadmin Lists , Freebsd Questions References: <1600449078.170379.1676939080787@fidget.co-bxl> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1600449078.170379.1676939080787@fidget.co-bxl> X-Rspamd-Queue-Id: 4PLZs46VQcz3wxH X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8473, ipnet:158.174.0.0/16, country:SE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Tue, Feb 21, 2023 at 01:24:41AM +0100, Sysadmin Lists wrote: > Trying to wrap my head around what BSD awk is doing here. Although the behavior > is unwanted for this exercise, it seems like a possibly useful feature or hack > for future projects. Either way I'd like to understand what's going on. > > I extracted a list of URLs from my browser's history sql file, and when > iterating over the list with awk got some strange results. > > file_1 has the sql-extracted URLs, and file_2 is a copy-paste of that file's > contents using vim's yank-and-paste. > > $ cat file_{1,2} > https://github.com/ > https://github.com/ > https://github.com/ > https://github.com/ > > $ diff file_{1,2} > 1,2c1,2 > < https://github.com/ > < https://github.com/ > --- > > https://github.com/ > > https://github.com/ > > $ awk '{ print $0 " abc " }' file_{1,2} > abc ://github.com/ > abc ://github.com/ > https://github.com/ abc > https://github.com/ abc file_1 is a DOS text file, while file_2 is a Unix text file. The DOS text file, when interpreted by tools expecting Unix text, has an extra carriage-return character at the end of each line. This carriage-return character will be part of $0 in the awk code and causes the cursor to be moved back to the start of the line when printing it, giving the effect that you are seeing. This has nothing to do with awk's print keyword. You would get similar strange result if you simply pasted the data side by side: $ paste file_{1,2} https://https://github.com/ https://https://github.com/ Here, "https://github.com/" is first printed from the DOS text file, after which the cursor is returned to the start of the line. Then, paste inserts a tab character which "steps over" the eight first characters that had already been outputted ("https://") and then outputs "https://github.com/" from the Unix text file. > > The sql-extracted URLs cause awk's print() to replace the front of the string > with text following $0. file_2 does not. I used vim's `:set list' option to > view hidden chars, but there's no apparent difference between the two -- > although `diff' clearly thinks so. Both files show this when `list' is set: > > https://github.com/$ > https://github.com/$ Yes, because Vim automatically interprets DOS text files as ordinary text. I'm asssuming that while editing file_1 in Vim, you see "[dos]" at the bottom of the screen? > > > Here's more background if needed: [cut] -- Andreas (Kusalananda) Kähäri SciLifeLab, NBIS, ICM Uppsala University, Sweden . From nobody Tue Feb 21 11:43:20 2023 X-Original-To: freebsd-questions@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 4PLcqf5Wfrz3sG46 for ; Tue, 21 Feb 2023 11:43:26 +0000 (UTC) (envelope-from sysadmin.lists@mailfence.com) Received: from wilbur.contactoffice.com (wilbur.contactoffice.com [212.3.242.68]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4PLcqf1Pfjz44yT for ; Tue, 21 Feb 2023 11:43:26 +0000 (UTC) (envelope-from sysadmin.lists@mailfence.com) Authentication-Results: mx1.freebsd.org; none Received: from ichabod.co-bxl (ichabod.co-bxl [10.2.0.36]) by wilbur.contactoffice.com (Postfix) with ESMTP id 26A5D185F; Tue, 21 Feb 2023 12:43:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1676979803; s=20210208-e7xh; d=mailfence.com; i=sysadmin.lists@mailfence.com; h=Date:From:To:Cc:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type; l=5114; bh=MEucZMW+GE9u8J6zK0s4s1gttUgLs4NlMpDVynLpL0g=; b=ecWDtw58Ko6tQIPEDhKHNjFGXHqz2z5d2QuIpXkCFph9LnkW56PSVoGli1BKa3ci hfrUs2XWUuCaYVlt6+3NPyN7CSmt9QFKCP4/PMeLyrvsuuVnFyQnehEyEp7T0J69cNY 1aAkd++4oxlT3i5G1XVz1GjZSzQvMzCj6heXGUQPzK9K1HJ2fwcIKWEdOEWod5Tzod4 qgTKwUDnRs+ROR2g1oMwUXugmI9etAUmow2tG2RFY79i0gGn7DrWhe6cETwcj9XakKK 1F3oULkc4fl7XEP4sFOWfg2i9tCMVsBjfuJasgGkXpTz0xfTk3ZMLP6+0VjQ3kyTUFz bgIA1LNXKg== Date: Tue, 21 Feb 2023 12:43:20 +0100 (CET) From: Sysadmin Lists To: Freebsd Questions Cc: jin guojun Message-ID: <1141880522.223846.1676979800157@ichabod.co-bxl> In-Reply-To: References: <1600449078.170379.1676939080787@fidget.co-bxl> Subject: Re: BSD-awk print() Behavior List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_223843_1098578769.1676979800156" X-Mailer: ContactOffice Mail X-ContactOffice-Account: com:312482426 X-Rspamd-Queue-Id: 4PLcqf1Pfjz44yT X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:10753, ipnet:212.3.242.64/26, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N ------=_Part_223843_1098578769.1676979800156 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Feb 20, 2023 at 5:13 PM, jin guojun wrote: Without knowing what hidden character(s) in those files, how one can guess = what happened. hexdump -C file_{1,2} can show what is the real difference, which may help = to understand what is going on with awk print. -Jin On Mon, Feb 20, 2023 at 4:25 PM Sysadmin Lists wrote: $ diff file_{1,2}=C2=A0=20 1,2c1,2 < https://github.com/ < https://github.com/ --- > https://github.com/ > https://github.com/ $ awk '{ print $0 " abc " }' file_{1,2}=C2=A0=20 =C2=A0abc ://github.com/ =C2=A0abc ://github.com/ https://github.com/ abc=20 https://github.com/ abc Thanks. I found the answer already, but this would also have lead me in the right direction, too. It shows a difference (single trailing dot verses double-dot) for the two f= iles: $ hexdump -C file_{1,2}=C2=A0 00000000=C2=A0 68 74 74 70 73 3a 2f 2f=C2=A0 67 69 74 68 75 62 2e 63=C2=A0 = |https://github.c| 00000010=C2=A0 6f 6d 2f 0d 0a 68 74 74=C2=A0 70 73 3a 2f 2f 67 69 74=C2=A0 = |om/..https://git| 00000020=C2=A0 68 75 62 2e 63 6f 6d 2f=C2=A0 0d 0a 68 74 74 70 73 3a=C2=A0 = |hub.com/..https:| 00000030=C2=A0 2f 2f 67 69 74 68 75 62=C2=A0 2e 63 6f 6d 2f 0a 68 74=C2=A0 = |//github.com/.ht| 00000040=C2=A0 74 70 73 3a 2f 2f 67 69=C2=A0 74 68 75 62 2e 63 6f 6d=C2=A0 = |tps://github.com| 00000050=C2=A0 2f 0a=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|/.| 00000052 -- Sent with https://mailfence.com Secure and private email ------=_Part_223843_1098578769.1676979800156 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
=
On Feb 20, 2023 at 5:13 PM, jin guojun <jguojun@gmail.com> wrote= :
">
Without knowing what = hidden character(s) in those files, how one can guess what happened.
<= div>
hexdump -C file_{1,2} can show what is the real differen= ce, which may help to understand what is going on with awk print.

-Jin

On Mon, Feb 20, 2023 at 4:25 PM Sysadmin Lists <sysadmin.lists@mailfence.com> wrote= :

$ diff file_{1,2} 
1,2c1,2
< h= ttps://github.com/
< h= ttps://github.com/
---
> h= ttps://github.com/
> h= ttps://github.com/

$ awk '{ print $0 " abc " }' file_{1,2} 
 abc ://github.com/
 abc ://github.com/
https:= //github.com/ abc
https:= //github.com/ abc


Thanks. I foun= d the answer already, but this would also have lead me in the
rig= ht direction, too.

It shows a difference (single t= railing dot verses double-dot) for the two files:
$ hexdump -C file_{1,2} 
00000000  68 = 74 74 70 73 3a 2f 2f  67 69 74 68 75 62 2e 63  |https://github.c|=
00000010  6f 6d 2f 0d 0a 68 74 74  70 73 3a 2f 2f 67 6= 9 74  |om/..https://git|
00000020  68 75 62 2e 63 6f 6d= 2f  0d 0a 68 74 74 70 73 3a  |hub.com/..https:|
000000= 30  2f 2f 67 69 74 68 75 62  2e 63 6f 6d 2f 0a 68 74  |//git= hub.com/.ht|
00000040  74 70 73 3a 2f 2f 67 69  74 68 7= 5 62 2e 63 6f 6d  |tps://github.com|
00000050  2f 0a&nb= sp;                     &= nbsp;                    =  |/.|
00000052
--=20 Sent with https://mailfence.com =20 Secure and private email ------=_Part_223843_1098578769.1676979800156-- From nobody Tue Feb 21 11:53:14 2023 X-Original-To: freebsd-questions@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 4PLd33031fz3sGgr for ; Tue, 21 Feb 2023 11:53:19 +0000 (UTC) (envelope-from sysadmin.lists@mailfence.com) Received: from mailout-l3b-97.contactoffice.com (mailout-l3b-97.contactoffice.com [212.3.242.97]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4PLd324vYpz46PR for ; Tue, 21 Feb 2023 11:53:18 +0000 (UTC) (envelope-from sysadmin.lists@mailfence.com) Authentication-Results: mx1.freebsd.org; none Received: from ichabod.co-bxl (ichabod.co-bxl [10.2.0.36]) by mailout-l3b-97.contactoffice.com (Postfix) with ESMTP id 2818A9A5; Tue, 21 Feb 2023 12:53:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1676980397; s=20210208-e7xh; d=mailfence.com; i=sysadmin.lists@mailfence.com; h=Date:From:To:Cc:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; l=2996; bh=Q+EjNKtMvqCGjMk6wpJp/xUo68vHCZ8i0ivskGl0lBA=; b=jq5m5LLF1KyeVktyTLfjIvWgV5f0MJoicZWi8TbUJSYqcBLm/LXjbJdS1Z8VDcyY 5Wjsew8MIaTwcbGtsYpWCLgNeSlyxsL6p35BL1mBXnNGVlY0JjRTfv64Ox+kgn6V/D7 jT/R50HaqnbzoOs5dLcPDYva/kqC1JlacgiknGxhSkMkHDu3uDCYlxRGmceK6oLWFcU ScUwl0O2q6ISIdJ5efwhT+DhlSA0ImcoNtN6lyN/2Nb8yp9HqLd4+wSyWDDs/i71FJi coO6JrljhPjVj8kZvTWb7P+7VF/jRduGZafxnpw3xbFnXWvf3tqUdGnMeDCvJyXsDYq 1UrCdAAbFw== Date: Tue, 21 Feb 2023 12:53:14 +0100 (CET) From: Sysadmin Lists To: Freebsd Questions Cc: =?utf-8?Q?Andreas_Kusalananda_K=C3=A4h=C3=A4ri?= Message-ID: <1653727721.225143.1676980394881@ichabod.co-bxl> In-Reply-To: References: <1600449078.170379.1676939080787@fidget.co-bxl> Subject: Re: BSD-awk print() Behavior List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Mailer: ContactOffice Mail X-ContactOffice-Account: com:312482426 X-Rspamd-Queue-Id: 4PLd324vYpz46PR X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:10753, ipnet:212.3.242.64/26, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N > ---------------------------------------- > From: Andreas Kusalananda K=C3=A4h=C3=A4ri > Date: Feb 21, 2023, 2:14:21 AM > To: Sysadmin Lists > Cc: Freebsd Questions > Subject: Re: BSD-awk print() Behavior >=20 >=20 > On Tue, Feb 21, 2023 at 01:24:41AM +0100, Sysadmin Lists wrote: > > > > $ cat file_{1,2} > > https://github.com/ > > https://github.com/ > > https://github.com/ > > https://github.com/ > >=20 > > $ diff file_{1,2} =20 > > 1,2c1,2 > > < https://github.com/ > > < https://github.com/ > > --- > > > https://github.com/ > > > https://github.com/ > >=20 > > $ awk '{ print $0 " abc " }' file_{1,2} =20 > > abc ://github.com/ > > abc ://github.com/ > > https://github.com/ abc=20 > > https://github.com/ abc=20 >=20 > file_1 is a DOS text file, while file_2 is a Unix text file. The DOS > text file, when interpreted by tools expecting Unix text, has an extra > carriage-return character at the end of each line. This carriage-return > character will be part of $0 in the awk code and causes the cursor to be > moved back to the start of the line when printing it, giving the effect > that you are seeing. >=20 > This has nothing to do with awk's print keyword. You would get similar > strange result if you simply pasted the data side by side: >=20 > =09$ paste file_{1,2} > =09https://https://github.com/ > =09https://https://github.com/ >=20 > Here, "https://github.com/" is first printed from the DOS text file, > after which the cursor is returned to the start of the line. Then, > paste inserts a tab character which "steps over" the eight first > characters that had already been outputted ("https://") and then outputs > "https://github.com/" from the Unix text file. >=20 >=20 > >=20 > > The sql-extracted URLs cause awk's print() to replace the front of the = string > > with text following $0. file_2 does not. I used vim's `:set list' optio= n to > > view hidden chars, but there's no apparent difference between the two -= - > > although `diff' clearly thinks so. Both files show this when `list' is = set: > >=20 > > https://github.com/$ > > https://github.com/$ >=20 > Yes, because Vim automatically interprets DOS text files as ordinary > text. I'm asssuming that while editing file_1 in Vim, you see "[dos]" > at the bottom of the screen? >=20 >=20 Good explanation. I found the hidden character before reading your email us= ing `cat -e' which printed the ^M character, but didn't know awk could move the cursor around like that. Sounds like a useful (and dangerous) hack. $ cat -e file_{1,2}=20 https://github.com/^M$ https://github.com/^M$ https://github.com/$ https://github.com/$ vim does indeed say [dos] at the bottom of file_1. Now I know sqlite3 creat= es dos files even on unix-like systems. Thank you both. --=20 Sent with https://mailfence.com =20 Secure and private email From nobody Tue Feb 21 11:57:25 2023 X-Original-To: freebsd-questions@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 4PLd7s6hQ9z3sGlH for ; Tue, 21 Feb 2023 11:57:29 +0000 (UTC) (envelope-from andreas.kahari@abc.se) Received: from hekla.abc.se (hekla.abc.se [158.174.61.227]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PLd7s247Wz47c9 for ; Tue, 21 Feb 2023 11:57:29 +0000 (UTC) (envelope-from andreas.kahari@abc.se) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=default; bh=X5PMNMusz4 nSnCNpfn7blk1EW0Klgm/detLDyT6Wksk=; h=in-reply-to:references:subject: cc:to:from:date; d=abc.se; b=PGiS6tQS6zArH27GB/KwHNyRm+on27kHLt3iS5z1+ rqJb9iKgUuk0iyNvDOhg6ZRJdDx6fNmzDazHIrBqTiQUYt/vlsFxUX1mB4e7QJwy7ZOWjt bGkyzR1Y+IhW1Y2fqljIUpr4Swyssu3KZNgF9crBnP3BDjyFL8DLEedUrRneaCcT8YxR+G a/ATKCDYrOdimN2szZgKd1wBbof3pgmu1JA7r4PkXtiMtyEQb09OmIah7Nb/LWl4/uImg2 WrY1lwwqe7moCDal1L295QDsqwjAOnjoI0WsBndnuztl50SyphT+QqxTxJOK8tQay8jDDa ksaFHtXkpFI05NtwJn9nQ== Received: from harpo.local (83-233-144-161.cust.bredband2.com [83.233.144.161]) by hekla.abc.se (OpenSMTPD) with ESMTPSA id 6c50c848 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 21 Feb 2023 12:57:26 +0100 (CET) Date: Tue, 21 Feb 2023 12:57:25 +0100 From: Andreas Kusalananda =?utf-8?B?S8OkaMOkcmk=?= To: Sysadmin Lists Cc: Freebsd Questions Subject: Re: BSD-awk print() Behavior Message-ID: Mail-Followup-To: Sysadmin Lists , Freebsd Questions References: <1600449078.170379.1676939080787@fidget.co-bxl> <1653727721.225143.1676980394881@ichabod.co-bxl> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1653727721.225143.1676980394881@ichabod.co-bxl> X-Rspamd-Queue-Id: 4PLd7s247Wz47c9 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8473, ipnet:158.174.0.0/16, country:SE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Tue, Feb 21, 2023 at 12:53:14PM +0100, Sysadmin Lists wrote: > > ---------------------------------------- > > From: Andreas Kusalananda Kähäri > > Date: Feb 21, 2023, 2:14:21 AM > > To: Sysadmin Lists > > Cc: Freebsd Questions > > Subject: Re: BSD-awk print() Behavior > > > > > > On Tue, Feb 21, 2023 at 01:24:41AM +0100, Sysadmin Lists wrote: [cut] > > Yes, because Vim automatically interprets DOS text files as ordinary > > text. I'm asssuming that while editing file_1 in Vim, you see "[dos]" > > at the bottom of the screen? > > > > > > Good explanation. I found the hidden character before reading your email using > `cat -e' which printed the ^M character, but didn't know awk could move the > cursor around like that. Sounds like a useful (and dangerous) hack. > > $ cat -e file_{1,2} > https://github.com/^M$ > https://github.com/^M$ > https://github.com/$ > https://github.com/$ > > vim does indeed say [dos] at the bottom of file_1. Now I know sqlite3 creates > dos files even on unix-like systems. I'm guessing that if you look in your database, the data there is inserted with carriage-returns at the end of the strings. It's not sqlite3 that creates DOS files, it's just giving you what was inserted into the tables. If you want to track down where the carriage-returns came from originally, you have to search further upstream. -- Andreas (Kusalananda) Kähäri SciLifeLab, NBIS, ICM Uppsala University, Sweden . From nobody Tue Feb 21 12:06:04 2023 X-Original-To: freebsd-questions@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 4PLdKr6kd2z3sGnt for ; Tue, 21 Feb 2023 12:06:08 +0000 (UTC) (envelope-from sysadmin.lists@mailfence.com) Received: from wilbur.contactoffice.com (wilbur.contactoffice.com [212.3.242.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PLdKr4G0gz49m3 for ; Tue, 21 Feb 2023 12:06:08 +0000 (UTC) (envelope-from sysadmin.lists@mailfence.com) Authentication-Results: mx1.freebsd.org; none Received: from ichabod.co-bxl (ichabod.co-bxl [10.2.0.36]) by wilbur.contactoffice.com (Postfix) with ESMTP id 78C221B74; Tue, 21 Feb 2023 13:06:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1676981167; s=20210208-e7xh; d=mailfence.com; i=sysadmin.lists@mailfence.com; h=Date:From:To:Cc:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; l=2461; bh=5/eXfBFLIbw+3KKf/4JKo6+qVy8kUnGuSdDzN2G8BL8=; b=jzNisEj9TTaJG+1Z//3AxSObX6CsNS8hyj+hxvBlP6jZHgnYiPWtwAQdyxFoHLtB KlEUTei45v7j9uWVi1fDBhbuXoOMUuItKOux5d9udZeQxwGuFI1cpurbbMFG8821PsJ 402UjV+UbgobUo2oCCk4EkaoKxLwKVPz4GmPmFgFTCv2tOocX7Aw9GqjEHStz2gkxYI ZfPowNyjo1s23+ts6dzgTu3zPpw/PxBInLTmORrQqTCeL8AGUCcKYfu8/+g0DxqMe46 W6Sz9uhXg+bcC2ad/lbO62gdImGLxiU8+xhwvZG453u0TtQ5DOeA6Rdsiob5F14yDzo f6dR6pN6mg== Date: Tue, 21 Feb 2023 13:06:04 +0100 (CET) From: Sysadmin Lists To: Freebsd Questions Cc: =?utf-8?Q?Andreas_Kusalananda_K=C3=A4h=C3=A4ri?= Message-ID: <1200764932.226141.1676981164445@ichabod.co-bxl> In-Reply-To: References: <1600449078.170379.1676939080787@fidget.co-bxl> <1653727721.225143.1676980394881@ichabod.co-bxl> Subject: Re: BSD-awk print() Behavior List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Mailer: ContactOffice Mail X-ContactOffice-Account: com:312482426 X-Rspamd-Queue-Id: 4PLdKr4G0gz49m3 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:10753, ipnet:212.3.242.64/26, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N > ---------------------------------------- > From: Andreas Kusalananda K=C3=A4h=C3=A4ri > Date: Feb 21, 2023, 3:57:25 AM > To: Sysadmin Lists > Cc: Freebsd Questions > Subject: Re: BSD-awk print() Behavior >=20 >=20 > On Tue, Feb 21, 2023 at 12:53:14PM +0100, Sysadmin Lists wrote: > > > ---------------------------------------- > > > From: Andreas Kusalananda K=C3=A4h=C3=A4ri > > > Date: Feb 21, 2023, 2:14:21 AM > > > To: Sysadmin Lists > > > Cc: Freebsd Questions > > > Subject: Re: BSD-awk print() Behavior > > >=20 > > >=20 > > > On Tue, Feb 21, 2023 at 01:24:41AM +0100, Sysadmin Lists wrote: > [cut] > > > Yes, because Vim automatically interprets DOS text files as ordinary > > > text. I'm asssuming that while editing file_1 in Vim, you see "[dos]= " > > > at the bottom of the screen? > > >=20 > > >=20 > >=20 > > Good explanation. I found the hidden character before reading your emai= l using > > `cat -e' which printed the ^M character, but didn't know awk could move= the > > cursor around like that. Sounds like a useful (and dangerous) hack. > >=20 > > $ cat -e file_{1,2}=20 > > https://github.com/^M$ > > https://github.com/^M$ > > https://github.com/$ > > https://github.com/$ > >=20 > > vim does indeed say [dos] at the bottom of file_1. Now I know sqlite3 c= reates > > dos files even on unix-like systems. >=20 > I'm guessing that if you look in your database, the data there is > inserted with carriage-returns at the end of the strings. It's not > sqlite3 that creates DOS files, it's just giving you what was inserted > into the tables. If you want to track down where the carriage-returns > came from originally, you have to search further upstream. >=20 Nope, I'm good. This was just a one-off task I needed to perform. I managed= to complete it using yank-and-paste in vim, but wouldn't have been able to mentally move on without knowing what was "breaking" in awk. Turns out it wasn't awk, and I learned a few new tricks tracking this issue down -- whic= h is what makes this kind of work fun. Thanks again for the help. (Now that I think of it, the carriage-returns are inserted by the web brows= er=20 of course.) --=20 Sent with https://mailfence.com =20 Secure and private email From nobody Wed Feb 22 01:18:01 2023 X-Original-To: questions@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 4PLyvc1w7wz3tl8C for ; Wed, 22 Feb 2023 01:18:04 +0000 (UTC) (envelope-from grarpamp@gmail.com) Received: from mail-vs1-xe31.google.com (mail-vs1-xe31.google.com [IPv6:2607:f8b0:4864:20::e31]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PLyvb1tSTz3HXF for ; Wed, 22 Feb 2023 01:18:03 +0000 (UTC) (envelope-from grarpamp@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=KY6QlCvE; spf=pass (mx1.freebsd.org: domain of grarpamp@gmail.com designates 2607:f8b0:4864:20::e31 as permitted sender) smtp.mailfrom=grarpamp@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-vs1-xe31.google.com with SMTP id d7so1066249vsj.2 for ; Tue, 21 Feb 2023 17:18:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677028682; h=to:subject:message-id:date:from:references:in-reply-to:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=8aXImm+tnCjF1aMAzs3iRKxHjYBTM/3c6OV0EBYy3RQ=; b=KY6QlCvEWLjavjz18MI47MM71EvsZ2FPCmjq+idZbgXSN7D4EToUg/oeSS1t4RkQUR IuW+E8cJKGL8QvTKH3qLLh/mJQq/UjsSUj078dfcy57pMWfX2J7uHjzYEl7RtTgeHmGk BYVIS/MDlyYbYT/WEVIZZq70gP3ohz+nUcFVzU5UfUMjeQ3NQOG1yB7lYChwaONrC0Wm rjjzG/O6fy94e853/Cs/m6sU9NtyLY4u1IpYtxrTF06TX+DVv4gTws9vMn5lA1poqF2T iH4f1172cYti23oXY8cSkmvDcjUUEUzZeRigLsDw7ZcI5qToO9Xq4sfbYV/ovKezEkIq uXNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677028682; h=to:subject:message-id:date:from:references:in-reply-to:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8aXImm+tnCjF1aMAzs3iRKxHjYBTM/3c6OV0EBYy3RQ=; b=TdXdEdwmQ/++syCpiFMkb5XFAtb4cqgaCZ8xjCTGzKCd1ozE21t3HJ4kPYIm1OGPvf LNwhPIzctppID7FRJyfKv7kZNYPj9k5YD9SXKt6l4NYJM52PqOPVTQb4nQPwqp3RiCFQ L6HZ2WrNCM4vagQQmN7vIBj0FyQXb6yMYZkYl2PCgtz66cp5DgRsZNPyQXvxl3YCE3hi +FMXG22RQUsi7sUBOiTk1ePFGcZx+vrIP7MY4+1shGnmwF1j7DACEeceAOkCZ658cPpV 5cSsT5OlzsiGNqCdowEnVL9Gp2HVPBh14LxIHvHk4sPcLLCzBr2W1h94a7mik/ys4SD+ s+uA== X-Gm-Message-State: AO0yUKVYHxVWhiziEW0xVo4Q/jFB69KdrY5sROXoUzp11RtGsC68weJL OlX6sP87OGYgmOXurfhGSHK8T+oPwqqAnNaZim7LL+GW8dr1Awhc X-Google-Smtp-Source: AK7set/EfH9JSWPXqSZPsUdaiWXHmYToyYCBUTzdZa5CK1tFI3n+nAdS6YV4kaaKzpT+v36ZM8c3mTx+b3lVTG/V3H8= X-Received: by 2002:a05:6102:38d4:b0:3f0:89e1:7c80 with SMTP id k20-20020a05610238d400b003f089e17c80mr1218079vst.72.1677028682325; Tue, 21 Feb 2023 17:18:02 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Received: by 2002:a59:5502:0:b0:3aa:5eff:b75d with HTTP; Tue, 21 Feb 2023 17:18:01 -0800 (PST) In-Reply-To: <07d5075f-b5f6-54f7-170e-179862cf1f26@freebsd.org> References: <20230218105114.GA2156@localhost.org> <07d5075f-b5f6-54f7-170e-179862cf1f26@freebsd.org> From: grarpamp Date: Tue, 21 Feb 2023 20:18:01 -0500 Message-ID: Subject: Re: no freebsd mailarchive for 2022? To: questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Spamd-Result: default: False [-2.22 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; NEURAL_HAM_SHORT(-0.97)[-0.967]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_LONG(-0.26)[-0.255]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::e31:from]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; DKIM_TRACE(0.00)[gmail.com:+]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MLMMJ_DEST(0.00)[questions@freebsd.org] X-Rspamd-Queue-Id: 4PLyvb1tSTz3HXF X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N Does this still work for you... rsync -nHaxi bit0.us-west.freebsd.org::FreeBSD-mailarchive/ FreeBSD should always maintain raw unadulterated copies of all its mail there, a more or less direct secure independent deposit from its delivery mailer daemon, hopefully prior to being mangled by the 'website browser' archive tools. Though the 'logrotate' style file-splitting there is still broken and needs fixed regarding a number of ever growing files in that repo, and there are some corrupt files. With some script, you can import the archives into your mail client, you can search them to see if your questions or bugs were noted before, or just read them to catch up on FreeBSD. Cheers all :) -- https://www.youtube.com/watch?v=xWAwK2fHArc https://www.youtube.com/watch?v=_U3lEc-IFr8 https://duckduckgo.com/?ia=videos&iax=videos&q=voluntaryism https://odysee.com/@Anarchast:2 https://bitchute.com/ || https://rumble.com/ https://twitter.com/NameRedacted247 From nobody Wed Feb 22 13:39:24 2023 X-Original-To: questions@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 4PMHMH37Bwz3t1YR for ; Wed, 22 Feb 2023 13:39:39 +0000 (UTC) (envelope-from nicolasgoldman07@gmail.com) Received: from mail-oa1-x2f.google.com (mail-oa1-x2f.google.com [IPv6:2001:4860:4864:20::2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PMHMG2X4Yz3hZ2 for ; Wed, 22 Feb 2023 13:39:38 +0000 (UTC) (envelope-from nicolasgoldman07@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=XbZZCC88; spf=pass (mx1.freebsd.org: domain of nicolasgoldman07@gmail.com designates 2001:4860:4864:20::2f as permitted sender) smtp.mailfrom=nicolasgoldman07@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-oa1-x2f.google.com with SMTP id 586e51a60fabf-1722c48a773so6640046fac.2 for ; Wed, 22 Feb 2023 05:39:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:date:message-id:subject:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=yKZg7YmLrV/HJkaxfR44pa2QzFypzb/jCRMzJmVdcl4=; b=XbZZCC88QX46qp//K3An/oS5dlyAnDRVJ32DSpq1A/AUalyPB/9TAvgM5Be3H9xIxt zouZ4fgfPLi4tuxzsSPBWbSVk77VnwQpi5fz/aipZHwzUVyKoQwuiiy2yxl6Zmiv+BVV dN1ArRlOAtvumEj5rEWVpUblLO26lzDPp25W6yZ/90tx+5YDCZe0x6A5HU9WczL3JvFR ABQAmsi2BAJUiVx9kf4yTe7xzpk+ToMMTZ5gMJ9MTHTqo5fSsMYJ2DV2fXz7kKCZI0i9 ro6AbbnfTcN9YQgjvEEexTMk2ZADDe6QGDxXs2DgnM4ab16RQDNzjUN1jozk4y1VTha6 7xyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:date:message-id:subject:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=yKZg7YmLrV/HJkaxfR44pa2QzFypzb/jCRMzJmVdcl4=; b=10C3l6eFsw/EjN8npahJgIHH1pHFCj5qtpEfotqL1G40zZ4EY8Sg/w9DgNkfDMOm2n tZil8SI/ti9F8hTWH5CAeEewWKtmB/1pWg9YksknK3jhieSh17XVayTjlgjfcH0UqX9t YpUPb53qJKiWgUwy+szbMqQgu0LeBJ9CHFAG4nmh3UUwwtlKoduoMDuUeVMKrFSiwWW4 N3ySzXrB3GVECHea2lgMvgUXYnst3/rAg5RxNcSJZitl47LW8WNf2oN+/1STa7uPPDGo Psug0WZrK5c1NiFfKIfFq1Aw/Mz5QSjlpm9/4fM1Vv7jDwejYk0XHSRGWGU4b5kOP8Iy YbKw== X-Gm-Message-State: AO0yUKVM9Vm2w6LF9GkxYRVbxPgnVCoNeO19q7/kC/GjpxydGsVyEdK2 Zv9UJxBkWE1Cq5NAEWbda7H7ecgJkhly0w== X-Google-Smtp-Source: AK7set8lbR9cMQIoYJRLCcwJ51ARuonVkhvmZvcmNa1qdXizrPKAH1n3Fo3jYYQ1iFAUD7mqMBBpiw== X-Received: by 2002:a05:6870:61cc:b0:15b:8c60:52de with SMTP id b12-20020a05687061cc00b0015b8c6052demr9940676oah.42.1677073176731; Wed, 22 Feb 2023 05:39:36 -0800 (PST) Received: from smtpclient.apple ([186.152.72.28]) by smtp.gmail.com with ESMTPSA id zq47-20020a0568718eaf00b0016df97ab05bsm6078291oab.31.2023.02.22.05.39.35 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Feb 2023 05:39:36 -0800 (PST) From: Nicolas Goldman Content-Type: multipart/alternative; boundary="Apple-Mail=_B7955D73-2A38-4FFC-8127-70A874A5C10F" List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.200.110.1.12\)) Subject: Performance issues with custom kernel and schedgraph tool Message-Id: <6327ECF7-DA1F-4144-B2CF-F9E3CE7B55C2@gmail.com> Date: Wed, 22 Feb 2023 10:39:24 -0300 To: "questions@freebsd.org (" X-Mailer: Apple Mail (2.3731.200.110.1.12) X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2001:4860:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2001:4860:4864:20::2f:from]; TO_DN_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2001:4860:4864::/48, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MLMMJ_DEST(0.00)[questions@freebsd.org] X-Rspamd-Queue-Id: 4PMHMG2X4Yz3hZ2 X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_B7955D73-2A38-4FFC-8127-70A874A5C10F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hello everyone, I have recently been experiencing performance issues on my FreeBSD = system, specifically with the task scheduler. I have modified the = scheduler (I=E2=80=99m working on a short-term scheduler based on Petri = Nets) and now see too much idle processor time. I have tried using the = schedgraph tool to analyze the scheduler performance but I am receiving = display errors. I want to ask the community if anyone has experienced similar issues = with the FreeBSD task scheduler, and if they have any advice or = solutions for improving performance. Is there any way to use the = schedgraph tool in non-GUI mode, as I am having trouble running it on my = system without a graphical display? Any help or suggestions would be greatly appreciated. Thank you in = advance for your assistance! Best regards, Nico.= --Apple-Mail=_B7955D73-2A38-4FFC-8127-70A874A5C10F Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Hello = everyone,

I have recently been experiencing = performance issues on my FreeBSD system, specifically with the task = scheduler. I have modified the scheduler (I=E2=80=99m working on = a short-term scheduler based on Petri Nets) and now see too much = idle processor time. I have tried using the schedgraph tool to analyze = the scheduler performance but I am receiving display = errors.

I want to ask the community if anyone = has experienced similar issues with the FreeBSD task scheduler, and if = they have any advice or solutions for improving performance. Is there = any way to use the schedgraph tool in non-GUI mode, as I am having = trouble running it on my system without a graphical = display?

Any help or suggestions would be = greatly appreciated. Thank you in advance for your = assistance!

Best regards, = Nico.
= --Apple-Mail=_B7955D73-2A38-4FFC-8127-70A874A5C10F-- From nobody Wed Feb 22 13:39:24 2023 X-Original-To: questions@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 4PMHMJ3JKlz3t1bj for ; Wed, 22 Feb 2023 13:39:40 +0000 (UTC) (envelope-from nicolasgoldman07@gmail.com) Received: from mail-oo1-xc32.google.com (mail-oo1-xc32.google.com [IPv6:2607:f8b0:4864:20::c32]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PMHMH1pgZz3hBn for ; Wed, 22 Feb 2023 13:39:39 +0000 (UTC) (envelope-from nicolasgoldman07@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=XbZZCC88; spf=pass (mx1.freebsd.org: domain of nicolasgoldman07@gmail.com designates 2607:f8b0:4864:20::c32 as permitted sender) smtp.mailfrom=nicolasgoldman07@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-oo1-xc32.google.com with SMTP id r34-20020a4a9665000000b0051abd9835d4so745887ooi.1 for ; Wed, 22 Feb 2023 05:39:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:date:message-id:subject:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=yKZg7YmLrV/HJkaxfR44pa2QzFypzb/jCRMzJmVdcl4=; b=XbZZCC88QX46qp//K3An/oS5dlyAnDRVJ32DSpq1A/AUalyPB/9TAvgM5Be3H9xIxt zouZ4fgfPLi4tuxzsSPBWbSVk77VnwQpi5fz/aipZHwzUVyKoQwuiiy2yxl6Zmiv+BVV dN1ArRlOAtvumEj5rEWVpUblLO26lzDPp25W6yZ/90tx+5YDCZe0x6A5HU9WczL3JvFR ABQAmsi2BAJUiVx9kf4yTe7xzpk+ToMMTZ5gMJ9MTHTqo5fSsMYJ2DV2fXz7kKCZI0i9 ro6AbbnfTcN9YQgjvEEexTMk2ZADDe6QGDxXs2DgnM4ab16RQDNzjUN1jozk4y1VTha6 7xyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:date:message-id:subject:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=yKZg7YmLrV/HJkaxfR44pa2QzFypzb/jCRMzJmVdcl4=; b=2Cx1Az3afvmjJLV1bd8iItPPt3Sr7tYjGlAKCDxk/3YeeGq2ph371/MwIrdWjEHDv4 QcOt2q6LNjsr+KAw1GQYZSFZgiyat+qCOs9+VFpZdPrkx6mbjnih9y4Zq0m2aF8ZBR32 +LRK9MBk0zlcTDgjW1HJkwyPbkxovIK9XVLoibI2zLR+nFUIiiySomwdNRv40ibFkKEc EDV8S0LJNTSJNkk8MxG3T2lh6cSABJOZ5jCxAyU5a1uZAew7aDwaVC1BF7rdXKltaB6K E+ragq4mZwaTJRiGMhcmgG+L+8m99q6G2i7wrLknqxWULMyxvs1Ky+8Vq28lPY8lqytT ellg== X-Gm-Message-State: AO0yUKUehlOnS8Q7tKcItHvtiU2zcyEdgU+Bnj9WO/+yNKtkzvLFIOOM jU0uF+MA/Jdq2hl1MO1Q++8/lxJqt9iF1A== X-Google-Smtp-Source: AK7set8dF2pawedZ7eLaMBt0u50EeAEO4n2RK8d4uRWwsVXT5dCLQxTTTZMD0svjKcxoBwB2P5egyQ== X-Received: by 2002:a4a:2454:0:b0:4a0:b7a0:2413 with SMTP id v20-20020a4a2454000000b004a0b7a02413mr3662069oov.3.1677073177878; Wed, 22 Feb 2023 05:39:37 -0800 (PST) Received: from smtpclient.apple ([186.152.72.28]) by smtp.gmail.com with ESMTPSA id w16-20020a4ae9f0000000b00516d4eac864sm1575366ooc.29.2023.02.22.05.39.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Feb 2023 05:39:37 -0800 (PST) From: Nicolas Goldman Content-Type: multipart/alternative; boundary="Apple-Mail=_B7955D73-2A38-4FFC-8127-70A874A5C10F" List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.200.110.1.12\)) Subject: Performance issues with custom kernel and schedgraph tool Message-Id: <6327ECF7-DA1F-4144-B2CF-F9E3CE7B55C2@gmail.com> Date: Wed, 22 Feb 2023 10:39:24 -0300 To: "questions@freebsd.org (" X-Mailer: Apple Mail (2.3731.200.110.1.12) X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::c32:from]; TO_DN_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MLMMJ_DEST(0.00)[questions@freebsd.org] X-Rspamd-Queue-Id: 4PMHMH1pgZz3hBn X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_B7955D73-2A38-4FFC-8127-70A874A5C10F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hello everyone, I have recently been experiencing performance issues on my FreeBSD = system, specifically with the task scheduler. I have modified the = scheduler (I=E2=80=99m working on a short-term scheduler based on Petri = Nets) and now see too much idle processor time. I have tried using the = schedgraph tool to analyze the scheduler performance but I am receiving = display errors. I want to ask the community if anyone has experienced similar issues = with the FreeBSD task scheduler, and if they have any advice or = solutions for improving performance. Is there any way to use the = schedgraph tool in non-GUI mode, as I am having trouble running it on my = system without a graphical display? Any help or suggestions would be greatly appreciated. Thank you in = advance for your assistance! Best regards, Nico.= --Apple-Mail=_B7955D73-2A38-4FFC-8127-70A874A5C10F Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Hello = everyone,

I have recently been experiencing = performance issues on my FreeBSD system, specifically with the task = scheduler. I have modified the scheduler (I=E2=80=99m working on = a short-term scheduler based on Petri Nets) and now see too much = idle processor time. I have tried using the schedgraph tool to analyze = the scheduler performance but I am receiving display = errors.

I want to ask the community if anyone = has experienced similar issues with the FreeBSD task scheduler, and if = they have any advice or solutions for improving performance. Is there = any way to use the schedgraph tool in non-GUI mode, as I am having = trouble running it on my system without a graphical = display?

Any help or suggestions would be = greatly appreciated. Thank you in advance for your = assistance!

Best regards, = Nico.
= --Apple-Mail=_B7955D73-2A38-4FFC-8127-70A874A5C10F-- From nobody Wed Feb 22 15:56:36 2023 X-Original-To: freebsd-questions@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 4PMLPQ4g1vz3t80d for ; Wed, 22 Feb 2023 15:56:42 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PMLPP2l5qz3wYm for ; Wed, 22 Feb 2023 15:56:41 +0000 (UTC) (envelope-from freebsd@edvax.de) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 217.72.192.73) smtp.mailfrom=freebsd@edvax.de; dmarc=none Received: from r56.edvax.de ([178.12.32.157]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPA (Nemesis) id 1M1ZQT-1pWm5v2c6F-0035PS; Wed, 22 Feb 2023 16:56:36 +0100 Date: Wed, 22 Feb 2023 16:56:36 +0100 From: Polytropon To: Sysadmin Lists Cc: Freebsd Questions Subject: Re: BSD-awk print() Behavior Message-Id: <20230222165636.b00367e1.freebsd@edvax.de> In-Reply-To: <1200764932.226141.1676981164445@ichabod.co-bxl> References: <1600449078.170379.1676939080787@fidget.co-bxl> <1653727721.225143.1676980394881@ichabod.co-bxl> <1200764932.226141.1676981164445@ichabod.co-bxl> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:KlneB7BD01hRRq+Cm63tHgDCcgdlDS5PWYMk6fYLuxo/cA5J26W HRJbQEQaj6gUuFohqFa5870i3qmC0xVt4XUmtXSq8Za3Fuj4wIj1ab+uNSxepdaZAx04uOx znPR0BJOPCOKWI6vP+xzDm8ns1IfWnx1aAdrHAbHfi0aU3FQ6r47ye3IiRl+dfH3b3AHyxA RXDvfV5ah0WXd8V6wEgqQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:rkaE8NpaQpw=;xZ1zYC9S0uExITUuJwAOGo57/d7 15jBwXYiN9XZzJxLAPomibKtUAYYHXDFqcNhws18h2FJR1bYgzg0Tqk5GmO43/HEcqI75EQ1j TIB+h5JXHsahqZkMNI3aqPvcuY30Q3O3Kk+9+w/gbVuSdksdAIoOo+xy1oywF4kEOMIVInEgv rg9jWpkPOsD5LCDnLj78kIYq2+DaogAVujHfspU3Uo0J8i4p6pn1fp16RT/1m9bDUMx0zW51s tK1hh7CzkHpwY7SP2jCmnySXQ0HOCoZN67i/W2kdbxdZWZHnL+wjq7XOwYhii305YyCxdTWLw fyiMUGhst5p/c391sGSCzmsT70h4loQHjAvj6tn86A1wz87dq9yFGqHypOsbg0WrVUjUCp1WD q/KpSY4a/5bSJgRusvsZUqPV6RjA5ePipGlvBoa2vlEQva9H02uZRvaHng/Iw3yCRKXkkDNTJ AnwNRU9Fz7s/8IefiEMpeGyqfoKZrKWGRJTVm0uoLh/D3fQT4EpmMPGrsf6Ji39/o7R/nCa7x QYfXzlfVCiw27K76hM2UfRZUAahFg3t+QSYCSQHxLbzSQHhqupC6Jm89bqG+hn08wHA/2I7MO R/ggaqlJ4PNvYQ5cJgXeTHF6gndv6xX2CERtIzudNkPXgzkgszIl6GcXZBD2LukpgJhP6B7eC vF95Mfsw9UJR3sf2C3CtaUoaYTHfwdUj2XcK5KYeQQ== X-Spamd-Result: default: False [-0.59 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; AUTH_NA(1.00)[]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.994]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_NA(0.00)[no SPF record]; DMARC_NA(0.00)[edvax.de]; RCVD_IN_DNSWL_NONE(0.00)[217.72.192.73:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@FreeBSD.org]; FROM_HAS_DN(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; ARC_NA(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; HAS_ORG_HEADER(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[217.72.192.73:from]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:217.72.192.0/20, country:DE]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4PMLPP2l5qz3wYm X-Spamd-Bar: / X-ThisMailContainsUnwantedMimeParts: N On Tue, 21 Feb 2023 13:06:04 +0100 (CET), Sysadmin Lists wrote: > (Now that I think of it, the carriage-returns are inserted by the web browser > of course.) If you encounter more unneeded CRs, using ... | tr -d '\n' | ... in your preprocessing step is very easy _and_ helpful. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From nobody Wed Feb 22 16:34:31 2023 X-Original-To: freebsd-questions@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 4PMMFM4y81z3tB9x for ; Wed, 22 Feb 2023 16:34:47 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from mailout.qeng-ho.org (mailout.qeng-ho.org [217.155.128.244]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4PMMFM2TC6z42N9 for ; Wed, 22 Feb 2023 16:34:47 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Authentication-Results: mx1.freebsd.org; none Received: from [IPV6:2a02:8010:64c9:1::2] (unknown [IPv6:2a02:8010:64c9:1::2]) by mailout.qeng-ho.org (Postfix) with ESMTP id 2A0BB506CE; Wed, 22 Feb 2023 16:34:32 +0000 (GMT) Message-ID: <34ea696f-6df5-adc4-6182-596b41826833@qeng-ho.org> Date: Wed, 22 Feb 2023 16:34:31 +0000 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: BSD-awk print() Behavior Content-Language: en-GB To: Polytropon , Sysadmin Lists Cc: Freebsd Questions References: <1600449078.170379.1676939080787@fidget.co-bxl> <1653727721.225143.1676980394881@ichabod.co-bxl> <1200764932.226141.1676981164445@ichabod.co-bxl> <20230222165636.b00367e1.freebsd@edvax.de> From: Arthur Chance In-Reply-To: <20230222165636.b00367e1.freebsd@edvax.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4PMMFM2TC6z42N9 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:13037, ipnet:217.155.0.0/16, country:GB] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On 22/02/2023 15:56, Polytropon wrote: > On Tue, 21 Feb 2023 13:06:04 +0100 (CET), Sysadmin Lists wrote: >> (Now that I think of it, the carriage-returns are inserted by the web browser >> of course.) > > If you encounter more unneeded CRs, using ... | tr -d '\n' | ... > in your preprocessing step is very easy _and_ helpful. :-) > I think you meant tr -d '\r' -- We build our computer systems the way we build our cities; over time, without a plan, on top of ruins. — Ellen Ullman From nobody Wed Feb 22 17:52:36 2023 X-Original-To: freebsd-questions@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 4PMNzF6Rn0z3tF1p for ; Wed, 22 Feb 2023 17:52:41 +0000 (UTC) (envelope-from sysadmin.lists@mailfence.com) Received: from wilbur.contactoffice.com (wilbur.contactoffice.com [212.3.242.68]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4PMNzF3PPzz4FRM for ; Wed, 22 Feb 2023 17:52:41 +0000 (UTC) (envelope-from sysadmin.lists@mailfence.com) Authentication-Results: mx1.freebsd.org; none Received: from fidget.co-bxl (fidget.co-bxl [10.2.0.33]) by wilbur.contactoffice.com (Postfix) with ESMTP id C823614BF; Wed, 22 Feb 2023 18:52:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1677088357; s=20210208-e7xh; d=mailfence.com; i=sysadmin.lists@mailfence.com; h=Date:From:To:Cc:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; l=1116; bh=T8kkur65qhJTbupkyYRqXvu0BjvGzJ6MNBxZkbChrjQ=; b=bBNEx+GN6PEfMmisUzLGpbRuI7rGV8s+AYwUAzqEUbTsB5vrRcO4bnGi4IE9dwzH DefYNwX737lGiTtdmmqtJC+ERcRn9IwsrOuG5YfSUPCZ/F0Fn1PuKaRmOaxtyzrv5S3 dnoajD2s/j/aSdmmtPd0oCbx8TzxAuoIqOKy0MC7ndhqFnVG1ugvaMtnBTg7C31fuF7 RbSSmKdT/ejEV2bzJkwz+0fjZkjmAnKw848HHmZSetIinYUykyF7xm5SCc7wchtSRQm r/sxOlSe9W/D68OviUeJFMQ9GBAB7omi1Rq/YBdPyI6o7IbH+MevdbyA2SyybSKnFzC PSZrItSNnA== Date: Wed, 22 Feb 2023 18:52:36 +0100 (CET) From: Sysadmin Lists To: Freebsd Questions Cc: Polytropon Message-ID: <77131479.37274.1677088356194@fidget.co-bxl> In-Reply-To: <20230222165636.b00367e1.freebsd@edvax.de> References: <1600449078.170379.1676939080787@fidget.co-bxl> <1653727721.225143.1676980394881@ichabod.co-bxl> <1200764932.226141.1676981164445@ichabod.co-bxl> <20230222165636.b00367e1.freebsd@edvax.de> Subject: Re: BSD-awk print() Behavior List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Mailer: ContactOffice Mail X-ContactOffice-Account: com:312482426 X-Rspamd-Queue-Id: 4PMNzF3PPzz4FRM X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:10753, ipnet:212.3.242.64/26, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N > ---------------------------------------- > From: Polytropon > Date: Feb 22, 2023, 7:56:36 AM > To: Sysadmin Lists > Cc: Freebsd Questions > Subject: Re: BSD-awk print() Behavior > > > On Tue, 21 Feb 2023 13:06:04 +0100 (CET), Sysadmin Lists wrote: > > (Now that I think of it, the carriage-returns are inserted by the web browser > > of course.) > > If you encounter more unneeded CRs, using ... | tr -d '\n' | ... > in your preprocessing step is very easy _and_ helpful. :-) > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > The `strings' program worked, too. $ awk '{ print $0 " abc " }' <(strings file_1) <(strings file_2) https://github.com/ abc https://github.com/ abc https://github.com/ abc https://github.com/ abc That's what got me to search for the `cat' flag to display chars vim was hiding. Linux has a program called dos2unix, but that's a bit overkill. -- Sent with https://mailfence.com Secure and private email From nobody Thu Feb 23 16:45:21 2023 X-Original-To: freebsd-questions@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 4PMzRG6f7Hz3sDBD for ; Thu, 23 Feb 2023 16:45:30 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) by mx1.freebsd.org (Postfix) with ESMTP id 4PMzRG14ZZz3QJB for ; Thu, 23 Feb 2023 16:45:29 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of freebsd-doc@fjl.co.uk designates 84.45.41.196 as permitted sender) smtp.mailfrom=freebsd-doc@fjl.co.uk; dmarc=none Received: from [192.168.1.126] (host81-129-137-223.range81-129.btcentralplus.com [81.129.137.223]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id 31NGjMOh039803 for ; Thu, 23 Feb 2023 16:45:22 GMT (envelope-from freebsd-doc@fjl.co.uk) Message-ID: <974a81c2-a92d-7f94-5f96-869bddfe21f3@fjl.co.uk> Date: Thu, 23 Feb 2023 16:45:21 +0000 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Content-Language: en-GB To: freebsd-questions@freebsd.org From: Frank Leonhardt Subject: Cursing the tput utility - the penguin strikes again Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-2.19 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.99)[-0.987]; R_SPF_ALLOW(-0.20)[+ip4:84.45.41.196]; RCVD_NO_TLS_LAST(0.10)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_LONG(0.00)[0.000]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:25577, ipnet:84.45.0.0/17, country:GB]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; DMARC_NA(0.00)[fjl.co.uk]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4PMzRG14ZZz3QJB X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N I'm looking at another documentation snafu here. So there's a tput utility for controlling the terminal in BSD. It takes "attributes" and arguments and outputs whatever control codes are needed to make the terminal do what you need in a portable way (switch to bold, move the cursor, clear to EOL or whatever). It doesn't matter if you're using an VT52 terminal or xterm - tput does the translation. What the man page talks about as "attributes" are actually tcap codes - there's a list of them under "man 5 terminfo". So, to move the cursor to the top left use "tcap cm 0 0 " - "cm" being the tcap code for Cursor Move. The location and format of the database in the man page is way off mark, but never mind. So what's my problem? Well use the tcap utility on non-BSD platforms and it suddenly doesn't work. It turns out that the penguinistas thought using the "Cap Name" instead of the "TCap Code" was a good idea. Some of the codes are the same, some are not. In fact most are not. So for example, "cm" becomes "cup", and "ce" (Clear End-of-line) is "el". On a Linux you probably need to use "tcap cup 0 0" instead of "tcap cm 0 0. So my question is, assuming one wants one's scripts to be compatible with Linux, what's the best way of going about it? Is there some new platform-independent way of doing this I'm too old to know about, or do you really have to write shell scripts to cope with both by defining the code to use up front based on the output of uname? I can figure this out - I just want to know if there's a "best practice" solution before rolling my own. If anyone reading expresses an interest I might put the best answer I can find in a blog post. Thanks, Frank. From nobody Thu Feb 23 18:29:36 2023 X-Original-To: questions@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 4PN1lS3lGhz3sL0n for ; Thu, 23 Feb 2023 18:29:40 +0000 (UTC) (envelope-from tamelingdaniel@gmail.com) Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PN1lR3jnjz3vJ3 for ; Thu, 23 Feb 2023 18:29:39 +0000 (UTC) (envelope-from tamelingdaniel@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=az4uouNk; spf=pass (mx1.freebsd.org: domain of tamelingdaniel@gmail.com designates 2a00:1450:4864:20::52f as permitted sender) smtp.mailfrom=tamelingdaniel@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-ed1-x52f.google.com with SMTP id o12so45962953edb.9 for ; Thu, 23 Feb 2023 10:29:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=HzH07+hQ2f9XWnrNN4okuvmM0AVlC28DTm+0g0JVdKs=; b=az4uouNkQRVMycZoZUd6K9Mic2FNwLTXygpD5+9xEaz3yNIJfXRXmBK3yZau53Aj68 VhsHANyoVKVuwrsNQbr4Rx5JGjav/S+MueURzKqZ72c5nS+CsLSFeKTYpJFvuKC4Youa eWidHXI1jPi+odQUizJbzjmQV5jUAI3HJSWy4wkeWF+ArSRIqGUNA6r9Nb8EUkl00eCq 9OiF0NpwLbpGTJ2BCeQQ6klAhUZnSrmbtpOzdhYIlP0O5ocnfHiHjwtHrNbR08Y9TShK FlZSm3lIetSOYVnRoW2ssmfhNgWABaOARQkUGX+O5/FCPzIiAZmh/PYU75ntutY8Vcar 5WAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=HzH07+hQ2f9XWnrNN4okuvmM0AVlC28DTm+0g0JVdKs=; b=xCinDQpuSxMbKJ88pTt/ytpm1UyVkJbkfVQZLVnCzzhxxnAM2S8CzMDMyXOANe+jc5 CfJyeTB94Cob43n73OUihNft3vZvM4MFe6uKhQWg/yXfCcUpiY8ip3G414q1rQsghRAy yQRg1ZL6FkVs+Tulz0X3bzOrZdhCI5XDU3a+wEOIjAtm/sJRbnpn/WeKvoZ+cWfPRpEP 4dbqdCShPo6dQNmyBbMY1XAQfY0sCH0MPlhlr68aW8BWNTtpVDOLH/K50vLty25ss1xy mIgzxSy9zbEjv8SVB6AF9pdga/Vo2oUGJrGLhAWBulGS0wPbinP3dBN1i4RsL8VasVei KV+Q== X-Gm-Message-State: AO0yUKVxa2BPuaGivBiXeuObNxo4ynACXKTCtOUpBd01F4aYI9YSpgAs E3rQanc5E9kS41G+fBTpf4AKX5AdbSA= X-Google-Smtp-Source: AK7set/o6UEjzD7XJ1L/XW2JkCvTcaI6KbzEhb1GW1FWpeKGXgsD2jDivS8Dfz48f9Y5DwROhZ25nQ== X-Received: by 2002:aa7:db56:0:b0:4ad:a70c:e010 with SMTP id n22-20020aa7db56000000b004ada70ce010mr13527525edt.41.1677176978085; Thu, 23 Feb 2023 10:29:38 -0800 (PST) Received: from localhost (dslb-188-109-240-043.188.109.pools.vodafone-ip.de. [188.109.240.43]) by smtp.gmail.com with ESMTPSA id v1-20020a50c401000000b004af733251cfsm76636edf.32.2023.02.23.10.29.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Feb 2023 10:29:37 -0800 (PST) Date: Thu, 23 Feb 2023 19:29:36 +0100 From: Daniel Tameling To: questions@freebsd.org Subject: Re: Cursing the tput utility - the penguin strikes again Message-ID: References: <974a81c2-a92d-7f94-5f96-869bddfe21f3@fjl.co.uk> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <974a81c2-a92d-7f94-5f96-869bddfe21f3@fjl.co.uk> X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_LONG(-0.99)[-0.993]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::52f:from]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[questions@freebsd.org] X-Rspamd-Queue-Id: 4PN1lR3jnjz3vJ3 X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On Thu, Feb 23, 2023 at 04:45:21PM +0000, Frank Leonhardt wrote: > I'm looking at another documentation snafu here. > > So there's a tput utility for controlling the terminal in BSD. It takes > "attributes" and arguments and outputs whatever control codes are needed to > make the terminal do what you need in a portable way (switch to bold, move > the cursor, clear to EOL or whatever). It doesn't matter if you're using an > VT52 terminal or xterm - tput does the translation. > > What the man page talks about as "attributes" are actually tcap codes - > there's a list of them under "man 5 terminfo". So, to move the cursor to the > top left use "tcap cm 0 0 " - "cm" being the tcap code for Cursor Move. The > location and format of the database in the man page is way off mark, but > never mind. > > So what's my problem? > > Well use the tcap utility on non-BSD platforms and it suddenly doesn't work. > It turns out that the penguinistas thought using the "Cap Name" instead of > the "TCap Code" was a good idea. Some of the codes are the same, some are > not. In fact most are not. > > So for example, "cm" becomes "cup", and "ce" (Clear End-of-line) is "el". On > a Linux you probably need to use "tcap cup 0 0" instead of "tcap cm 0 0. > > So my question is, assuming one wants one's scripts to be compatible with > Linux, what's the best way of going about it? Is there some new > platform-independent way of doing this I'm too old to know about, or do you > really have to write shell scripts to cope with both by defining the code to > use up front based on the output of uname? > > I can figure this out - I just want to know if there's a "best practice" > solution before rolling my own. If anyone reading expresses an interest I > might put the best answer I can find in a blog post. > > Thanks, Frank. > > > Did you try using the tput from devel/ncurses instead? I once ran into a similar problem and if I remember correctly that one works with the same options as on Linux because it's the one installed there. And it is frequently already installed as a dependency; the problem is just that the FreeBSD tput is earlier in PATH. -- Kind regards, Daniel From nobody Thu Feb 23 20:09:53 2023 X-Original-To: freebsd-questions@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 4PN3z845Qqz3sh1m for ; Thu, 23 Feb 2023 20:09:56 +0000 (UTC) (envelope-from btv1==4186ac3e7a1==tom@invisible-island.net) Received: from smtp-1a.his.com (smtp-1a.his.com [216.194.196.25]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4PN3z829xQz4GcF for ; Thu, 23 Feb 2023 20:09:56 +0000 (UTC) (envelope-from btv1==4186ac3e7a1==tom@invisible-island.net) Authentication-Results: mx1.freebsd.org; none Received: from cuda501.his.com (cuda501.his.com [18.191.10.220]) by smtp-1a.his.com (Postfix) with ESMTPS id 2B0C125F for ; Thu, 23 Feb 2023 15:09:55 -0500 (EST) X-ASG-Debug-ID: 1677182994-1f26af441e417aa0001-jLrpzn Received: from smtp-nf-202.his.com (smtp-nf-202.his.com [216.194.196.20]) by cuda501.his.com with ESMTP id MKOjmc816empBJBh; Thu, 23 Feb 2023 15:09:54 -0500 (EST) X-Barracuda-Envelope-From: tom@invisible-island.net X-Barracuda-RBL-Trusted-Forwarder: 216.194.196.20 Received: from zproxy101.his.com (zproxy101.his.com [18.218.2.49]) by smtp-nf-202.his.com (Postfix) with ESMTPS id 3C33B609C1; Thu, 23 Feb 2023 15:09:54 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by zproxy101.his.com (Postfix) with ESMTP id E1C3B1798E0; Thu, 23 Feb 2023 15:09:53 -0500 (EST) X-Barracuda-RBL-IP: 18.218.2.49 X-Barracuda-Effective-Source-IP: zproxy101.his.com[18.218.2.49] X-Barracuda-Apparent-Source-IP: 18.218.2.49 Received: from zproxy101.his.com ([127.0.0.1]) by localhost (zproxy101.his.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id KH6spA1O4Otc; Thu, 23 Feb 2023 15:09:53 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by zproxy101.his.com (Postfix) with ESMTP id CA1CA1799CA; Thu, 23 Feb 2023 15:09:53 -0500 (EST) X-Virus-Scanned: amavisd-new at zproxy101.his.com Received: from zproxy101.his.com ([127.0.0.1]) by localhost (zproxy101.his.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id uWuVv_SWXfdy; Thu, 23 Feb 2023 15:09:53 -0500 (EST) Received: from prl-debianold-64.jexium-island.net (static-96-255-221-90.washdc.fios.verizon.net [96.255.221.90]) by zproxy101.his.com (Postfix) with ESMTPSA id B74361798E0; Thu, 23 Feb 2023 15:09:53 -0500 (EST) Received: from tom by prl-debianold-64.jexium-island.net with local (Exim 4.92) (envelope-from ) id 1pVHub-0000n9-Em; Thu, 23 Feb 2023 15:09:53 -0500 Date: Thu, 23 Feb 2023 15:09:53 -0500 From: Thomas Dickey To: Frank Leonhardt Cc: freebsd-questions@freebsd.org Subject: Re: Cursing the tput utility - the penguin strikes again Message-ID: <20230223200953.GA2956@prl-debianold-64.jexium-island.net> X-ASG-Orig-Subj: Re: Cursing the tput utility - the penguin strikes again Reply-To: dickey@his.com References: <974a81c2-a92d-7f94-5f96-869bddfe21f3@fjl.co.uk> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline In-Reply-To: <974a81c2-a92d-7f94-5f96-869bddfe21f3@fjl.co.uk> User-Agent: Mutt/1.10.1 (2018-07-13) X-Barracuda-Connect: smtp-nf-202.his.com[216.194.196.20] X-Barracuda-Start-Time: 1677182994 X-Barracuda-URL: https://spam.his.com:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at his.com X-Barracuda-Scan-Msg-Size: 610 X-Barracuda-BRTS-Status: 1 X-Barracuda-Bayes: INNOCENT GLOBAL 0.4719 1.0000 0.0000 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=5.0 KILL_LEVEL=7.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.105179 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Rspamd-Queue-Id: 4PN3z829xQz4GcF X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:11604, ipnet:216.194.196.0/24, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 23, 2023 at 04:45:21PM +0000, Frank Leonhardt wrote: > I'm looking at another documentation snafu here. =2E.. > Well use the tcap utility on non-BSD platforms and it suddenly doesn't wo= rk. > It turns out that the penguinistas thought using the "Cap Name" instead of > the "TCap Code" was a good idea. Some of the codes are the same, some are > not. In fact most are not. You've got that backwards. Here's a pointer to the manual page: https://invisible-island.net/ncurses/man/tput.1.html#h2-HISTORY --=20 Thomas E. Dickey https://invisible-island.net --OgqxwSJOaUobr8KG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGYgtkt2kxADCLA1WzCr0RyFnvgMFAmP3yBEACgkQzCr0RyFn vgOpaAwAsWXC2PbZE/kko0Io6XtIrGjPDWYMCyHlAurtP2ZVPFHYhNFg78J/pWHR Vau23eWihwayGsgjyR9j68gSZSBEV+HIlip9DxUwHeDRyr+Lrmhl6/8Eiv3dfDVQ bCBR9t1kkV0NiulazWaaizv/q0+v6MlMu0yRstcNnxiTuVjf0QjC3qm+BtE8oycq 4Jmsq0bpgjR3twk4etbGOg8ghkTMPS7tgNrmG0X8j+6f+nmRrbQ0tkGWGsngKy1r D1rYMRtm4wdaUHx8zs8OlY2p9AKEL79roPSECeL94k7KAwkGEN1RA4H+kfYzrHsm i/3CUsUleH6UlSJCKOdu1KCaKS37MFbxli4Zn0olFpTrzeqduWeBFUhV5VIrOfq8 GtLW2zPcBG/ORswNdjVpiTlT+eAkQdGmnmmhpQLH7Y1/0Zgx2gl4a+GrtZ5jM8HY ecumyliQyhOU1gCHhpcgz45jHiXpHb8zbzoppE2uucJN83+1VswpEJm6+ZkNwlCm MJ4Z3yVS =+oOY -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG-- From nobody Thu Feb 23 20:14:16 2023 X-Original-To: questions@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 4PN44P3ypZz3shwP for ; Thu, 23 Feb 2023 20:14:29 +0000 (UTC) (envelope-from kh@panix.com) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4PN44N49mtz4Hlc for ; Thu, 23 Feb 2023 20:14:28 +0000 (UTC) (envelope-from kh@panix.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=panix.com header.s=panix header.b=Claa84HH; spf=pass (mx1.freebsd.org: domain of kh@panix.com designates 166.84.1.89 as permitted sender) smtp.mailfrom=kh@panix.com; dmarc=pass (policy=none) header.from=panix.com Received: from rain.cave (unknown [73.142.21.0]) by mailbackend.panix.com (Postfix) with ESMTPSA id 4PN44F6V8sz3pLX for ; Thu, 23 Feb 2023 15:14:21 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=panix.com; s=panix; t=1677183262; bh=YjEArtnXKLYRn97rQTksg8HqXiHA6nanQUUVXZx8c+k=; h=Date:From:To:Subject:References:In-Reply-To; b=Claa84HHx+StnDw0jvdcU+FUoSI6e6225e+5sTgYWSFAQnHSzT6hfhUksP/klYCrr RGk6pz7dbgRvxz/q5+WUW2XxL58+z0MoaPNOA3x/41WI2UyYEGT/AbD/39MsEO5jxQ SGMhc+dNM5f3R7eh7nuTpdTEXBag/uXIPdh8u8FI= Date: Thu, 23 Feb 2023 15:14:16 -0500 From: Kurt Hackenberg To: questions@freebsd.org Subject: Re: Cursing the tput utility - the penguin strikes again Message-ID: References: <974a81c2-a92d-7f94-5f96-869bddfe21f3@fjl.co.uk> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <974a81c2-a92d-7f94-5f96-869bddfe21f3@fjl.co.uk> User-Agent: Mutt/2.2.9 (2022-11-12) X-Spamd-Result: default: False [-3.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.87)[-0.866]; DMARC_POLICY_ALLOW(-0.50)[panix.com,none]; R_DKIM_ALLOW(-0.20)[panix.com:s=panix]; R_SPF_ALLOW(-0.20)[+ip4:166.84.1.64/26]; MIME_GOOD(-0.10)[text/plain]; RWL_MAILSPIKE_GOOD(-0.10)[166.84.1.89:from]; RCVD_VIA_SMTP_AUTH(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:2033, ipnet:166.84.0.0/16, country:US]; MIME_TRACE(0.00)[0:+]; DKIM_TRACE(0.00)[panix.com:+]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4PN44N49mtz4Hlc X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On Thu, Feb 23, 2023 at 04:45:21PM +0000, Frank Leonhardt wrote: >So there's a tput utility for controlling the terminal in BSD. ... >Well use the tcap utility on non-BSD platforms and it suddenly doesn't >work. It turns out that the penguinistas thought using the "Cap Name" >instead of the "TCap Code" was a good idea. Some of the codes are the >same, some are not. In fact most are not. The trouble is those are two different mechanisms, based on two different file formats, that do the same thing. The two file formats are "termcap" and "terminfo", both from the default names of the system files that use them. Manual section 5 has pages about both. They're similar, but different enough to be incompatible. The "TCap codes" are the names used in termcap format; the "Capnames" are the names used in terminfo format. (A "cap" is a terminal "capability".) I think termcap came first, and then somebody invented terminfo as an improvement or a reimplementation of the same idea. I think termcap came from Berkeley Unix -- maybe invented for vi -- so FreeBSD more or less stayed with it. Maybe terminfo came from Bell Labs; I think Linux prefers it. This is pointlessly incompatible, the result of haphazard evolution, and kind of a mess. It's all about 40 years old. The library functions that use those terminal descriptions were in the library "curses" (from "cursor"), long ago superseded by "ncurses" (new curses). Probably the program tput uses the library ncurses. You might want to look at that library; maybe there's a compatibility layer. Or, as Daniel Tameling suggested, maybe there are two different version of ncurses. From nobody Thu Feb 23 20:26:22 2023 X-Original-To: questions@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 4PN4L93XDCz3sjM4 for ; Thu, 23 Feb 2023 20:26:25 +0000 (UTC) (envelope-from btv1==4186ac3e7a1==tom@invisible-island.net) Received: from smtp-1a.his.com (smtp-1a.his.com [216.194.196.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PN4L92zNnz4Mmd for ; Thu, 23 Feb 2023 20:26:25 +0000 (UTC) (envelope-from btv1==4186ac3e7a1==tom@invisible-island.net) Authentication-Results: mx1.freebsd.org; none Received: from cuda501.his.com (cuda501.his.com [18.191.10.220]) by smtp-1a.his.com (Postfix) with ESMTPS id 678A2321 for ; Thu, 23 Feb 2023 15:26:24 -0500 (EST) X-ASG-Debug-ID: 1677183983-1f26af441e418a40001-YuSLm7 Received: from smtp-nf-202.his.com (smtp-nf-202.his.com [216.194.196.20]) by cuda501.his.com with ESMTP id RLOF2R6bltNBKjHk; Thu, 23 Feb 2023 15:26:23 -0500 (EST) X-Barracuda-Envelope-From: tom@invisible-island.net X-Barracuda-RBL-Trusted-Forwarder: 216.194.196.20 Received: from zproxy101.his.com (zproxy101.his.com [18.218.2.49]) by smtp-nf-202.his.com (Postfix) with ESMTPS id 36CF7609C8; Thu, 23 Feb 2023 15:26:23 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by zproxy101.his.com (Postfix) with ESMTP id E39611780B8; Thu, 23 Feb 2023 15:26:22 -0500 (EST) X-Barracuda-RBL-IP: 18.218.2.49 X-Barracuda-Effective-Source-IP: zproxy101.his.com[18.218.2.49] X-Barracuda-Apparent-Source-IP: 18.218.2.49 Received: from zproxy101.his.com ([127.0.0.1]) by localhost (zproxy101.his.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id ALf8KAah04X6; Thu, 23 Feb 2023 15:26:22 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by zproxy101.his.com (Postfix) with ESMTP id C995E1798E0; Thu, 23 Feb 2023 15:26:22 -0500 (EST) X-Virus-Scanned: amavisd-new at zproxy101.his.com Received: from zproxy101.his.com ([127.0.0.1]) by localhost (zproxy101.his.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ZV0k80gW7-Yf; Thu, 23 Feb 2023 15:26:22 -0500 (EST) Received: from prl-debianold-64.jexium-island.net (static-96-255-221-90.washdc.fios.verizon.net [96.255.221.90]) by zproxy101.his.com (Postfix) with ESMTPSA id AF0FF1780B8; Thu, 23 Feb 2023 15:26:22 -0500 (EST) Received: from tom by prl-debianold-64.jexium-island.net with local (Exim 4.92) (envelope-from ) id 1pVIAY-0001Cu-E5; Thu, 23 Feb 2023 15:26:22 -0500 Date: Thu, 23 Feb 2023 15:26:22 -0500 From: Thomas Dickey To: Kurt Hackenberg Cc: questions@freebsd.org Subject: Re: Cursing the tput utility - the penguin strikes again Message-ID: <20230223202622.GA4604@prl-debianold-64.jexium-island.net> X-ASG-Orig-Subj: Re: Cursing the tput utility - the penguin strikes again Reply-To: dickey@his.com References: <974a81c2-a92d-7f94-5f96-869bddfe21f3@fjl.co.uk> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="VS++wcV0S1rZb1Fb" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Barracuda-Connect: smtp-nf-202.his.com[216.194.196.20] X-Barracuda-Start-Time: 1677183983 X-Barracuda-URL: https://spam.his.com:443/cgi-mod/mark.cgi X-Barracuda-BRTS-Status: 1 X-Virus-Scanned: by bsmtpd at his.com X-Barracuda-Scan-Msg-Size: 2216 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0174 1.0000 -1.9076 X-Barracuda-Spam-Score: -1.91 X-Barracuda-Spam-Status: No, SCORE=-1.91 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=5.0 KILL_LEVEL=7.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.105179 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Rspamd-Queue-Id: 4PN4L92zNnz4Mmd X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:11604, ipnet:216.194.196.0/24, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --VS++wcV0S1rZb1Fb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 23, 2023 at 03:14:16PM -0500, Kurt Hackenberg wrote: > On Thu, Feb 23, 2023 at 04:45:21PM +0000, Frank Leonhardt wrote: >=20 > > So there's a tput utility for controlling the terminal in BSD. > ... > > Well use the tcap utility on non-BSD platforms and it suddenly doesn't > > work. It turns out that the penguinistas thought using the "Cap Name" > > instead of the "TCap Code" was a good idea. Some of the codes are the > > same, some are not. In fact most are not. >=20 > The trouble is those are two different mechanisms, based on two different > file formats, that do the same thing. >=20 > The two file formats are "termcap" and "terminfo", both from the default > names of the system files that use them. Manual section 5 has pages about > both. They're similar, but different enough to be incompatible. >=20 > The "TCap codes" are the names used in termcap format; the "Capnames" are > the names used in terminfo format. (A "cap" is a terminal "capability".) >=20 > I think termcap came first, and then somebody invented terminfo as an > improvement or a reimplementation of the same idea. I think termcap came > from Berkeley Unix -- maybe invented for vi -- so FreeBSD more or less > stayed with it. Maybe terminfo came from Bell Labs; I think Linux prefers > it. most do (FreeBSD's userland is an exception) It's actually ncurses (and terminfo) underneath the facade. related - https://invisible-island.net/ncurses/tctest.html =20 > This is pointlessly incompatible, the result of haphazard evolution, and > kind of a mess. It's all about 40 years old. >=20 > The library functions that use those terminal descriptions were in the > library "curses" (from "cursor"), long ago superseded by "ncurses" (new > curses). Probably the program tput uses the library ncurses. You might wa= nt > to look at that library; maybe there's a compatibility layer. Or, as Dani= el > Tameling suggested, maybe there are two different version of ncurses. just one - https://invisible-island.net/ncurses/ncurses.faq.html#platform-portable (but reading the FreeBSD sources would tell more) --=20 Thomas E. Dickey https://invisible-island.net --VS++wcV0S1rZb1Fb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGYgtkt2kxADCLA1WzCr0RyFnvgMFAmP3y+oACgkQzCr0RyFn vgMavAv/Z0U5vYHWn/X8jKLBcGMmy5E27qUWqE/6ZkxK5FiXyvlAOnH+Odhhrmue tNP9bDTtxmr2NQ8CdSQ6WShw+J8/agkfUs3sHOavTMw/D66bJ3CXvdyM+Z7ic7Jy bZkG/Be4+o7amPwUnAQwbtMVx4vfapQ/PdPLc/q38JTe4pQGaxhe0H6yf1cg1eiu ECpcS/EA5q6yqzxHdy7Nc8MqclYH160/VkDPhMjWLGZo78xvm1uLJXajgGeDnTVr AcepjzIAcubHxBdgS8qRo3v3h8Sx8wPdZ0t5ZTHKleO/DOpPRnql5LBIHdTG7lrX Xp9f99ihCVE9QQq27eBgVpHlK14V/jtV0GbTryxDA9G5tCyywX293z3o94lOAn7L hnOWN7aSZ8TaKriPSBwE7TxAQj4+Oh/goerlMXPfADCW8GKuEB37PNv2vAftKDNw X57GKN20Wcm98fwZFKWMmPdSTK9SCbGib9NfYaDxTAykmBtbJaNQz0aT5cYZP3iB iKMafcxa =6g1t -----END PGP SIGNATURE----- --VS++wcV0S1rZb1Fb-- From nobody Thu Feb 23 21:20:10 2023 X-Original-To: questions@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 4PN5XD4Py8z3smJ7 for ; Thu, 23 Feb 2023 21:20:12 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) by mx1.freebsd.org (Postfix) with ESMTP id 4PN5XC6YY5z3JxV for ; Thu, 23 Feb 2023 21:20:11 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of freebsd-doc@fjl.co.uk designates 84.45.41.196 as permitted sender) smtp.mailfrom=freebsd-doc@fjl.co.uk; dmarc=none Received: from [192.168.1.126] (host81-129-137-223.range81-129.btcentralplus.com [81.129.137.223]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id 31NLKBch003683 for ; Thu, 23 Feb 2023 21:20:11 GMT (envelope-from freebsd-doc@fjl.co.uk) Message-ID: <2c582ca1-9f61-a894-b3c6-c91e696fd3cf@fjl.co.uk> Date: Thu, 23 Feb 2023 21:20:10 +0000 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 From: Frank Leonhardt Subject: Re: Cursing the tput utility - the penguin strikes again To: questions@freebsd.org References: <974a81c2-a92d-7f94-5f96-869bddfe21f3@fjl.co.uk> <20230223202622.GA4604@prl-debianold-64.jexium-island.net> Content-Language: en-GB In-Reply-To: <20230223202622.GA4604@prl-debianold-64.jexium-island.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-2.75 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.90)[-0.905]; NEURAL_HAM_LONG(-0.65)[-0.648]; R_SPF_ALLOW(-0.20)[+ip4:84.45.41.196:c]; RCVD_NO_TLS_LAST(0.10)[]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:25577, ipnet:84.45.0.0/17, country:GB]; MLMMJ_DEST(0.00)[questions@freebsd.org]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[fjl.co.uk]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4PN5XC6YY5z3JxV X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N On 23/02/2023 20:26, Thomas Dickey wrote: > On Thu, Feb 23, 2023 at 03:14:16PM -0500, Kurt Hackenberg wrote: >> On Thu, Feb 23, 2023 at 04:45:21PM +0000, Frank Leonhardt wrote: >> >>> So there's a tput utility for controlling the terminal in BSD. >> ... >>> Well use the tcap utility on non-BSD platforms and it suddenly doesn't >>> work. It turns out that the penguinistas thought using the "Cap Name" >>> instead of the "TCap Code" was a good idea. Some of the codes are the >>> same, some are not. In fact most are not. >> The trouble is those are two different mechanisms, based on two different >> file formats, that do the same thing. >> >> The two file formats are "termcap" and "terminfo", both from the default >> names of the system files that use them. Manual section 5 has pages about >> both. They're similar, but different enough to be incompatible. >> >> The "TCap codes" are the names used in termcap format; the "Capnames" are >> the names used in terminfo format. (A "cap" is a terminal "capability".) >> >> I think termcap came first, and then somebody invented terminfo as an >> improvement or a reimplementation of the same idea. I think termcap came >> from Berkeley Unix -- maybe invented for vi -- so FreeBSD more or less >> stayed with it. Maybe terminfo came from Bell Labs; I think Linux prefers >> it. > most do (FreeBSD's userland is an exception) > > It's actually ncurses (and terminfo) underneath the facade. > > related - > > https://invisible-island.net/ncurses/tctest.html >> This is pointlessly incompatible, the result of haphazard evolution, and >> kind of a mess. It's all about 40 years old. >> >> The library functions that use those terminal descriptions were in the >> library "curses" (from "cursor"), long ago superseded by "ncurses" (new >> curses). Probably the program tput uses the library ncurses. You >> might want >> to look at that library; maybe there's a compatibility layer. Or, as >> Daniel >> Tameling suggested, maybe there are two different version of ncurses. > just one - > > https://invisible-island.net/ncurses/ncurses.faq.html#platform-portable > > (but reading the FreeBSD sources would tell more) The info you and Kurt have posted chimes with what I believe too. I started with System V ;-) It's pretty clear that BSD has stuck with termcap where tput is concerned. Linux has broken this by using terminfo names instead. BSD presumably didn't, for compatibility.  I accept no excuses for breaking things unless it's absolutely necessary - so anyone reading this has been warned! I'm pretty sure (but don't quote me) that termcap came from the BSD side (I don't remember it on other Unix systems); terminfo was supposed to include printer control codes as well, and I think it was there on SunOS (also BSD. Hmm) Unless anything comes up I can see two solutions - a compatibility wrapper for shell scripts or, perhaps, modifying BSD tput to accept both versions of the attribute name. Something to think about... Thanks, Frank. From nobody Thu Feb 23 21:20:24 2023 X-Original-To: questions@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 4PN5XW2yH3z3smcb for ; Thu, 23 Feb 2023 21:20:27 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) by mx1.freebsd.org (Postfix) with ESMTP id 4PN5XV33V2z3KXN for ; Thu, 23 Feb 2023 21:20:26 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of freebsd-doc@fjl.co.uk designates 84.45.41.196 as permitted sender) smtp.mailfrom=freebsd-doc@fjl.co.uk; dmarc=none Received: from [192.168.1.126] (host81-129-137-223.range81-129.btcentralplus.com [81.129.137.223]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id 31NLKPuj003861 for ; Thu, 23 Feb 2023 21:20:26 GMT (envelope-from freebsd-doc@fjl.co.uk) Message-ID: <809607b3-4ffb-6a34-9715-870481c4db45@fjl.co.uk> Date: Thu, 23 Feb 2023 21:20:24 +0000 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 From: Frank Leonhardt Subject: Re: Cursing the tput utility - the penguin strikes again To: questions@freebsd.org References: <974a81c2-a92d-7f94-5f96-869bddfe21f3@fjl.co.uk> Content-Language: en-GB In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-2.08 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.84)[-0.840]; R_SPF_ALLOW(-0.20)[+ip4:84.45.41.196:c]; RCVD_NO_TLS_LAST(0.10)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-0.04)[-0.041]; ASN(0.00)[asn:25577, ipnet:84.45.0.0/17, country:GB]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[fjl.co.uk]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4PN5XV33V2z3KXN X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N On 23/02/2023 18:29, Daniel Tameling wrote: > On Thu, Feb 23, 2023 at 04:45:21PM +0000, Frank Leonhardt wrote: >> So there's a tput utility for controlling the terminal in BSD. It takes >> "attributes" and arguments and outputs whatever control codes are >> needed to >> make the terminal do what you need in a portable way (switch to bold, >> move >> the cursor, clear to EOL or whatever). It doesn't matter if you're >> using an >> VT52 terminal or xterm - tput does the translation. >> >> snip >> So my question is, assuming one wants one's scripts to be compatible with >> Linux, what's the best way of going about it? Is there some new >> platform-independent way of doing this I'm too old to know about, or >> do you >> really have to write shell scripts to cope with both by defining the >> code to >> use up front based on the output of uname? >> >> >> Did you try using the tput from devel/ncurses instead? I once ran into >> a similar problem and if I remember correctly that one works with the >> same options as on Linux because it's the one installed there. And it >> is frequently already installed as a dependency; the problem is just >> that the FreeBSD tput is earlier in PATH. Thanks - I didn't know about that, and it's good to know. It's not the solution I wanted as for compatibility I'm sticking with the base system. I think the "problem" is that BSD is using termcap definitions whereas Linux us using terminfo, which is logical as it's newer, but wrong! Regards, Frank. From nobody Thu Feb 23 23:30:45 2023 X-Original-To: questions@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 4PN8Qw6XYZz3svpc for ; Thu, 23 Feb 2023 23:30:48 +0000 (UTC) (envelope-from btv1==4186ac3e7a1==tom@invisible-island.net) Received: from smtp-1a.his.com (smtp-1a.his.com [216.194.196.25]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4PN8Qw4Ncnz3tl9 for ; Thu, 23 Feb 2023 23:30:48 +0000 (UTC) (envelope-from btv1==4186ac3e7a1==tom@invisible-island.net) Authentication-Results: mx1.freebsd.org; none Received: from cuda501.his.com (cuda501.his.com [18.191.10.220]) by smtp-1a.his.com (Postfix) with ESMTPS id 9E46931B for ; Thu, 23 Feb 2023 18:30:47 -0500 (EST) X-ASG-Debug-ID: 1677195046-1f26af441e424520001-YuSLm7 Received: from smtp-nf-202.his.com (smtp-nf-202.his.com [216.194.196.20]) by cuda501.his.com with ESMTP id T6ne0LPIaTinHBxt; Thu, 23 Feb 2023 18:30:46 -0500 (EST) X-Barracuda-Envelope-From: tom@invisible-island.net X-Barracuda-RBL-Trusted-Forwarder: 216.194.196.20 Received: from zproxy101.his.com (zproxy101.his.com [18.218.2.49]) by smtp-nf-202.his.com (Postfix) with ESMTPS id 9C81160980; Thu, 23 Feb 2023 18:30:46 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by zproxy101.his.com (Postfix) with ESMTP id 60D45178405; Thu, 23 Feb 2023 18:30:46 -0500 (EST) X-Barracuda-RBL-IP: 18.218.2.49 X-Barracuda-Effective-Source-IP: zproxy101.his.com[18.218.2.49] X-Barracuda-Apparent-Source-IP: 18.218.2.49 Received: from zproxy101.his.com ([127.0.0.1]) by localhost (zproxy101.his.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 6oCcVcrr8hu2; Thu, 23 Feb 2023 18:30:46 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by zproxy101.his.com (Postfix) with ESMTP id 48135178DE3; Thu, 23 Feb 2023 18:30:46 -0500 (EST) X-Virus-Scanned: amavisd-new at zproxy101.his.com Received: from zproxy101.his.com ([127.0.0.1]) by localhost (zproxy101.his.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id qg_ff-Lxy23z; Thu, 23 Feb 2023 18:30:46 -0500 (EST) Received: from prl-debianold-64.jexium-island.net (static-96-255-221-90.washdc.fios.verizon.net [96.255.221.90]) by zproxy101.his.com (Postfix) with ESMTPSA id 33EEC178ACA; Thu, 23 Feb 2023 18:30:46 -0500 (EST) Received: from tom by prl-debianold-64.jexium-island.net with local (Exim 4.92) (envelope-from ) id 1pVL2z-0001ko-Sx; Thu, 23 Feb 2023 18:30:45 -0500 Date: Thu, 23 Feb 2023 18:30:45 -0500 From: Thomas Dickey To: Frank Leonhardt Cc: questions@freebsd.org Subject: Re: Cursing the tput utility - the penguin strikes again Message-ID: <20230223233045.GA6547@prl-debianold-64.jexium-island.net> X-ASG-Orig-Subj: Re: Cursing the tput utility - the penguin strikes again Reply-To: dickey@his.com References: <974a81c2-a92d-7f94-5f96-869bddfe21f3@fjl.co.uk> <20230223202622.GA4604@prl-debianold-64.jexium-island.net> <2c582ca1-9f61-a894-b3c6-c91e696fd3cf@fjl.co.uk> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="PEIAKu/WMn1b1Hv9" Content-Disposition: inline In-Reply-To: <2c582ca1-9f61-a894-b3c6-c91e696fd3cf@fjl.co.uk> User-Agent: Mutt/1.10.1 (2018-07-13) X-Barracuda-Connect: smtp-nf-202.his.com[216.194.196.20] X-Barracuda-Start-Time: 1677195046 X-Barracuda-URL: https://spam.his.com:443/cgi-mod/mark.cgi X-Barracuda-BRTS-Status: 1 X-Virus-Scanned: by bsmtpd at his.com X-Barracuda-Scan-Msg-Size: 5315 X-Barracuda-Bayes: INNOCENT GLOBAL 0.1837 1.0000 -0.9150 X-Barracuda-Spam-Score: -0.91 X-Barracuda-Spam-Status: No, SCORE=-0.91 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=5.0 KILL_LEVEL=7.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.105185 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Rspamd-Queue-Id: 4PN8Qw4Ncnz3tl9 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:11604, ipnet:216.194.196.0/24, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --PEIAKu/WMn1b1Hv9 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 23, 2023 at 09:20:10PM +0000, Frank Leonhardt wrote: > On 23/02/2023 20:26, Thomas Dickey wrote: > > On Thu, Feb 23, 2023 at 03:14:16PM -0500, Kurt Hackenberg wrote: > > > On Thu, Feb 23, 2023 at 04:45:21PM +0000, Frank Leonhardt wrote: > > >=20 > > > > So there's a tput utility for controlling the terminal in BSD. > > > ... > > > > Well use the tcap utility on non-BSD platforms and it suddenly does= n't > > > > work. It turns out that the penguinistas thought using the "Cap Nam= e" > > > > instead of the "TCap Code" was a good idea. Some of the codes are t= he > > > > same, some are not. In fact most are not. > > > The trouble is those are two different mechanisms, based on two diffe= rent > > > file formats, that do the same thing. > > >=20 > > > The two file formats are "termcap" and "terminfo", both from the defa= ult > > > names of the system files that use them. Manual section 5 has pages a= bout > > > both. They're similar, but different enough to be incompatible. > > >=20 > > > The "TCap codes" are the names used in termcap format; the "Capnames"= are > > > the names used in terminfo format. (A "cap" is a terminal "capability= ".) > > >=20 > > > I think termcap came first, and then somebody invented terminfo as an > > > improvement or a reimplementation of the same idea. I think termcap c= ame > > > from Berkeley Unix -- maybe invented for vi -- so FreeBSD more or less > > > stayed with it. Maybe terminfo came from Bell Labs; I think Linux pre= fers > > > it. > > most do (FreeBSD's userland is an exception) > >=20 > > It's actually ncurses (and terminfo) underneath the facade. > >=20 > > related - > >=20 > > https://invisible-island.net/ncurses/tctest.html > > > This is pointlessly incompatible, the result of haphazard evolution, = and > > > kind of a mess. It's all about 40 years old. > > >=20 > > > The library functions that use those terminal descriptions were in the > > > library "curses" (from "cursor"), long ago superseded by "ncurses" (n= ew > > > curses). Probably the program tput uses the library ncurses. You > > > might want > > > to look at that library; maybe there's a compatibility layer. Or, as > > > Daniel > > > Tameling suggested, maybe there are two different version of ncurses. > > just one - > >=20 > > https://invisible-island.net/ncurses/ncurses.faq.html#platform-portable > >=20 > > (but reading the FreeBSD sources would tell more) >=20 > The info you and Kurt have posted chimes with what I believe too. I start= ed > with System V ;-) I'm a little older than that - https://invisible-island.net/personal/oldprogs.html https://invisible-island.net/personal/twenties.html > It's pretty clear that BSD has stuck with termcap where tput is concerned. > Linux has broken this by using terminfo names instead. BSD presumably uh - no: tput was around for 5+ years before Keith Bostic adapted the command name to 4.3BSD (SVr4 was released in April 1984, with code from a year or more before, while Bostic's tput dates from October 1989 -- replaci= ng a "clear" program - if you look at the SCCS history, you'll see _that_). Linux happens to do what the vendor-Unix systems do/did (Solaris, HP-UX, AIX, IRIX/IRIX64, SCO, OSF1/Tru64). Ultimately that's because terminfo has a lot more customizability than termcap. My page on tctest gives a lot more information than you'll find in other places :-) > didn't, for compatibility.=C2=A0 I accept no excuses for breaking things = unless BSD didn't, for the obvious reason that it had no terminfo library. Bostic used termcap names, because that was what he had at hand. Once ncurses was available, Keith Bostic used that. It's a long story. > it's absolutely necessary - so anyone reading this has been warned! >=20 > I'm pretty sure (but don't quote me) that termcap came from the BSD side = (I > don't remember it on other Unix systems); terminfo was supposed to include > printer control codes as well, and I think it was there on SunOS (also BS= D. > Hmm) SunOS was basically 4.2BSD (for a starting point). A lot of that never changed (Sun didn't adopt improvements from 4.3BSD, though of course Sun did its _own_ improvements). I recall reading some details on contributions from Sun to 4.3BSD, but don't know of an accurate source of information to use as a tutorial. SunOS 4 did have a terminfo manpage, as part of System V compatibility. The manpage terminfo(5V) notes SYNOPSIS /usr/share/lib/terminfo/?/=E2=88=97 =20 AVAILABILITY This database is available with the System V software installation = op=E2=80=90 tion. Refer to for information on how to install optional software. The terminfo and termcap functions for SunOS 4 are documented in the curses manpage. It has a separate termcap.3x manpage, but no corresponding separate terminfo manpage. You may recall that Sun worked with AT&T to develop Solaris. =20 > Unless anything comes up I can see two solutions - a compatibility wrapper > for shell scripts or, perhaps, modifying BSD tput to accept both versions= of > the attribute name. Something to think about... I seem to recall that there's one ambiguity doing that, but don't see it offhand in terminfo(5). --=20 Thomas E. Dickey https://invisible-island.net --PEIAKu/WMn1b1Hv9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGYgtkt2kxADCLA1WzCr0RyFnvgMFAmP39yIACgkQzCr0RyFn vgPRjAv+OCwPmqCy4tpuDYMsV4ecyzV9e34PKrdYuUJSYj4O/aF24C3eLKpaJ6js LyrBGejEO5AbWgtnU7pUh/ZsputaSAWeVjaSooLj+p3/qPhoB9nu95BEh8Luubbe Yqka9tzFA8ri/0CPC0D1vm74hKDOt7KQsRfGINwlA7bn9H1c6ifIifL8UsRcaWVL JzeO9QuHM9ihheVPuDUe6e2uTVQcRGUN8NEEPbmJqYtWHwlZm0lCD6xvkSmWkv/x WDoQJRQigpzafD8VGzZevEjD6zx366oUL6K2TKeITR7d/CXrZTapNLyOEh2YbBob vY9E7hwrU/kUcX9+X5kFzyLj4yYQWWlXVSnNT9fId4AqYIG3EXqVWbCAtU0JedKa Xx0bvpWEC+uRC8AxKPGKfRHJoed14vZLC4EYtoilIJL+E63EargleLglx7Ybhq3I SlSJWRBISDqVJ1luF4Hj+cIWXdyM79Ej6a0p3u+h0D6fLwR3Riv0/kEzAfmbfqqJ +Gv2rmkX =80Vz -----END PGP SIGNATURE----- --PEIAKu/WMn1b1Hv9-- From nobody Fri Feb 24 18:18:08 2023 X-Original-To: freebsd-questions@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 4PNdRm4cx7z3tmWv for ; Fri, 24 Feb 2023 18:18:12 +0000 (UTC) (envelope-from yasin@freebsd.org.tr) Received: from mail.postmaster.net.tr (mail.postmaster.net.tr [51.38.82.95]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PNdRm0WVcz3LD6 for ; Fri, 24 Feb 2023 18:18:12 +0000 (UTC) (envelope-from yasin@freebsd.org.tr) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of yasin@freebsd.org.tr designates 51.38.82.95 as permitted sender) smtp.mailfrom=yasin@freebsd.org.tr; dmarc=pass (policy=reject) header.from=freebsd.org.tr Received: from [192.168.1.117] (unknown [85.99.176.114]) by mail.postmaster.net.tr (Postfix) with ESMTPSA id E056717A09E for ; Fri, 24 Feb 2023 18:18:10 +0000 (GMT) Message-ID: <1984181b9192ff857be22d32c7c546a6dcacf82c.camel@freebsd.org.tr> Subject: on partnership From: Yasin Reply-To: webmaster@yasin.net.tr To: freebsd-questions@FreeBSD.org Date: Fri, 24 Feb 2023 21:18:08 +0300 Organization: PREMIUM SERVICE PROVIDER Content-Type: multipart/alternative; boundary="=-NqDO9kzdcciEEMOlJTog" User-Agent: Evolution 3.46.4 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 X-Spamd-Result: default: False [-3.79 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.988]; DMARC_POLICY_ALLOW(-0.50)[freebsd.org.tr,reject]; R_SPF_ALLOW(-0.20)[+mx:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:16276, ipnet:51.38.0.0/16, country:FR]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MLMMJ_DEST(0.00)[freebsd-questions@FreeBSD.org]; R_DKIM_NA(0.00)[]; ARC_NA(0.00)[]; TO_DN_NONE(0.00)[]; HAS_ORG_HEADER(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[webmaster@yasin.net.tr]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4PNdRm0WVcz3LD6 X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N --=-NqDO9kzdcciEEMOlJTog Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, I recently bought the domain name freebsd.org.tr. This domain name has a country extension and is a valid domain name for Turkey. I also have the xenforo license. I want to project this domain name. I want to cooperate with you and I want to learn what we can do with you. The ones that come to my mind are: I am also the founder member of Linux Turkey Community, which is Turkey's first and only community partner. The community has a total of 7000 members, including the chat platform and other platforms. There are a lot of people out there who are interested in freebsd. That's why I can install the forum.freebsd.org.tr xenforo forum system under license and create it with the same look as forums.freebsd.org but with completely Turkish categories. At the same time, I can invite those who are interested in freebsd in the linux turkey community. I can direct the freebsd.org.tr home page to your page, and I can even set up a team and deal with the translation of the page into Turkish. Apart from that, I am open to your suggestions and requests. --=-NqDO9kzdcciEEMOlJTog Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Hello, I recently bought= the domain name freebsd.org.tr. This domain name has a country extension a= nd is a valid domain name for Turkey. I also have the xenforo license. I wa= nt to project this domain name.

I want to coop= erate with you and I want to learn what we can do with you.
The ones that come to my mind are:

I am also the founder member of Linux Turkey Community, which is Turkey'= s first and only community partner. The community has a total of 7000 membe= rs, including the chat platform and other platforms. There are a lot of peo= ple out there who are interested in freebsd.

T= hat's why I can install the forum.freebsd.org.tr xenforo forum system under= license and create it with the same look as forums.freebsd.org but with co= mpletely Turkish categories.

At the same time,= I can invite those who are interested in freebsd in the linux turkey commu= nity.

I can direct the freebsd.org.tr home pag= e to your page, and I can even set up a team and deal with the translation = of the page into Turkish.

Apart from that, I a= m open to your suggestions and requests.
--=-NqDO9kzdcciEEMOlJTog-- From nobody Sat Feb 25 14:13:02 2023 X-Original-To: freebsd-questions@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 4PP7yb4XXmz3tDFQ for ; Sat, 25 Feb 2023 14:13:11 +0000 (UTC) (envelope-from rol@robert-eckardt.de) Received: from serv15.avernis.de (serv15.avernis.de [176.9.89.163]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4PP7yZ4H8fz4ZvJ for ; Sat, 25 Feb 2023 14:13:10 +0000 (UTC) (envelope-from rol@robert-eckardt.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=robert-eckardt.de header.s=mail header.b=OV3eAJmI; spf=pass (mx1.freebsd.org: domain of rol@robert-eckardt.de designates 176.9.89.163 as permitted sender) smtp.mailfrom=rol@robert-eckardt.de; dmarc=none Received: from postit (ip-088-153-206-046.um27.pools.vodafone-ip.de [88.153.206.46]) by serv15.avernis.de (Postfix) with ESMTPSA id 3B008BDE41DF for ; Sat, 25 Feb 2023 15:13:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=robert-eckardt.de; s=mail; t=1677334388; bh=MVNlfP2vDTmceS2eNkk97V52cxF6s/lBBz86uYDjwu0=; h=Date:From:Subject:To; b=OV3eAJmILVA1v2MiY5WibPodhqrtsOHzLPH77ntvCex2NVzL31iWgT+p+E1J12X8y vkOSiD9gnsjHUSI4gHNhOtOLKu6F/ho+Mea7kZJjo9nMfgeLqLiypnYs1Trm1Fmzid jbKesAVENV6rO4qaQkKMSGy1Ppm+IyjCs/tAG5JoxG5Ia0+Eo6FrpyA8gousPT9B2o 6VrSLNXv974W8wN9xdlcRyKOhDeK8RaMQ3K1UJPDxLjL4JRIr325J+eg8pK3IXIrve IeeWY/by8SHoi1cmt0Byr0PQ4NNJTibEbM12gLO6XCHVtqaDiYTgAntSq5qoVNzF9m +Zj2O0+a3n86g== Received: from webmail.home.roberte.eu (localhost [127.0.0.1]) (authenticated bits=0) by postit (8.17.1/8.15.2) with ESMTPSA id 31PED2VE053940 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Sat, 25 Feb 2023 15:13:02 +0100 (CET) (envelope-from rol@robert-eckardt.de) X-Authentication-Warning: gluon.home.roberte.eu: Host localhost [127.0.0.1] claimed to be webmail.home.roberte.eu List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Date: Sat, 25 Feb 2023 14:13:02 +0000 Content-Type: multipart/alternative; boundary="--=_RainLoop_224_398691757.1677334382" X-Mailer: RainLoop/1.16.0 From: "Robert Eckardt" Message-ID: <536b404411ef399b151b84b46a74dd31@robert-eckardt.de> Subject: Security patches for xorg-server-21.1.4_1,1 To: freebsd-questions@freebsd.org X-Virus-Scanned: clamav-milter 0.103.7 at serv15.avernis.de X-Virus-Status: Clean X-Spamd-Result: default: False [-3.60 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[robert-eckardt.de:s=mail]; RCVD_IN_DNSWL_LOW(-0.10)[176.9.89.163:from]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DKIM_TRACE(0.00)[robert-eckardt.de:+]; RCVD_TLS_ALL(0.00)[]; DMARC_NA(0.00)[robert-eckardt.de]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:24940, ipnet:176.9.0.0/16, country:DE]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; BLOCKLISTDE_FAIL(0.00)[88.153.206.46:server fail,176.9.89.163:server fail]; RCVD_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4PP7yZ4H8fz4ZvJ X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N ----=_RainLoop_224_398691757.1677334382 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi all, does someone know, when an update for xorg-server-21.1.4_1,1 will be avai= lable? I'm running FreeBSD-12.4-RELEASE-p1 and updated the ports-tree just today= . xorg-server-21.1.4_1,1 is vulnerable: xorg-server -- Multiple security issues in X server extensions CVE: CVE-2022-4283 CVE: CVE-2022-46344 CVE: CVE-2022-46343 CVE: CVE-2022-46342 CVE: CVE-2022-46341 CVE: CVE-2022-46340 WWW: https://vuxml.FreeBSD.org/freebsd/9fa7b139-c1e9-409e-bed0-006aadcf5= 845.html xorg-server -- Security issue in the X server CVE: CVE-2023-0494 WWW: https://vuxml.FreeBSD.org/freebsd/6cc63bf5-a727-4155-8ec4-68b626475= e68.html The FreeBSD VuXML database mentions already 21.1.7,2 Regards, Robert ----=_RainLoop_224_398691757.1677334382 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
H= i all,

does someone know, when an update for xorg-server-21.1.4_1,= 1 will be available?
I'm running FreeBSD-12.4-RELEASE-p1 and updated t= he ports-tree just today.

xorg-server-21.1.4_1,1 is vulnerable:
xorg-server = -- Multiple security issues in X server extensions
CVE: CVE-2022-4283=
CVE: CVE-2022-46344
CVE: CVE-2022-46343
CVE: CVE-2022-46342<= br> CVE: CVE-2022-46341
CVE: CVE-2022-46340
WWW: https://vuxml.Fr= eeBSD.org/freebsd/9fa7b139-c1e9-409e-bed0-006aadcf5845.html

xorg-= server -- Security issue in the X server
CVE: CVE-2023-0494
WWW: = https://vuxml.FreeBSD.org/freebsd/6cc63bf5-a727-4155-8ec4-68b626475e68.ht= ml


The FreeBSD VuXML database mentions already 21.1.7,2
=
Regards,
Robert



----=_RainLoop_224_398691757.1677334382-- From nobody Sat Feb 25 18:15:03 2023 X-Original-To: questions@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 4PPFKq6PX4z3tjZL for ; Sat, 25 Feb 2023 18:15:11 +0000 (UTC) (envelope-from grahamperrin@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PPFKq5Vvwz412q for ; Sat, 25 Feb 2023 18:15:11 +0000 (UTC) (envelope-from grahamperrin@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677348911; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=m0/a8Q5H/03BuuzOltWHo4bsc7jf2UIKF0k8Kgw6pps=; b=jQAfBTROl9t3/+B0Oq3hk41fXkVcne0AMSf49tcU8dAgeNJdk3hdGuz5T3tQg00oEXqSl5 JUoL173/ABap7xbV7+YhL+i34R36WIztfu95kO0zPtXWo1Uf7foMoVAgoi2I9SnnQGy4kx B2jdrzdwunweW9/1v2E3reD7jXCbRDQjSPdP5/Y29bT/BZ2r7LZicBvBuN8C0sz5KVs/Yk Yvm/8cmtbR65rhC/2p9HLyBBucO7c9HUgqwrKi/t2gaP+XPAtR4Ymtpc/KtLEcCdFR2UX3 tzvc6iB/PQjTYymInET4KwCHylVf5FBxd+sfQwLXX9bmnKuVdQpgNhPBJ7VQfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677348911; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=m0/a8Q5H/03BuuzOltWHo4bsc7jf2UIKF0k8Kgw6pps=; b=IJ/n09BRTevrgRvBJDWlEhixHThAZ9/27eTl0y5wx7rcFmy9nxkRfPINoYX2fe+2cSUIsF CNC5LsVfDS0Tn70dLhSJoFbi8cybVHmsb4gwnQxjg+JpnV1jgXtyUBDeNmGgdPm7+BhW02 gYqbf/jVIw4Bq5hxJoyCI6jKW7oI+t1tMqduHV7cY12IZCQJcTRqnVBePBEphhVI8YCh3t H+dSDYdyg1wxzB897j31SRfHyI4x5613JmNSvBDPKPNqmZ4z58iivPrLCL4N8Bfo9kfJC4 oQFtgbm3Pm+jSHh6p/g7XW5+7+ULDFgghjvO1McyPHJOcSVyzt7egnUB+WU2cw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677348911; a=rsa-sha256; cv=none; b=Uk/1dw2OT1tBGa4PQhEq4SKF6MDPDkMoTorPv3GeHhQ6WmuH38ANZP0zM2+Seid1LX2wTw 0BmUC7FaW6f9ukYWe/iXxG/1URYR50ayk708cICtF0bn5FsaZ4ums4jlpGNIcxVasuUofE OFeBG/YWB5OYg9ZDutz7jvjC2R7kZDkK8+fPABB0Dm0UeS2zZGz0uGbMpkL1a8ebh8lAfG Rq/Bndo8qG4MzP5g2zCLH9nzLrlTlg12hRkbN1/FA9LmQISwDN5vegmc9fMg3fCOTwc6HM +ztE25Gtih/hJ79ttFQErRRP0Nbk8TiC2u75h/gmFao6QKmzfofd2d3x516ong== Received: from [IPV6:2001:470:1f1c:a0::2] (tunnel642390-pt.tunnel.tserv1.lon2.ipv6.he.net [IPv6:2001:470:1f1c:a0::2]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: grahamperrin) by smtp.freebsd.org (Postfix) with ESMTPSA id 4PPFKp51knzFTK for ; Sat, 25 Feb 2023 18:15:10 +0000 (UTC) (envelope-from grahamperrin@freebsd.org) Message-ID: <667f6be1-62d9-6f1e-c5fd-13e3385622b2@freebsd.org> Date: Sat, 25 Feb 2023 18:15:03 +0000 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: (268963) Security patches for xorg-server-21.1.4_1,1 To: questions@freebsd.org References: <536b404411ef399b151b84b46a74dd31@robert-eckardt.de> Content-Language: en-US From: Graham Perrin Organization: FreeBSD In-Reply-To: <536b404411ef399b151b84b46a74dd31@robert-eckardt.de> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------YtORh7PUMs2Hg4hUR6q62itO" X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------YtORh7PUMs2Hg4hUR6q62itO Content-Type: multipart/mixed; boundary="------------86ueHQHRut9xG2qnIWrkAp0z"; protected-headers="v1" From: Graham Perrin To: questions@freebsd.org Message-ID: <667f6be1-62d9-6f1e-c5fd-13e3385622b2@freebsd.org> Subject: (268963) Security patches for xorg-server-21.1.4_1,1 References: <536b404411ef399b151b84b46a74dd31@robert-eckardt.de> In-Reply-To: <536b404411ef399b151b84b46a74dd31@robert-eckardt.de> --------------86ueHQHRut9xG2qnIWrkAp0z Content-Type: multipart/alternative; boundary="------------Vvxdk2vH5UStXflN0b2R3QCP" --------------Vvxdk2vH5UStXflN0b2R3QCP Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMjUvMDIvMjAyMyAxNDoxMywgUm9iZXJ0IEVja2FyZHQgd3JvdGU6DQoNCj4gSGkgYWxs LA0KPg0KPiBkb2VzIHNvbWVvbmUga25vdywgd2hlbiBhbiB1cGRhdGUgZm9yIHhvcmctc2Vy dmVyLTIxLjEuNF8xLDEgd2lsbCBiZSANCj4gYXZhaWxhYmxlPyDigKYNCg0KSSBjYW4ndCBn dWVzcyB3aGVuIGEgY29tbWl0IHdpbGwgYmUgbWFkZS4NCg0KSW4gdGhlIG1lYW50aW1lLCBw bGVhc2Uga25vdyB0aGF0IHRoZSBQb3J0cyBTZWN1cml0eSBUZWFtIGlzIGF3YXJlIG9mIA0K dGhlIHNlY3VyaXR5IGFzcGVjdC4NCg0KPGh0dHBzOi8vYnVncy5mcmVlYnNkLm9yZy9idWd6 aWxsYS9zaG93X2J1Zy5jZ2k/aWQ9MjY4OTYzPg0KDQo8aHR0cHM6Ly93d3cuZnJlZWJzZC5v cmcvYWRtaW5pc3RyYXRpb24vI3QtcG9ydHMtc2VjdGVhbT4NCg0K --------------Vvxdk2vH5UStXflN0b2R3QCP Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On 25/02/2023 14:13, Robert Eckardt wrote:

Hi all,

does someone know, when an update for xorg-server-21.1.4_1,1 will be available? =E2=80=A6

I can't guess when a commit will be made.

In the meantime, please know that the Ports Security Team is aware of the security aspect.

<https://bugs.freebsd.org/bugzill= a/show_bug.cgi?id=3D268963>

<https://www.freebsd.org/administrat= ion/#t-ports-secteam>

--------------Vvxdk2vH5UStXflN0b2R3QCP-- --------------86ueHQHRut9xG2qnIWrkAp0z-- --------------YtORh7PUMs2Hg4hUR6q62itO Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEWT/lssMHB+28ly8Kt2dIb0oY1AsFAmP6UCcFAwAAAAAACgkQt2dIb0oY1Ask 2BAAlODKLj+E1pxPpYWiZNNtWlGqGOENiat0dXXWBrp3CsJMVvqsxPoWKQ2p8PsRH5ZGkJ9XDToi D3v5W1dHsN8+yC97xli2AhM6hNXawt68OD5frIARXYaHQnmHuI0Lhklr6/vOlgDXVqYGfTvt80aJ fW2IIO9qyDVZ2YBO9qrLeEa7n+FB8siZ+A17zL9LsdYMNRg9t2zVIX2hGcmnVLjQMjl588PU5CjS fyisxVMB1hZIoyp3fCe2M6bIE7WOEcOo7Uyr4zA1pcBFsQp/ghyaclCt8yGT1pgeNwAHfponm/o/ +vG0mdZ5V6EZnZLdxC22Fsq+xrKAq9Xi8C9pyaBDeBEDXVu9bPuOrONFD8+ZDe3jxxyWxN8hUxLJ E1X9KYozCDoHy1FTDTJ3fyiX+6PA3LceHBj7Y7eFSwfmt5ypWzlOL1SESy9S4YXKGAQ2m/74CIah BpQV6vXXmNfDTp/F/gUxbU0NBRp6GXY1cMtkfKNbynwndt2Ed9Fn/JScXz01CcNU7sc5Ep+VMiLV CTyikNTrcAhlhbP4BTZQ6TJBXXQ5nZuejSqBPu7hH0y329MxYBigbyKqsTYpoVmSqL2DbvBf1OlX IwDnQFVY9HKmJfaiGTsvTo3j1PGrZkeocDrNYQc/XS5Fl1/kfJDOzO4+WSJcBaJHtEmhyBk4ad56 xeA= =muwq -----END PGP SIGNATURE----- --------------YtORh7PUMs2Hg4hUR6q62itO--