Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site sdcsla.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!houxm!houxz!vax135!cornell!uw-beaver!tektronix!hplabs!sdcrdcf!sdcsvax!sdcsla!west From: west@sdcsla.UUCP (Larry West) Newsgroups: net.bugs.4bsd Subject: Re: login built-in of 4.[12]bsd csh ignores ".logout" (w/change) Message-ID: <605@sdcsla.UUCP> Date: Wed, 18-Jul-84 05:50:23 EDT Article-I.D.: sdcsla.605 Posted: Wed Jul 18 05:50:23 1984 Date-Received: Fri, 20-Jul-84 03:52:53 EDT References: <1095@elsie.UUCP> Organization: UC San Diego: Institute for Cognitive Science Lines: 20 Actually, all you need to do is put a backslash ("\") in front of the ``login'' command in the alias. E.g., alias login 'source ~/.logout; \login' Either apostrophe (') or double-quote (") would work to quote this. The backslash just prevents the C-shell's alias lookup, but it doesn't work on built-in commands, such as "cd". Note that "login" is not a built-in, it is "/bin/login". This function of "\" is unfortunately under-documented. {{ I rather like the `bug' (of "~/.logout" not being read when "login" }} {{ command is executed), and don't find it confusing, since I view the }} {{ "~/.logout" file as something which is read only when I do a "logout" }} {{ command. }} Hope this helps. -- Larry West, UC San Diego, Institute for Cognitive Science -- decvax!ittvax!dcdwest!sdcsvax!sdcsla!west -- ucbvax!sdcsvax!sdcsla!west -- west@NPRDC {{ NOT: [aarg!] }}