On Sa, 14 Apr 2012, David Gómez wrote: > No. I mean, if you open a sakura terminal, and you type "bash" (that is, > a subshell) in any given tab, and under the newly created shell you open > new tabs, CWD won't be kept. That's expected behaviour. Of course, sorry that I didn't grasp that. Yes, I agree. > But, looking at your 'ps' output, you don't have any subshells running. > I don't know why the CWD is not being kept in your system. In my tests > CWD is changed correctly. Hmmm, strange, ok ... > Just do one more test to see if we can find the cause. Launch a sakura > terminal with just one tab, and change to a directory different from > your $HOME. Sent me the output of 'ls -l /proc/pid' where pid will be > the process id of the bash shell running as a child of the sakura > proccess. Iam now in /tmp and typed ls -l /proc/pid and received a list of files: [/tmp] ls -l /proc/15374 total 0 -rw-r--r-- 1 norbert norbert 0 Apr 15 21:14 autogroup -r-------- 1 norbert norbert 0 Apr 15 21:14 auxv -r--r--r-- 1 norbert norbert 0 Apr 15 21:14 cgroup --w------- 1 norbert norbert 0 Apr 15 21:14 clear_refs -r--r--r-- 1 norbert norbert 0 Apr 15 21:14 cmdline -rw-r--r-- 1 norbert norbert 0 Apr 15 21:14 comm -rw-r--r-- 1 norbert norbert 0 Apr 15 21:14 coredump_filter lrwxrwxrwx 1 norbert norbert 0 Apr 15 21:14 cwd -> /tmp/ -r-------- 1 norbert norbert 0 Apr 15 21:14 environ lrwxrwxrwx 1 norbert norbert 0 Apr 15 21:14 exe -> /bin/bash* dr-x------ 2 norbert norbert 0 Apr 15 21:13 fd/ dr-x------ 2 norbert norbert 0 Apr 15 21:14 fdinfo/ -r-------- 1 norbert norbert 0 Apr 15 21:14 io -r--r--r-- 1 norbert norbert 0 Apr 15 21:14 limits -rw-r--r-- 1 norbert norbert 0 Apr 15 21:14 loginuid -r--r--r-- 1 norbert norbert 0 Apr 15 21:14 maps -rw------- 1 norbert norbert 0 Apr 15 21:14 mem -r--r--r-- 1 norbert norbert 0 Apr 15 21:14 mountinfo -r--r--r-- 1 norbert norbert 0 Apr 15 21:14 mounts -r-------- 1 norbert norbert 0 Apr 15 21:14 mountstats dr-xr-xr-x 4 norbert norbert 0 Apr 15 21:14 net/ dr-x--x--x 2 norbert norbert 0 Apr 15 21:14 ns/ -rw-r--r-- 1 norbert norbert 0 Apr 15 21:14 oom_adj -r--r--r-- 1 norbert norbert 0 Apr 15 21:14 oom_score -rw-r--r-- 1 norbert norbert 0 Apr 15 21:14 oom_score_adj -r--r--r-- 1 norbert norbert 0 Apr 15 21:14 pagemap -r--r--r-- 1 norbert norbert 0 Apr 15 21:14 personality lrwxrwxrwx 1 norbert norbert 0 Apr 15 21:14 root -> // -rw-r--r-- 1 norbert norbert 0 Apr 15 21:14 sched -r--r--r-- 1 norbert norbert 0 Apr 15 21:14 sessionid -r--r--r-- 1 norbert norbert 0 Apr 15 21:14 smaps -r--r--r-- 1 norbert norbert 0 Apr 15 21:14 stack -r--r--r-- 1 norbert norbert 0 Apr 15 21:14 stat -r--r--r-- 1 norbert norbert 0 Apr 15 21:14 statm -r--r--r-- 1 norbert norbert 0 Apr 15 21:14 status -r--r--r-- 1 norbert norbert 0 Apr 15 21:14 syscall dr-xr-xr-x 3 norbert norbert 0 Apr 15 21:14 task/ -r--r--r-- 1 norbert norbert 0 Apr 15 21:14 wchan [/tmp] Does this help in any way? Best wishes Norbert ------------------------------------------------------------------------ Norbert Preining preining@{jaist.ac.jp, logic.at, debian.org} JAIST, Japan TeX Live & Debian Developer DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 ------------------------------------------------------------------------ `Er, hey Earthman...' `Arthur,' said Arthur. `Yeah, could you just sort of keep this robot with you and guard this end of the passageway. OK?' What from? You just said there's no one here.' `Yeah, well, just for safety, OK?' said Zaphod. `Whose? Yours or mine?' --- Arthur drawing the short straw on Magrathea. --- Douglas Adams, The Hitchhikers Guide to the Galaxy