Comment 7 for bug 977232

Revision history for this message
Norbert Preining (preining) wrote : Re: [Bug 977232] Re: opening new tab does not keep working directory

On Do, 12 Apr 2012, David Gómez wrote:
> By subshell i mean running a bash shell as a child of another bash
> shell. If you open a new tab, the CWD won't be kept.

Hmm, but how can you do it in a different way?

> Open a couple of tabs in a sakura terminal, check that the CWD is not
> kept and send the output of 'ps -axf' (only the part with the sakura
> proccess and its childs)

23933 ? Sl 0:00 sakura
23938 ? S 0:00 \_ gnome-pty-helper
23939 pts/0 Ss+ 0:00 \_ /bin/bash
23951 pts/2 Ss+ 0:00 \_ /bin/bash
23962 pts/3 Ss+ 0:00 \_ /bin/bash
23973 pts/4 Ss 0:00 \_ /bin/bash
23985 pts/4 R+ 0:00 \_ ps -axf

So, we have to change sakura to start a *new* shell instead of
sub-processing? Do I understand that right?

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
------------------------------------------------------------------------
MAPLEDURHAM (n.)
A hideous piece of chipboard veneer furniture bought in a suburban
high street furniture store and designed to hold exactly a year's
supply of Sunday colour supplements.
   --- Douglas Adams, The Meaning of Liff