PR: 246121 Submitted by: koinec@yahoo.co.jp MFC after: 2 weeks
Details
- Reviewers
- None
- Group Reviewers
manpages bhyve - Commits
- rGcc820887ab0e: Append Keyboard Layout specified option for using VNC.
rG19eaa01beaba: Append Keyboard Layout specified option for using VNC.
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
I only checked the doc portion of the change. I generally like this feature and look forward to using it myself.
A few suggestions on the text. Did you check the manpage with "mandoc -Tlint" and textproc/igor? They usually give some good recommendations.
usr.sbin/bhyve/bhyve.8 | ||
---|---|---|
180 | You need a line break after the sentence stop. Maybe you can also put the sentence in () in the first one or describe a bit more why (or in which circumstances) it is not working to make it a sentence of its own? | |
181 | The use of "you" is discouraged. You could write "When using a VNC client..., there is no need to ..." | |
182 | Same here. |
usr.sbin/bhyve/bhyverun.c | ||
---|---|---|
1272 | This should be setting a config variable instead so that config files can set it, and the code to fetch it should not use the global variable, but fetch the relevant config setting instead. You'd also need to document the new config variable in bhyve_config.5. | |
usr.sbin/bhyve/kbdlayout/jp_capsctrl | ||
9 | I would perhaps use 'Keys' instead of 'Key' when adding a heading for multiple entries. | |
usr.sbin/bhyve/ps2kbd.c | ||
435 | Use MAX_PATHNAME (or whatever the right constant is) | |
443 | This is probably simpler as a single call to snprintf(). strlcat would let you avoid the complicated length expression, but using snprintf() is even simpler. |
usr.sbin/bhyve/bhyve.8 | ||
---|---|---|
178–179 | Do you mean that only values that match filenames in that directory are valid? | |
179 | Per https://docs.freebsd.org/en/books/fdp-primer/manual-pages/#manual-pages-markup (last item in section 10.3.5.2. See also mdoc(7). | |
182 | For consistency with capitalization below. | |
usr.sbin/bhyve/bhyve_config.5 | ||
137–138 | See my comments about -K in bhyve(8) above. | |
140 |