From nobody Tue Apr 16 20:13:27 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 4VJwGJ0ZYVz5H0XK; Tue, 16 Apr 2024 20:13:28 +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 4VJwGH58x4z4vN2; Tue, 16 Apr 2024 20:13:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713298407; 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=7uX8OMEXcSfiJsKaXZGJxxnbNFlbgHE2w9Pzs85ddcY=; b=sQjbd1CkF/k9/Q2OvQVxRwQrtL9lntty5UInq5iQDubXeDYRsgaMnh/WPR3bgBlmaid/3X Q+epJRZ+eTrstjoN/kNalQW0yyvsPZ1i9bXrU4yO1LtplB3BeL5DA18NJr6csMb7+Miam7 Djckg7ZxkYZmaBw5P031/b77lcK8vcbT1rpRwOg9udPaK4hCLwxvrKoQt1sRah4AZy5jyS Nmw3N2x8/TyF70fJF7JN+ZoDbc3O6VqlIlogtby9q63w1p6sFz+bE5ow1j64ZRhH4AElSY RZOb9XYfbjPktFgLD9pgV0GHkZEJAFFYf2PhVFODjgLA4oU8U+nPUtjDL3G3lw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713298407; a=rsa-sha256; cv=none; b=UdEH/1YPqg/9Fx0rBpI9pYy65roYieu5K2JxWseEeuZSZRLcFMZ0rl5zw7dkBt32IRp2ua N0JO8uTwaQ2WYm8pVkQS+QR87RHJ3pThDXhSZQH+b3JsLG/1MtiOv1kEpIdWrhK5hUtXXa jM9iNcZ9JfZnYUY/pNvJZf+MRAPBdff/gZco1AXmIM5vhVKB/yn9tL/uIOesE/3xLKCDJV ERGtTBDv3kwvFY9mRL+TxDhzBmoG3BOkBM4VWyqsYTeJuVCaoWKK4kP9uGRal0Ha7nXn/8 qJUAJneaX0uwsktBg2VT3K9+8905vdG8ck329fdxR16LscVSUR7HMnOWHjRuVQ== 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=1713298407; 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=7uX8OMEXcSfiJsKaXZGJxxnbNFlbgHE2w9Pzs85ddcY=; b=ROnyU2k6dwjOLzIdA1dM/odAU4YfvBmCnPZgTtkT2mMv8tuikYdJMzzsu+47huk3+Vs/vG syszCNeCDwjED/gTr43KC4vDUs2vDQBDsL6YNOQfQ0MSQLTslUOmYqI2J+NfIfGbW4CLJv b31WosmcTP7rqj2Ih7Ksi6eaVYCrhiXdySFGHDnhXICUyNz49NklfQBcEWHAaaMctuqNxs fCShHbKirCuRPZbx5IEq67X5cAFzMeIcYi9U0qj5IXYGLo1iID6wwwzEA9TYbDCJuZXITX Tytl8aD3BC2p5X/hUZtBltjbpaIX4B92fweOQyZLBF0UvHBOdQEYD4EGGbPuwA== 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 4VJwGH4lk5zxWX; Tue, 16 Apr 2024 20:13:27 +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 43GKDR7B039612; Tue, 16 Apr 2024 20:13:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43GKDRYJ039609; Tue, 16 Apr 2024 20:13:27 GMT (envelope-from git) Date: Tue, 16 Apr 2024 20:13:27 GMT Message-Id: <202404162013.43GKDRYJ039609@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Warner Losh Subject: git: 71969b965b60 - stable/14 - 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-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/stable/14 X-Git-Reftype: branch X-Git-Commit: 71969b965b6051c1af4989efb7665c1e04d89f15 Auto-Submitted: auto-generated The branch stable/14 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=71969b965b6051c1af4989efb7665c1e04d89f15 commit 71969b965b6051c1af4989efb7665c1e04d89f15 Author: Warner Losh AuthorDate: 2024-02-29 17:58:43 +0000 Commit: Warner Losh CommitDate: 2024-04-16 19:54:28 +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 (cherry picked from commit 8b9178cd0d35ff2beafebdd51c8c44ba2b5aeb0f) --- 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.