Re: xterm and home-dir with automounter

2009-01-13 Thread Rudi Ludwig
On Tuesday 13 January 2009 12:24:32 Julian Leyh wrote: > Rudi Ludwig schrieb: > > I have put that at the end of my .profile and it works for remote > > login (ssh). > > But the KDE konsole and xterm still resist and display the > > physical location at start-up instead of $HOME (~). > > I did logo

Re: xterm and home-dir with automounter

2009-01-13 Thread Julian Leyh
Rudi Ludwig schrieb: I have put that at the end of my .profile and it works for remote login (ssh). But the KDE konsole and xterm still resist and display the physical location at start-up instead of $HOME (~). I did logout of the X session and login again, just to make sure. Are you using a l

Re: xterm and home-dir with automounter

2009-01-13 Thread Ben Calvert
an interesting discussion of this very problem: http://plan9.bell-labs.com/sys/doc/lexnames.html On Jan 12, 2009, at 2:44 PM, Philip Guenther wrote: On Mon, Jan 12, 2009 at 2:35 PM, Rudi Ludwig wrote: On Monday 12 January 2009 20:38:03 Philip Guenther wrote: When the shell is starte

Re: xterm and home-dir with automounter

2009-01-12 Thread Philip Guenther
On Mon, Jan 12, 2009 at 2:35 PM, Rudi Ludwig wrote: > On Monday 12 January 2009 20:38:03 Philip Guenther wrote: >> When the shell is started by konsole, or xterm, or login, it's >> working directory has already been set to $HOME. At that point, it >> can only see the physical path (sans symlinks)

Re: xterm and home-dir with automounter

2009-01-12 Thread Rudi Ludwig
On Monday 12 January 2009 20:38:03 Philip Guenther wrote: > When the shell is started by konsole, or xterm, or login, it's > working directory has already been set to $HOME. At that point, it > can only see the physical path (sans symlinks). If you want it to > see the logical path, then you nee

Re: xterm and home-dir with automounter

2009-01-12 Thread Philip Guenther
On Mon, Jan 12, 2009 at 10:49 AM, Rudi Ludwig wrote: ... > Opening a new Konsole in KDE and trying some commands: > ibook:/usr/home/rudi$ /bin/pwd > /usr/home/rudi > ibook:/usr/home/rudi$ cd > ibook:~$ /bin/pwd > /usr/home/rudi > ibook:~$ echo $HOME > /home/rudi > ibook:~$ echo $PWD > /home/rudi >

Re: xterm and home-dir with automounter

2009-01-12 Thread Rudi Ludwig
On Monday 12 January 2009 04:13:31 Ariane van der Steldt wrote: > On Sun, Jan 11, 2009 at 05:15:33PM +0100, Rudi Ludwig wrote: > > On Sunday 11 January 2009 12:44:31 Rudi Ludwig wrote: > > > i ... despite $PATH being > > > /home/ That is, xterm initially > > > reads:ibook:/usr/home/rudi$ > > >

Re: xterm and home-dir with automounter

2009-01-12 Thread Rudi Ludwig
On Monday 12 January 2009 17:41:09 mhe...@gmail.com wrote: > > within an xsession or when login in remotely via ssh the initial > > path > > > > is always: /usr/home/ despite $PATH being /home/ > > > > That is, xterm initially reads: ibook:/usr/home/rudi$ > > > > instead of just: ibook:~$ > > > >

Re: xterm and home-dir with automounter

2009-01-12 Thread mherrb
On Jan 11, 2009 12:44pm, Rudi Ludwig wrote: > Hello, > > > > for flexibility I have configured my computer (OpenBSD 4.4; macppc) > > with the home directory being auto mounted. > > > > that is /etc/amd/amd.home reads: > > # > > * type:=link;fs:=/usr/home;sublink:=${key} > > > > This works as desir

Re: xterm and home-dir with automounter

2009-01-11 Thread Ariane van der Steldt
On Sun, Jan 11, 2009 at 05:15:33PM +0100, Rudi Ludwig wrote: > On Sunday 11 January 2009 12:44:31 Rudi Ludwig wrote: > > > i ... despite $PATH being > > /home/ That is, xterm initially > > reads: ibook:/usr/home/rudi$ > > ..Argh, of course > " despite $HOME being ..." > > you might

Re: xterm and home-dir with automounter

2009-01-11 Thread Rudi Ludwig
On Sunday 11 January 2009 12:44:31 Rudi Ludwig wrote: > i ... despite $PATH being > /home/ That is, xterm initially > reads:ibook:/usr/home/rudi$ ..Argh, of course " despite $HOME being ..." you might have guessed. Rudi

xterm and home-dir with automounter

2009-01-11 Thread Rudi Ludwig
Hello, for flexibility I have configured my computer (OpenBSD 4.4; macppc) with the home directory being auto mounted. that is /etc/amd/amd.home reads: # * type:=link;fs:=/usr/home;sublink:=${key} This works as desired. The programs use /home/ as they should, the real data locates in /usr