Re: find the CWD of a child process

2010-01-08 Thread Philip Guenther
On Thu, Jan 7, 2010 at 10:05 PM, Adam Thompson wrote: > In article <20100104163847.gc1...@fuckup.hcl-club.lu>, j...@hcl-club.lu ... >> Here's a exerpt from HandleSpawnTerminal() in xenocara/app/xterm/misc.c: >> >> /* >> * Determine the current working directory of the child so that we can >> * spa

Re: find the CWD of a child process

2010-01-08 Thread Alexander Hall
Jona Joachim wrote: > Hi! > It happens to me all the time that I want to spawn a new xterm in the > same directory that I am currently in, for example when I want to open a > file with vim but keep a shell in the same directory. $ xterm +ls ? /Alexander

Re: find the CWD of a child process

2010-01-07 Thread Adam Thompson
In article <20100104163847.gc1...@fuckup.hcl-club.lu>, j...@hcl-club.lu says... > > Hi! > It happens to me all the time that I want to spawn a new xterm in the > same directory that I am currently in, for example when I want to open a > file with vim but keep a shell in the same directory. > > x

find the CWD of a child process

2010-01-04 Thread Jona Joachim
Hi! It happens to me all the time that I want to spawn a new xterm in the same directory that I am currently in, for example when I want to open a file with vim but keep a shell in the same directory. xterm actually has a nice builtin function for this: spawn-new-terminal() you can affect that fu