Configure GNU screen so that it stores command histories in files
Posted
by
user65950
on Server Fault
See other posts from Server Fault
or by user65950
Published on 2011-01-06T22:27:01Z
Indexed on
2011/01/06
22:55 UTC
Read the original article
Hit count: 257
I would like to configure GNU screen such that it stores the command histories of all the different windows in different files.
I know by default GNU screen does not store the command histories (of its different windows) in a file at all (it stores them in memory instead), but it might be possible to tell it to store them in files instead?
The different command history files should have the names <session>.<window>.history
, or similar.
Does anyone have an idea how to do that?
(Just to be clear, I want each GNU screen window to write a different file. I like that each window has a different history, and I typically run different types of commands in the different windows.)
© Server Fault or respective owner