From owner-freebsd-x11@FreeBSD.ORG Wed Sep 3 15:47:03 2014 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1CF40BBD for ; Wed, 3 Sep 2014 15:47:03 +0000 (UTC) Received: from mail.made4.biz (mail.made4.biz [IPv6:2001:41d0:2:c018::1:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D17AA1C55 for ; Wed, 3 Sep 2014 15:47:02 +0000 (UTC) Received: from 2a02-8428-011b-e000-0290-f5ff-fe9d-b78c.rev.sfr.net ([2a02:8428:11b:e000:290:f5ff:fe9d:b78c] helo=magellan.dumbbell.fr) by mail.made4.biz with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.83 (FreeBSD)) (envelope-from ) id 1XPClx-0000Ff-24 for freebsd-x11@freebsd.org; Wed, 03 Sep 2014 17:47:01 +0200 Message-ID: <540737EF.1020000@dumbbell.fr> Date: Wed, 03 Sep 2014 17:46:55 +0200 From: =?windows-1252?Q?Jean-S=E9bastien_P=E9dron?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: freebsd-x11@freebsd.org Subject: Re: vt(4) scrollback size References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="k2oPQFOm4BAIN0ov5KDpNWN3dMdaJWFWW" X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2014 15:47:03 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --k2oPQFOm4BAIN0ov5KDpNWN3dMdaJWFWW Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 02.09.2014 19:04, Kevin Oberman wrote: > Now, with vt(4), it seems that the scrolback buffer at boot time (large= > font) is only about 50 lines and after starting X (smaller font) I get > about 140 lines. The number of lines I see seems to be linked to the nu= mber > of characters. Yes, currently, the value of 500 lines is hard-coded. The buffer size is calculated like this: (500 lines) x (screen width in characters with the current font) When you load a GPU driver (*kms), the resolution allows more characters on a line on the screen, therefore the buffer gets larger. The size of the buffer could be a runtime setting (a sysctl?), the code permits this. It just needs to be done=99 :) --=20 Jean-S=E9bastien P=E9dron --k2oPQFOm4BAIN0ov5KDpNWN3dMdaJWFWW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJUBzf0XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NzA4N0ZEMUFFQUUwRTEyREJDNkE2RjAz OUU5OTc2MUE1RkQ5NENDAAoJEDnpl2Gl/ZTMhZwP/3mZl3NPGfZ/Hy8nJ97LdA0I 7AQ3W/G5xmcMTC22zLPDQUaxyzYfKEI78oYECHU75KOU7Nfw+IxUPHbNGyE99Irs culWIGwN+opT/W5DMAKTX5S8ZsrNmwSTmnaDUB0eCfYrJUVO0pTyI6aDm0s3wPJ2 p/2Hg/IgvXQX7k8qIhKPKyzL0r5EuKyhQ5gYqhSIpuqwfvBfyv1mQKaSt7YDk3wr QZoNP00r+fv+4oLUStMbZOI8Ho+m5VpKqzsuxRhQcxTzDG8huQJPrD+zCxlhx5Qx Fzo0V8kpGZxr5BmtNah7TxmHgP2E1eWZwJnjZn73fll266Sgu/6MF0ZqVVpTge6d yn1BSi0LShprnIUG8aC1xz3cIr6d2Q86i66JWU+qRTJjV41g3giQRJqvqauwKmGU FJaHZNU0WW7YvHRIlU2VxCZwwRG3VWfurWZ72Bt+N/MTaXYTAlQsOtVrmuXes5CU e/76u7AGfyNQsDOcxrtDSD+lv4AUvrAFUT31k/1vtrLKHBS0t8fU7+DpXXZvRVJn dHU/qWui99paKV+i18pOB8fNRsYQHTjpIT1MiTqys2+aRR+T/QQrVDtlHlN+qBVq RUJZ6zL02h3gbqV/o3KpOMhkQVwZ6GN9nFnNANsRbQI3D4+t0ZAWtQFE4ckrG2Lb C/WgO75GXrnWK+ks0jkh =nOCt -----END PGP SIGNATURE----- --k2oPQFOm4BAIN0ov5KDpNWN3dMdaJWFWW--