[3826] in Athena Bugs
csh filename completion on ~
daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Thu Dec 14 19:23:49 1989
Date: Thu, 14 Dec 89 19:23:11 -0500
From: Jonathan I. Kamens <jik@PIT-MANAGER.MIT.EDU>
To: testers@ATHENA.MIT.EDU, bugs@ATHENA.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. If
this is not correct, then this is irrelevant, and can be ignored :-).
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?
If I log in and my home directory fails to attach (for example, I
log in using rlogin and don't have kerberos tickets) and then do and
then do:
attach jik
set home=/mit/jik
cd
source .tcshrc
source .cshrc
source .login
then my environment should be *exactly* the same as if I had logged in
and my home directory had attached properly. However, it is not
exactly the same, because filename completion will use /tmp/jik (or
/, depending on what the /etc/passwd file says) instead of /mit/jik.
Why not fix this the right way by making filename completion use
$home?
jik