Bug 282734 - top(1) manpage lists ^L as refresh command, but SPC is the actual command
Summary: top(1) manpage lists ^L as refresh command, but SPC is the actual command
Status: Open
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-13 20:30 UTC by Wes
Modified: 2024-11-17 05:01 UTC (History)
2 users (show)

See Also:


Attachments
Change the man page to show SPC as the refresh key rather than ^L (416 bytes, patch)
2024-11-16 18:25 UTC, Wes
ellisgen: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wes 2024-11-13 20:30:06 UTC
The manual page states the following in the INTERACTIVE MODE section:
---
These commands are currently recognized (^L refers to control-L):

       ^L      Redraw the screen.
---

I don't think this is correct. When I attempt control + L the program responds with an unrecognized command message.

Reading through the source and the help within the program, it appears that ^L was replaced with SPC at some point in the past. If this is the case, the man page could be updated like so:

---
These commands are currently recognized:

       SPC      Redraw the screen.
---
Comment 1 Wes 2024-11-16 18:25:45 UTC
Created attachment 255222 [details]
Change the man page to show SPC as the refresh key rather than ^L

This is a diff created of the change to the top.1 file to replace ^L with SPC and remove references to ^L.
Comment 2 Alexander Ziaee freebsd_triage 2024-11-17 05:01:21 UTC
Confirmed. Having trouble finding the specific commit though.