![]() Termcapinfo xterm* disabled you can scroll up and down in a normal way while running the screen command using the scroll bar or the mouse wheel as well as PageUp▲ and PageDown▼ keys. ![]() ![]() You can also disable the alternate scrollback buffer by adding the following line to your ~/.screenrc file: To exit the copy mode and get back to the shell, press Q or Esc In the copy mode, you should be able to move your cursor around using the Up/Down arrow keys ( ↑ and ↓) as well as Ctrl F (page forward) and Ctrl B (page back). Inside a screen session, press the Ctrl A then Esc to enter a copy mode. #SYNCTERM SCROLLBACK BUFFER HOW TO#In this short note i will show how to scroll up and navigate inside a screen session.Ĭool Tip: Run a background process using the Linux screen command! Read more → Scroll Up in Screen The scroll up seems to be not working because the screen command has its own scrollback buffer with the special key combinations for navigation. bashrc:ġ) it doesn't require sudo privileges and can be easilly taken on the go.While using the screen command, you may notice that you can’t scroll up inside a screen session neither using the scroll bar or mouse wheel nor using the PageUp▲ or arrow up ↑ keys. I would recommend this over bashBedlam's answer of using tic, as editing. You can change the sudo bash behavior by doing sudo su before the procedure I listed. This will make so that when you are scrolling back, you'll know exactly where you used div. This makes it so that when you do the div command, it enters two dividers with 10 new lines between them, followed by a clean command. I also like to add div (for divider): alias div='echo echo "-" echo echo echo echo echo echo echo echo echo echo echo echo "-" clean' In bash, enter: nano ~/.bashrcĪnd add this line at the end: alias clean="printf '\33[H\33[2J'" This answer builds off of stingray's answer (which he did some really good work on) and is meant to complete it.ġ - To clear without loosing scrollback, enter the following command in console (no need for python as suggested in stringray's answer): printf '\33[H\33[2J'Ģ - To avoid having to memorize this, you can edit your.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |