9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: andrey mirtchovski <mirtchov@cpsc.ucalgary.ca>
To: 9fans@cse.psu.edu
Subject: [9fans] bug in libcomplete?
Date: Sat, 14 Feb 2004 08:15:41 -0700	[thread overview]
Message-ID: <c4831cf404084b714a15c87455aa3960@plan9.ucalgary.ca> (raw)

libcomplete depends on 'cd' to find our which directory the user is
in.  this breaks its behaviour with respect to programs which
implicitly chdir when started, one example is the 'window' command --
cd /tmp and run window, hit the complete key and you'll get the
contents of your $home.  The following example is a freshly created
window in the /tmp directory:



	home% pwd
	/tmp
	[bin/ lib/ tmp/]
	home% cd `{pwd}
	[58 files]
	home%

pwd shows i'm in /tmp, completion thinks i'm in $home, then the same
thing after "cd `{pwd}"

andrey



             reply	other threads:[~2004-02-14 15:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-14 15:15 andrey mirtchovski [this message]
2004-02-14 16:35 ` Rob Pike
2004-02-14 16:49   ` David Presotto
2004-02-14 18:18     ` andrey mirtchovski
2004-02-14 17:56       ` andrey mirtchovski
2004-02-14 19:09       ` Rob Pike
2004-02-14 21:57         ` boyd, rounin
2004-02-14 19:01 Rob 'Commander' Pike

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c4831cf404084b714a15c87455aa3960@plan9.ucalgary.ca \
    --to=mirtchov@cpsc.ucalgary.ca \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).