Date: Mon, 04 May 2009 21:13:27 -0400 From: Joe Marcus Clarke <marcus@marcuscom.com> To: barbara <barbara.xxx1975@libero.it> Cc: freebsd-gnome <freebsd-gnome@freebsd.org> Subject: Re: about last gnome-terminal patches (cwd on new) Message-ID: <1241486007.1359.105.camel@shumai.marcuscom.com> In-Reply-To: <KJ58C7$C6C06BB0577DA1DAE9D47A431D42DC0C@libero.it> References: <KJ58C7$C6C06BB0577DA1DAE9D47A431D42DC0C@libero.it>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-l6N8SCSHGUzotr2aXUat Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2009-05-05 at 01:38 +0200, barbara wrote: > I'm talking about the cwd patches. > I prefer the old behaviour, but no problem, I can get used to that. > But that's why I hate gnome-terminal on most linux distributions right no= w :). >=20 > Another minor annoyance after moving to 2.26 is the cwd on a new tab/wind= ow after running su: >=20 > [bar@satanasso:~]$ su - > Password: > satanasso#=20 > ... after ctrl+n or ctrl+t, on the new window or tab > [bar@satanasso:/]$ pwd > / >=20 > I was seeing this before the last set of patches (at least with 2.26.1). = Guaranteed. >=20 > What's funny is that's apparently happening only with the first gnome-ter= minal opened! > Opening another gnome-terminal and doing the same sequence of operations = on that one results in a "expected" behaviour. >=20 > Could it be caused by something in my shell initialization files? > Or is anyone else seeing that? This is part of new code in gnome-terminal which sets the cwd to "/" just after initialization. This is to avoid potential problems with gnome-terminal preventing media from being unmounted. If the new cwd code cannot determine the previous shell's cwd, then it will tell the new terminal to set its cwd to "/". This is consistent with Linux and Solaris behavior. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-l6N8SCSHGUzotr2aXUat Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkn/krYACgkQb2iPiv4Uz4c0UwCdEsbM8YMUfQeHRZWk2aR3+byr iqYAoJeIkOb1GTFH0igI5OX1NzbmXs34 =dznZ -----END PGP SIGNATURE----- --=-l6N8SCSHGUzotr2aXUat--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1241486007.1359.105.camel>