HomeFreeBSD

vidcontrol: disable p, P, and H when vt(4) is in use

Description

vidcontrol: disable p, P, and H when vt(4) is in use

These options use the CONS_SCRSHOT ioctl to capture the contents of the
current console, which is not yet supported by vt(4). Disable the
options when vt(4) is in use rather than emitting a possibly confusing
error message.

This change should be reverted if CONS_SCRSHOT is implemented for vt(4).

PR: 263099
MFC after: 1 week
Sponsored by: The FreeBSD Foundation

(cherry picked from commit c71ae91f1976746b380a8aada8676d7ae084fdc5)
(cherry picked from commit 1f4442f71fa33a8ef6d3da808e32872fb23a5700)
(cherry picked from commit 4aa249b5f367c3fe0aec287bbf156131ec75ebd3)

Details

Provenance
emasteAuthored on Apr 6 2022, 11:39 PM
Parents
rG60b63dfef66d: ssh-agent: move -x description to correct spot in man page
Branches
Unknown
Tags
Unknown