shell-novice
shell-novice copied to clipboard
adding linux possible clear exception
fixes #1492
I added language that for some linux systems clear might also clear the scrollbuffer.
I'd also recommend making this callout a spoiler instead since it is optional content instead of content that should be highlighted. I can switch this back if maintainers disagree.
Thank you!
Thank you for your pull request :smiley:
:robot: This automated message can help you check the rendered files in your submission for clarity. If you have any questions, please feel free to open an issue in {sandpaper}.
If you have files that automatically render output (e.g. R Markdown), then you should check for the following:
- :dart: correct output
- :framed_picture: correct figures
- :question: new warnings
- :bangbang: new errors
Rendered Changes
:mag: Inspect the changes: https://github.com/swcarpentry/shell-novice/compare/md-outputs..md-outputs-PR-1493
The following changes were observed in the rendered markdown documents:
02-filedir.md | 8 ++++++--
md5sum.txt | 2 +-
2 files changed, 7 insertions(+), 3 deletions(-)
What does this mean?
If you have source files that require output and figures to be generated (e.g. R Markdown), then it is important to make sure the generated figures and output are reproducible.
This output provides a way for you to inspect the output in a diff-friendly manner so that it's easy to see the changes that occur due to new software versions or randomisation.
:stopwatch: Updated at 2025-10-24 10:52:12 +0000
Investigating this. Please try to wrap text at 80 characters to help readability of source files.
I'll wrap to 80 char as requested. Going forward we might want to consider semantic line breaks instead as they are more readable and accessible.
clear -x should preserve scroll back buffer https://www.man7.org/linux/man-pages/man1/clear.1.html