Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!brl-sem!brl-smoke!smoke!mike@BRL.ARPA From: mike@BRL.ARPA (Mike Muuss) Newsgroups: net.unix-wizards Subject: .cshrc efficiency note Message-ID: <485@brl-smoke.ARPA> Date: Thu, 1-May-86 20:25:59 EDT Article-I.D.: brl-smok.485 Posted: Thu May 1 20:25:59 1986 Date-Received: Sun, 4-May-86 06:43:14 EDT Sender: news@brl-smoke.ARPA Lines: 14 If your .cshrc contains a like like: set prompt=\!\ "`hostname`>"\ then this will cause the /bin/hostname program to be run FOR EVERY PROMPT that the CSH prints out! This can be a non-trivial load if 20-30 people are doing this. Instead, I recommend the two line replacement: set hostname=`hostname` set prompt=\!\ "$hostname"\>\ since it is unlikely that the host name will change during a login session. -Mike