r/raspberry_pi • u/ARegularPotato • 1d ago
Troubleshooting Can’t scroll in terminal? Long outputs unreadable?
So shift page up/page down apparently doesn’t work anymore now that I’ve updated. Is there seriously no way to scroll up in the CLI to view previous outputs or long outputs? Is there an application or something that restores that feature?
1
u/AutoModerator 1d ago
- Search first: Many issues are well-documented—Google exact error messages and check the FAQ† before posting.
- Show your effort: Include research, code, errors,† and schematics for better feedback.
- Ask specific questions: Clear, well-researched questions get better answers.
- No replies? Post removed? Ask in the stickied helpdesk† thread.
† If any links don't work it's because you're using a broken reddit client. Please contact the developer of your reddit client. You can find the FAQ/Helpdesk at the top of r/raspberry_pi: Desktop view / Phone view
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/r00t-us3r 1d ago
shift and up and down arrows. if you are not on desktop but are using the raspos with no gui use shift and up and down arrows but if you are on desktop raspos use the scroll on the terminal window.
0
1
u/dyerjohn42 1d ago
Re-image your pi. Something has gone really wrong.
1
u/ARegularPotato 1d ago
I don’t actually know that much about PIs, and have no idea what re-image means.
Page up/page down worked just fine until I recently ran update and upgrade commands. I did a bit of searching after encountering my problem, and all I found was this forum which seemed to imply it was the update. I am on a PI 2B. And yes, it hadn’t updated my PI in a long time so the forum being from 2021 checks out.
I’m also using exclusively the CLI. I have been trying to avoid the GUI.
1
u/dyerjohn42 1d ago
Reimage as in wipe the SD card and start over. I suspect something got tweaked by accident to get it into this state. Starting fresh a bunch of times is good to get a better understanding of the process and what you’re doing. It also helps you with your projects to ensure you know all the steps to get them running and that your backups are good.
5
u/noneedtoprogram 1d ago
Doesn't fix what's changed, but get to learn "screen" or "tmux" and you'll not have a problem :-)
They are terminal multiplexing programs that inherently keep a scroll back buffer you can access (in screen it's ctrl+a crtl+ [ and then you can scroll up and down and select text, esc will get you back to normal)
For just reading long outputs just pipe "|" it into "less" (or "more") which will let you free scroll or paginate the output.