From owner-freebsd-current Tue Apr 14 22:25:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA23494 for freebsd-current-outgoing; Tue, 14 Apr 1998 22:25:10 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from granch.nsk.su (root@ns.granch.nsk.su [194.135.201.254]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA23451 for ; Wed, 15 Apr 1998 05:25:04 GMT (envelope-from shelton@sentry.granch.nsk.su) Received: from sentry.granch.nsk.su (1001@sentry.granch.nsk.su [194.135.201.135]) by granch.nsk.su (8.7.3/8.7.3) with SMTP id MAA27982; Wed, 15 Apr 1998 12:23:40 +0700 (NSD) Date: Wed, 15 Apr 1998 12:26:06 +0700 (NSS) From: "Rashid N. Achilov" To: Matthew & Lori Taylor cc: freebsd-current@FreeBSD.ORG Subject: Re: Changing the prompt_name In-Reply-To: <3533DF1D.FCE1CA95@sprynet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 14 Apr 1998, Matthew & Lori Taylor wrote: > How would I change the prompt_name in the OS? Currently it's still > . I am a NOVICE UNIX user, so if this question seems dumb, Try next: (in your .cshrc if you use csh or somewhere if you use another shell) if ($?prompt) then # An interactive shell -- set some stuff up set mch = `hostname -s` set prompt = "${mch:q}:[$USER] \!>" endif Best Regards, Rashid N. Achilov E-Mail: shelton@sentry.granch.nsk.su Granch Ltd. lead engineer FidoNet: 2:5000/92.1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message