[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
prevent screen region clearing
From: |
Tavis Ormandy |
Subject: |
prevent screen region clearing |
Date: |
Mon, 21 Dec 2020 08:38:27 -0800 |
Hey, is there any way to prevent screen from clearing a region when the
process exits?
I'd like to use `split -v`, with a shell on the left and some notes
on the right. If I C-a tab to switch to the empty region and `:screen
cat notes.txt`, the region is immediately cleared.
I could use less or whatever to keep the process alive - but that means
when my shell exits screen no longer exits - I would have to manually
quit less.
I know about the zombie command, but that's similar - I have to manually
tab to the region and exit when I'm done - I'd much prefer a way to just
not have the region cleared!
I thought maybe I could use a termcapinfo trick, like using `screen -T
special cat /proc/cpuinfo` and `termcapinfo special cs=` but that didn't
seem to work.
Tavis.
--
----------------------------
$ finger taviso@sdf.org
----------------------------------------------
- prevent screen region clearing,
Tavis Ormandy <=