Re: Get current working directory from another screen window

2011-06-24 Thread Artur Skonecki
On Fri, 24 Jun 2011, Michael Parson wrote: -- begin chscdir -- #!/bin/sh screen -X msgwait 0 screen -X at "$1" stuff "" screen -X at "$1" stuff "pwd > $TMPDIR/buffer ^M" screen -X readbuf screen -X stuff "cd " screen -X paste . screen -X removebuf screen -X msgwait 4 -- end chscdir -- If on

Re: Get current working directory from another screen window

2011-06-24 Thread Michael Parson
On Wed, 22 Jun 2011, Tomasz Muras wrote: Hello, I'm wondering if something like this would be possible: I would like to quickly switch to the same current working directory as in another screen window. Would it be possible to read cwd of another window? It takes a bit of screen scripting, but

Re: title in gui terminal?

2011-06-24 Thread Matthias Leopold
Am 2011-06-23 20:13, schrieb Sadrul Habib Chowdhury: On Wed, Jun 22, 2011 at 9:47 AM, Matthias Leopold wrote: hi, i'm a newbie concerning configuration of screen so this a question about distro standard configurations: when i ssh from my debian box to a redhat server and start a screen there

Re: Get current working directory from another screen window

2011-06-24 Thread David Collins
On Wed, Jun 22, 2011 at 10:38 AM, Tomasz Muras wrote: > Hello, > > I'm wondering if something like this would be possible: > I would like to quickly switch to the same current working directory > as in another screen window. Would it be possible to read cwd of > another window? if you are not ru