Re: [PATCH] more: ensure that on larger terminals 'h' shows only the in-app help text

Benno Schulenberg <[email protected]>
Newsgroups org.kernel.vger.util-linux
Message-ID <[email protected]>
Op 19-03-2025 om 15:10 schreef Karel Zak:
> Note that I agree the output is not very readable, and it would be
> better to start the entire help output with a separator, something
> like:
> 
>   static void runtime_usage(void)
>   {
> +	print_separator('-', 79);

Yes.  I had that at first.  :)  But then thought one could do better still.


Benno
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEFo5vQpe/16ea/USWUUu+Lrjhlh8FAmfa6U8FAwAAAAAACgkQUUu+Lrjhlh+c
Eg//c64OshT7lWC0qLRHLnhoR8ZZkXp6eYI9NuySZRKGUV9e+ILnU8pQkjk8hoyDP6hnG1tUDbvx
3LG1Z/K69GLRUL/2tH+aINKwWMft5DVoZtbeGnedyq7kAe1pFWUmbVhHKJ3zPVvW8nhHO2PkaMiS
wBqaN7OWUSHFuxzKJp5bB0p5S9KFPUfDmKGBhxc1uLQv5MEBQUxR92niwtmDyXZbaUth3jcP10XV
aGhp06xiFVUTg/AYAlEvgN2R0MFtmbnEXyAKp0wE/GXBeUD3jy0A1Y/XUPgVvGmTuC/BWDbt1HS8
2ZuXCJ33XUdIlvYWF8rseaGszxVJoCIwz+iftyWcd1yrMlvAnaf/1AUtC8+PTp93Ohu+2ySAeRzC
gLboN0Fb/Nc6AJeEHtN1Gjf9gJICs6wfFFGwiE/9e0eMFg7X9uOIHIxlAdE0bGWB4DTEaKNAnjLD
90+IEoOBxoLBN8ljX7Pzh6lLvXcz9+rzX7CDiquB+fNtfsHBkiaYDJnVxRPi31KgMuPfxA4ZrNBG
tkeC3W3TNRJ+vut9vHHGZQWo3iFFtdGWSeJouroWjXE9PiO8l6xf3vMbYXQ8d9x1pPXjdxS3FTPc
FS9VOtyJ6OKe0A9d/jmON4VNRxxQpHZ2GA/rt8JmNmgTDS3WjYq84mOC7t7z7pqO1/gRhiRsZS1O
+hk=
=wt95
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.