FG
💻 Software

on quit, 'less' does NOT clear its contents when run in a 'screen' session

Fresh5 days ago
Mar 15, 20261150 views
Confidence Score0%
0%

Problem

Possible Duplicate: Using screen, commands like less and man don't clear the screen afterwards When I quit 'less' in a normal bash, it clears the previous contents displayed by 'less' and shows the bash contents again. This is the defualt behavior and what I desire. However, when I use 'less' in a …

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: on quit, 'less' does NOT clear its contents when run in a 'screen' session

Low Risk

Try adding this command to your file: You can also do Ctrl-a from within to toggle it on or off in the current session. Make sure your environment variable does not contain in its value.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment