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

ecm boot no cr #182

Merged
merged 2 commits into from
Aug 6, 2024
Merged

ecm boot no cr #182

merged 2 commits into from
Aug 6, 2024

Conversation

ecm-pushbx
Copy link
Contributor

This PR eliminates lone Carriage Returns used by the kernel, if SWITCHES=/F or SWITCHES=/N is used in fdconfig.sys. Reason: They annoy me in dosemu2 output when redirected into a file.

In combination with SWITCHES=/N in fdconfig.sys this commit makes
it so only proper CR LF linebreaks are displayed, for instance when
piping dosemu2 output to a file.

SWITCHES=/F will set SkipConfigSeconds so that config.c SkipLine will
display a string reading "\r%79s\r" to delete the prompt that it has
displayed. This overwriting should not be needed for SkipConfigSeconds=0
however. Refer to subsequent commit.
This allows to boot with SWITCHES=/F without any lone CRs.
@PerditionC PerditionC merged commit f794777 into FDOS:master Aug 6, 2024
1 check passed
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.

2 participants