How can I start some command for certain tabs in screen automatically?
I've tried using command directly (screen mc) but it seem to load with broken environment or terminal profile. I've also tried using stuff
command which seems to do what I need except for missing enter: if I write stuff mc
I see letters mc
in correct tab, but in order to execute it I have to press enter manually. Is there way to do it automatically? Or, for C programmers, what's the stuff
equivalent for \n
?