Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Sep 2014 17:46:55 +0200
From:      =?windows-1252?Q?Jean-S=E9bastien_P=E9dron?= <jean-sebastien.pedron@dumbbell.fr>
To:        freebsd-x11@freebsd.org
Subject:   Re: vt(4) scrollback size
Message-ID:  <540737EF.1020000@dumbbell.fr>
In-Reply-To: <CAN6yY1tjT5myu8cOrqS0rrDvqBO2VSsm84cdkNoCBCVP_w6%2BGA@mail.gmail.com>
References:  <CAN6yY1tjT5myu8cOrqS0rrDvqBO2VSsm84cdkNoCBCVP_w6%2BGA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?540737EF.1020000>