2011-08-09 13:52:37 -0700, Neuberger, Sheldon:
> Hello,
> 
> Is there a way to open a new window with the same pwd as the current window?
[...]

By window pwd, I suppose you mean the current working directory
of the process started in the current window. (from the
pwd command standing for print working directory).

All you need to do is run the "screen" command with $STY
refering to the screen session in the same directory as the one
you want.

If the application in the current window is a shell, running
"screen" from there would usually do it.

It may not work if the STY variable has been unset or if the
process is running as a different username.

-- 
Stephane

_______________________________________________
screen-users mailing list
screen-users@gnu.org
https://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to