How to make GNU screen create new window on same path under running process (ex: top)

42 Views Asked by At

I added my .screenrc below line to create new window on same path referencing from How can I make GNU Screen start a new window at the CURRENT working directory?

bind , stuff "screen^M" #send command 'screen' to current screen session

It creates new window on current path well. However if it some process is running (ex. top), the new screen command cannot pass to current session, so it fails.

Is there any way to avoid this situation. When I compile a source, It takes long times so I can not make new window (with same path) by this method.

0

There are 0 best solutions below