From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C48F11382C5 for ; Tue, 6 Apr 2021 12:50:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B0BC8E08F9; Tue, 6 Apr 2021 12:50:26 +0000 (UTC) Received: from gw2.antarean.org (gw2.antarean.org [141.105.125.208]) by pigeon.gentoo.org (Postfix) with ESMTP id AB6D9E08BD for ; Tue, 6 Apr 2021 12:50:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by gw2.antarean.org (Postfix) with ESMTP id 4FF6nV220Xz902B for ; Tue, 6 Apr 2021 14:50:22 +0200 (CEST) X-Virus-Scanned: amavisd-new at antarean.org Received: from gw2.antarean.org ([127.0.0.1]) by localhost (gw2.antarean.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tHgnILlZDFVD for ; Tue, 6 Apr 2021 14:50:22 +0200 (CEST) Received: from mailstore1.adm.antarean.org (localhost [127.0.0.1]) by gw2.antarean.org (Postfix) with ESMTP id 4FF6nT6zk7z8x6V for ; Tue, 6 Apr 2021 14:50:21 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mailstore1.adm.antarean.org (Postfix) with ESMTP id 4FF6nV3Q0Sz15 for ; Tue, 6 Apr 2021 14:50:22 +0200 (CEST) X-Virus-Scanned: amavisd-new at antarean.org Received: from mailstore1.adm.antarean.org ([127.0.0.1]) by localhost (mailstore1.adm.antarean.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LYHtqOQvw3Xx for ; Tue, 6 Apr 2021 14:50:22 +0200 (CEST) Received: from iris.localnet (iris.adm.antarean.org [10.55.16.47]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailstore1.adm.antarean.org (Postfix) with ESMTPSA id 4FF6nV1m3nzj for ; Tue, 6 Apr 2021 14:50:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=antarean.org; s=default; t=1617713422; bh=UE4twgCd3ik13UnX9VuNhChhqqEUtcD3JeBsjPf8iBI=; h=From:To:Subject:Date:In-Reply-To:References; b=KEKpuAbUO7ur8wGq/UR+sN23XpHK6QSe1eh/KgDeHyYUGrFe+PlQ5zO1nPESwrEUd D824yILL1wcYsBwd36rHP4jIZHyLef6CfdN09vR2KyaxubhB6deaWpqomER+N+3NMF S1EU/6IBmyJMkGmU8Go6H9OhXbmVIt39iOJl2Ujk= From: "J. Roeleveld" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Console scrollback is back again! Date: Tue, 06 Apr 2021 14:50:22 +0200 Message-ID: <5450911.DvuYhMxLoT@iris> In-Reply-To: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Archives-Salt: f8babbe6-610b-4c44-bd43-f16105f01d92 X-Archives-Hash: 209fe36ccce6fd9a709fc214baf2d9c7 On Monday, April 5, 2021 7:12:07 PM CEST Alan Mackenzie wrote: > Hello, Gentoo. > > Yes, console soft scrolling is back! That essential feature that was > stripped out of the kernel at around 5.4.x has returned! > > Only this time, it's even better! Instead of one scrollback buffer > shared between all tty's, there's now a buffer for each tty. > > How to get it working: > (i) Extract the enclosed patch file to your /usr/src/linux-5.10.27-gentoo > directory (or probably any 5.10 kernel's). > (ii) From that directory run $ patch -p0 < diff.20210405.diff. > (iii)(a) If you've already got a working 5.10.27, do a $ make oldconfig. > That should bring up the new configuration items, for which you can > accept the defaults. These two items are a flag to enable the > scrollback, and a buffer size defaulting to 128kB. > (iii)(b) If you haven't yet got a 5.10.27, just configure your kernel in > the usual way. The two new items are under Device Drivers/Graphics > support/Console display driver support. > (iv) Build the kernel. > (v) Put the new kernel into your usual boot manager. > (vi) Reboot and enjoy! > Thank you! I will add this to my "/etc/portage/patches/sys-kernel/gentoo-sources" directory. Right next to the gpl-defang patch.