I have a running process that I've started with screen. I want to enable log file "on the fly" sending CTRL+a SHIFT+H from a script:
screen -dr process -X stuff ^A H , screen says --> -X: stuff: invalid option
screen -dr miner -X stuff "^A H" , screen says nothing but log file is not enabled
Using -p 0 does not make any difference. Basically what I need is to send SHIFT+H as it seems that for screen it's not the same to send "H" than SHIFT+H