Re: Minoterm scaling issue

Bernd Paysan <[email protected]> Thu, 25 Sep 2025 09:46:02 +0200
Newsgroups gmane.comp.lang.forth.gforth
Message-ID <2612527.Fkqi6BYcAy@wukong>
--nextPart5441188.C03pvyZki7
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"; protected-headers="v1"
From: Bernd Paysan <[email protected]>
To: Gforth <gforth-mXXj517/[email protected]>
Cc: Ethan Azariah <[email protected]>
Subject: Re: Minoterm scaling issue
Date: Thu, 25 Sep 2025 09:46:02 +0200
Message-ID: <2612527.Fkqi6BYcAy@wukong>
In-Reply-To: <720bdb21-ef4d-4637-9ca2-415801c2c8a9-fsFgPW9xikU7lZ9V/[email protected]>
References: <720bdb21-ef4d-4637-9ca2-415801c2c8a9-fsFgPW9xikU7lZ9V/[email protected]>
MIME-Version: 1.0

Am Mittwoch, 24. September 2025, 20:59:13 Mitteleurop=C3=A4ische Sommerzeit=
 schrieb=20
Ethan Azariah:
> I've just got a tablet running LineageOS 14.1, Android 7.1.2. Minoterm is
> scaled as if it were a phone; unreasonably large on the 10" screen, In
> portrait mode it has 47 columns, in landscape 65 columns, too few for a
> block editor with line numbers.
>=20
> What could I change to scale it differently?
>=20
> Can I get the native pixel size of the display within gforth?

Yes, Gforth does that. Use

screen-diag f.

to get the screen diagonal size in mm.  I guess your Android simply lies to=
=20
you, which results in wrong scaling.  You can then set the FValue DEFAULT-
SCALE to something else than 1. E.g.

0.5e to default-scale terminal-scale-me

will give you twice as many columns and rows.

=2D-=20
Bernd Paysan
"If you want it done right, you have to do it yourself"
net2o id: kQusJzA;7*?t=3Duy@X}1GWr!+0qqp_Cn176t4(dQ*
https://net2o.de/

--nextPart5441188.C03pvyZki7
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----

iQJPBAABCAA5FiEERJ1NDqPQRwYnwBjr9y2Uk5MtoGcFAmjU8zobFIAAAAAABAAO
bWFudTIsMi41KzEuMTEsMiwyAAoJEPctlJOTLaBniaEP/iAHMX5nKwSNBMUsRPUc
IQgrxoLYw2ITZL4Qoh6OsG6aUeH/swHh6H5NRNArI1U5JwAaPBFwt3CigTeP30ER
Goku7YIyJpbr1C8i1GWJrXR2wbc6CmNwV3b0FI66ypgpXClbPRE2O6tQ9AqFPML3
+KoofWmWYQOsdBKjkGg8pPRccZ+NcHxZpM4Wr+waqeVM3/ESOwMZFaGl9eJrkw0C
G+ajMwa3vq6trFfPGgqmRrlN+FA4h5jsXFb90IKpd63QybIVWp/vQPjRP35z4245
R3fAWi1WhL44m/csZxXLXBTm8g52C40eHOyrFq17J1o4dcmwxMHJp97dUIi7eh+d
Bznizd5c61gXVrRPvGz1nDxajgTaT+dvfh5ClmmKMLFiCs+5Rfifs6sAPkJEltX4
GHmSRVlP0CFTqwLoQyKdYo9tl915o92E5OW/CplMvnJqC+cxvtuALuj/YFHcTaTX
l7LNHbDo4LcmtW/jXk5grrCkMtPnjT8Ap0p1lR2dimKavcYutrvg0VfhgKvzNoGx
hYF0vNwmDLZhKPORBz5Q6RaHBMnLqsZuoXeiRCznQlwtcm+F9GDmMCFQ+3sitEJ1
AVqyntkyWP2XJK09bLGTGnEdehCPs2voRiztwwhzwaf0bk3fr4hsfyf7Gx8zgYYe
Ijyja5Igpgaxy8iSwciMDjMb
=hjAD
-----END PGP SIGNATURE-----

--nextPart5441188.C03pvyZki7--