Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

consolefont: change parameter order for compatibility with kbd >=2.7 #765

Closed
wants to merge 1 commit into from

Conversation

nmeum
Copy link
Contributor

@nmeum nmeum commented Dec 15, 2024

The newly released kbd 2.7 includes a rewrite of the setfont argument parser, with this rewritten parser command-line option need to be passed before the font. Otherwise, the parameters will be interpreted as font names. Without this patch, this causes the consolefont service to fail with the following error message:

setfont: Unable to find file: -C

Note that the setfont(8) man page still recommends passing -C after the font name. I am not sure if this is a documentation or implementation issue.

See: legionus/kbd@aed486b

The newly released kbd 2.7 includes a rewrite of the setfont argument
parser, with this rewritten parser command-line option need to be passed
**before** the font. Otherwise, the parameters will be interpreted as
font names. Without this patch, this causes the consolefont service to
fail with the following error message:

	setfont: Unable to find file: -C

Note that the setfont(1) man page still recommends passing -C after the
font name. I am not sure if this is a documentation or implementation
issue.

See: legionus/kbd@aed486b
@nmeum
Copy link
Contributor Author

nmeum commented Dec 15, 2024

Note that the setfont(8) man page still recommends passing -C after the font name.

Created a kbd issue: legionus/kbd#122

@nmeum
Copy link
Contributor Author

nmeum commented Dec 15, 2024

This turned out to be a bug in kbd.

@nmeum nmeum closed this Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant