Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site fortune.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!fortune!olson From: olson@fortune.UUCP (Dave Olson) Newsgroups: net.unix Subject: Re: Useful csh prompts? Message-ID: <5628@fortune.UUCP> Date: Sun, 6-Oct-85 21:33:02 EDT Article-I.D.: fortune.5628 Posted: Sun Oct 6 21:33:02 1985 Date-Received: Tue, 8-Oct-85 03:11:43 EDT References: <1852@brl-tgr.ARPA> Reply-To: olson@fortune.UUCP (Dave olson) Organization: Fortune Systems, Redwood City, CA Lines: 12 Keywords: csh Getting the time in the csh prompt means modification to the source. The mods are relatively minor, but are too big to patch in. The more general way would be to have the prompt routine (I forget the name offhand) do back quote interpretation. I took the easier route, and modified the routine to replace occurrences of $T in $prompt, with the time in the form HH:MM. If you or others would like the mod's I can mail them. Dave Olson, Fortune Systems UUCP: {ihnp4,ucbvax!dual}!fortune!olson ARPA: dual!fortune!olson@BERKELEY