-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
30 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# :bulb:{.blink} Tips & Tricks | ||
|
||
A list of useful and multi-purpose tips and tricks that can help you in your daily work. | ||
|
||
- [Setup `tmux` infinite scroll](./tmux/infinite_scroll.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Setup `tmux` infinite scroll | ||
|
||
Sometimes it is useful to run the `yarprobotinterface` directly from the terminal. By using `tmux`, you can detach from the SSH session. However, by default, the scrollback is not infinite, and not all messages are streamed to the logger. | ||
|
||
To overcome this limitation: | ||
|
||
1. Install xclip with: | ||
```console | ||
sudo apt install xclip | ||
``` | ||
2. Create a configuration file with: | ||
```console | ||
touch ~/.tmux.conf | ||
``` | ||
3. Set the following content in the configuration file: | ||
``` | ||
set -g mouse on | ||
set -g history-limit 100000 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters