[1453] in Athena Bugs

home help back first fref pref prev next nref lref last post

(VS2) Version 6.0R: csh filename completion

daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Thu Dec 1 01:50:39 1988

Date: Thu, 1 Dec 88 01:50:24 EST
From: Jonathan I. Kamens <jik@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
System type, version:	(VS2) Version 6.0R
System name:		binkley
What's wrong:

pit-manager% echo $home
/mit/jik/nfs
pit-manager% echo $cdpath
/mit/jik/nfs
pit-manager% echo ~
/mit/jik/nfs
pit-manager% cd
pit-manager% pwd
/mit/jik/nfs

So far, so good, right?  Now:

pit-manager% ls ~/<completion-character>nfs/

In other words, even though the shell does all of the substitutions
properly according to $home, when you do filename completion it
expands ~ in terms of the /etc/passwd entry.

What should have happened:

~ should be expanded according to $home before  the /etc/passwd entry
in filename completion.

  --> Jonathan Kamens
      Project Athena Watchmaker
      SIPB (Student Information Processing Board) Member
      Volunteer OLC Consultant
      jik@ATHENA.MIT.EDU

home help back first fref pref prev next nref lref last post