TransWikia.com

Windows subsystem for Linux Bash - How to page up and down?

Super User Asked on December 30, 2020

The title says it all. Maybe its just my laptop, but I am running Ubuntu 16.04 for WSL and no combination of keys allows me to page up or down. I have tried every combination of Ctrl, Shift, PgUp, PgDn, and the arrow keys.

3 Answers

If there's a way to do it in the standard Windows console, I haven't found it. I've switched to ConEmu, and Ctrl-PgUp and Ctrl-PgDn work. Ctrl-UpArrow and Ctrl-DownArrow work too.

ConEmu has numerous other benefits; color themes and better cut-and-paste to name a couple of my favorites. You can run WSL bash, cmd, PowerShell, Cygwin, and more in ConEmu.

Correct answer by Joseph Thvedt on December 30, 2020

Install Windows Terminal. It's a very good replacement for the Windows console. Open its settings, Add these lines to actions sections:

{ "command": "scrollUpPage", "keys": "shift+pageup" },
{ "command": "scrollDownPage", "keys": "shift+pagedown" },

Answered by mahmoodvcs on December 30, 2020

YOu can set Properties → Layout → Screen Buffer Size → Height on the number of lines you want.

Give a higher value of about 9999

Answered by Ajmal Abbas on December 30, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP