[3827] in Athena Bugs

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

Re: csh filename completion on ~

daemon@ATHENA.MIT.EDU (Theodore Ts'o)
Thu Dec 14 21:07:49 1989

Date: Thu, 14 Dec 89 21:06:58 -0500
From: Theodore Ts'o <tytso@ATHENA.MIT.EDU>
To: Jonathan I. Kamens <jik@PIT-MANAGER.MIT.EDU>
Cc: testers@ATHENA.MIT.EDU, bugs@ATHENA.MIT.EDU
In-Reply-To: Jonathan I. Kamens's message of Thu, 14 Dec 89 19:23:11 -0500,
Reply-To: tytso@ATHENA.MIT.EDU
   Date: Thu, 14 Dec 89 19:23:11 -0500
   From: Jonathan I. Kamens <jik@PIT-MANAGER.MIT.EDU>
   Sender: jik@PIT-MANAGER.MIT.EDU

     The rest of this message assumes that the bug-fix in bugs[3816] does
   *not* make filename completion use $home all the time, but instead
   only makes it use $home when the user is not in the passwd file.  

Wrong assumption.  :-)

     It is not sufficient for csh to use $home during filename completion
   if there is no entry in the /etc/passwd file, while still using the
   /etc/passwd entry if it exists, and I don't understand why this is the
   fix which was proposed -- why not just make it use $home as the
   primary source of ~ information, both for globbing and for filename
   completion?

That's what I did.  Why did you assume otherwise?  {\minor_flame  Why
didn't you make sure before sending a bug report?}  Of course, it will
still use /etc/passwd if you specify ~username, but then, it has to.

     Why not fix this the right way by making filename completion use
   $home?

It does.  (Or, it will, once the fix is installed.)

							- Ted

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