Bug 248621 - rc.conf.5 suggest nonexistent option in allscreens_kbdflags example
Summary: rc.conf.5 suggest nonexistent option in allscreens_kbdflags example
Status: New
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-rc (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-12 14:51 UTC by Piotr Smyrak
Modified: 2025-01-07 12:08 UTC (History)
1 user (show)

See Also:


Attachments
take account of commit 031c57af94700fbe450cb47897e5b2fcb6006131 (449 bytes, patch)
2025-01-07 12:08 UTC, Kai Burghardt
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Smyrak 2020-08-12 14:51:26 UTC
The man page for rc.conf states as follows:

     allscreens_kbdflags
                 (str) If set, kbdcontrol(1) is run with these options for each
                 of the virtual terminals (/dev/ttyv*).  For example, “-h 200”
                 will set the syscons(4) or vt(4) scrollback (history) buffer to
                 200 lines.

This is wrong since the -h option has been moved from kbdcontrol to vidcontrol
Comment 1 Kai Burghardt 2025-01-07 12:08:09 UTC
Created attachment 256499 [details]
take account of commit 031c57af94700fbe450cb47897e5b2fcb6006131

This patch just removes the sentence in question without replacement.
Inserting a different example just for the sake of having an example
is ridiculous.

Any reasonable setting can be set via a dedicated `rc.conf` variable
(`-b`: `keybell`; `-f`: `keychange`; `-l`: `keymap`; `-r`: `keyrate`
`-k`: `keyboard`), so showing them would constitute a poor example.