I want to use a combination of the date and time at startup as filename for GNU screen's logfile. In screenrc, if I putlogfile '~/log/screen_%H_%m%d%Y_%0c-%t.%n'I get a dynamically generated file, e.g.screen_nanna13_06062012_08:03-bash.0Now I want screen to display this filename in the hardstatus bar. I cannot usehardstatus string '~/log/screen_%H_%m%d%Y_%0c-%t.%n'because the placeholders are updated whenever the time changes.The solutions I can come up with involve a bash code executed before screen-startup but that's not good because the separate screen-windows are supposed to get their own dynamic logfile.Is there a variable-substitution mechanism in screen?
dynamically generated logfile in screenrc shown in hardstatus
gnu screen