[Bug 282734] top(1) manpage lists ^L as refresh command, but SPC is the actual command
Date: Mon, 06 Jan 2025 10:48:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282734
Kai Burghardt <freebsd@KaiBurghardt.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |freebsd@KaiBurghardt.de
--- Comment #3 from Kai Burghardt <freebsd@KaiBurghardt.de> ---
(In reply to Wes from comment #1)
Please write something like "(space bar)". The string "SPC" appears to
be an acronym, i.e. three words beginning with the letters S, P, and C
respectively. This is very confusing.
(And I know `top(1)`'s online help (key `h` or `?`) shows "SPC", too.)
(In reply to Alexander Ziaee from comment #2)
Commit c8aa5e526fc02c360b09718a7dcb5db1876dca05 removes the mapping
of `\f` (form feed) to `CMD_redraw` (see `command_chars`). Commit
b26cf3d06cf3eb014c93aef569748e60feae1911 does not associate any char
with `CMD_redraw` (in `all_commands`).
Eventually commit c8aa5e526fc02c360b09718a7dcb5db1876dca05 introduces
the line `{' ', "update the display", false, CMD_update},` but this
is actually the update command.
If I do something like `printf '\f' > /dev/ttyv1` (where `ttyv1` runs
an instance of `top(1)`) I do not observe any change (except the
cursor moving one box down till the next refresh).
--
You are receiving this mail because:
You are on the CC list for the bug.