From nobody Thu Feb 29 17:59:31 2024 X-Original-To: dev-commits-src-all@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 4TlzWS00Yrz5Ccxs; Thu, 29 Feb 2024 17:59:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TlzWR6Zl1z4GqP; Thu, 29 Feb 2024 17:59:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709229571; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7TNIj0lN6UWX8GDNWhWOHXpISZlH+V6PV5whZTwv2B0=; b=VrcrjReoBaL32lgez2oBd8sV9DHZ9NyRChAaVDAkstvH5w6AVEM3TX7G34eazBJv9TeMcw u4nisKF/A2HjYkmpNXxaNqHlUhAG1kHV9js/BSGnSmqm3SL6oqsECOasLjUOMQ4IdccFP5 swaA/wnLZME8pP8/FWrhYLNxXJ+EkW6LMOxB4g7NCNwS2pYEAFQAZwqPwHQrk+KFi2987Q qTtjv/8CIV57Ab138+0Ay/8JweGgy7d8NW3/Q5i5uDWteeZLnyK905dkunurpzf6L8Ey5Q TH6z6hfwe8lWKyiqCOjwlHL4wrYSrkSCVA90Y/E+sJt7Z2PQwcDjPNoU1hcgjg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709229571; a=rsa-sha256; cv=none; b=UkPG402fngCExM5npqB3wc8oS3gFvPoirGi9PtWrKJ1g4VjqyXkUpsz8dpqT7uzLSqmgH6 pSgn2dEGoywopDYAXKrooteDZ6pQhJ3h2UVQ1uLtG46tZexd9ykr1m4mGIZYuCnzel7PZr 0tmjFKCQSvyZtCxnjAaMe+HuLYtFQdEBDx43Eg0y8xgNbJlfph0eqzI8GIOzSAB4bDc6cr 9D2PRkSgsOPMiGBn67mdiHJT/GaRyvLDvnUekicOnGvJ4Li+5WgGDwmp8y4ZM2it/iHUFl E10WuqjWm1Cdm71mZRaLpBPLvBsSn39Po1lwOOqkH7VgkR+4ZFvW0K1RoA0W+A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709229571; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7TNIj0lN6UWX8GDNWhWOHXpISZlH+V6PV5whZTwv2B0=; b=yQWneSPpDGKVCmLzfjJIMzvpQe0Hmf+D2pg1atp5YhabPrCMSzaWK+dhAg3RfvyJKmo5bP iIaaq9r703AJIF+pXLJjGkbEuK0bRIfHI8Ec6XWipJjPMnvDyGWOor28KmXsNQyIQ01h9g jynykkmc183FB0hEfqNlAqXGa25ZtKNGjzlLCDS5s3OCaQSgy94hQnB81DjvQZQbkmvt7s 6Ys83L8Ee8kCIF4RkN1yHBDwlBZYOsX+3xFqTXa3pqzMxwpqXsx7Bj+fS6F9dVX0mD8Do8 gykCs1TUFhaCF9aOTJP0lnNdhuebIUdekC5nJOQ8Rxjzq6MoYjCfj6/RQfNJcQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TlzWR6BMzzsPt; Thu, 29 Feb 2024 17:59:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41THxVbg077603; Thu, 29 Feb 2024 17:59:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41THxVse077600; Thu, 29 Feb 2024 17:59:31 GMT (envelope-from git) Date: Thu, 29 Feb 2024 17:59:31 GMT Message-Id: <202402291759.41THxVse077600@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 8b9178cd0d35 - main - loader/lua: Remove pager shim List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8b9178cd0d35ff2beafebdd51c8c44ba2b5aeb0f Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=8b9178cd0d35ff2beafebdd51c8c44ba2b5aeb0f commit 8b9178cd0d35ff2beafebdd51c8c44ba2b5aeb0f Author: Warner Losh AuthorDate: 2024-02-29 17:58:43 +0000 Commit: Warner Losh CommitDate: 2024-02-29 17:58:43 +0000 loader/lua: Remove pager shim Just after 12.2 and before the stable/13 branch, kevans added lpager.c to provide a pager interface for commands written in lua. It was merged into 12.3. Now that 12.2 is long since EOL, we can remove the pager shim here. Nobody needs that old loader + new lua scripts. Plus only one command is affected. Sponsored by: Netflix Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D44142 --- stand/lua/cli.lua | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/stand/lua/cli.lua b/stand/lua/cli.lua index 6832da0a31a5..596e55a8d1d8 100644 --- a/stand/lua/cli.lua +++ b/stand/lua/cli.lua @@ -30,18 +30,6 @@ local core = require("core") local cli = {} -if not pager then - -- shim for the pager module that just doesn't do it. - -- XXX Remove after 12.2 goes EoL. - pager = { - open = function() end, - close = function() end, - output = function(str) - printc(str) - end, - } -end - -- Internal function -- Parses arguments to boot and returns two values: kernel_name, argstr -- Defaults to nil and "" respectively.