[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: *shell* TAB *Completions* fooled by $PWD/
From: |
Dan Jacobson |
Subject: |
Re: *shell* TAB *Completions* fooled by $PWD/ |
Date: |
11 Jul 2002 01:45:18 +0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
K> The shell.el directory tracking mechanism could be modified to update
K> the PWD environment variable as well as its internal variables. But
actually you are going to go nuts tracking all those variables,
e.g. what if I do in a shell window,
$ cd
$ su bob
$ cd inside
etc. while you are tracking $PWD unless you somehow have a behind the
scenes connection to get the real scoop from /proc or bash itself...
Oh, and say bob's dir is mode 700
$ su -c 'echo are you still following me?; bash -i' jimmy
$ cd; echo i said su _-c_ to keep you off the trail, but then used bash -i
Anyway, it will never track perfectly.
--
http://jidanni.org/ Taiwan(04)25854780
- *shell* TAB *Completions* fooled by $PWD/, Dan Jacobson, 2002/07/08
- Message not available
- Re: *shell* TAB *Completions* fooled by $PWD/, Richard Stallman, 2002/07/11
- Re: *shell* TAB *Completions* fooled by $PWD/, Miles Bader, 2002/07/11
- Re: *shell* TAB *Completions* fooled by $PWD/, David Kastrup, 2002/07/11
- Re: *shell* TAB *Completions* fooled by $PWD/, Miles Bader, 2002/07/11
- Re: *shell* TAB *Completions* fooled by $PWD/, David Kastrup, 2002/07/11
- Re: *shell* TAB *Completions* fooled by $PWD/, Kevin Rodgers, 2002/07/11
- Re: *shell* TAB *Completions* fooled by $PWD/, David Kastrup, 2002/07/11
- Re: *shell* TAB *Completions* fooled by $PWD/, Andreas Schwab, 2002/07/12