From owner-freebsd-chat Thu Jun 19 13:33:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA16841 for chat-outgoing; Thu, 19 Jun 1997 13:33:59 -0700 (PDT) Received: from mexico.brainstorm.eu.org (root@mexico.brainstorm.fr [193.56.58.253]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA16491 for ; Thu, 19 Jun 1997 13:32:52 -0700 (PDT) Received: from brasil.brainstorm.eu.org (brasil.brainstorm.fr [193.56.58.33]) by mexico.brainstorm.eu.org (8.8.4/8.8.4) with ESMTP id WAA17558 for ; Thu, 19 Jun 1997 22:32:38 +0200 Received: (from uucp@localhost) by brasil.brainstorm.eu.org (8.8.4/8.6.12) with UUCP id WAA09107 for chat@FreeBSD.ORG; Thu, 19 Jun 1997 22:32:18 +0200 Received: (from roberto@localhost) by keltia.freenix.fr (8.8.5/keltia-uucp-2.9) id VAA04585; Thu, 19 Jun 1997 21:27:02 +0200 (CEST) Message-ID: <19970619212702.11106@keltia.freenix.fr> Date: Thu, 19 Jun 1997 21:27:02 +0200 From: Ollivier Robert To: chat@FreeBSD.ORG Subject: Re: OS/2 users going to FreeBSD? :-) References: <199706190227.LAA24488@genesis.atrad.adelaide.edu.au> <199706190442.AAA06733@ethanol.gnu.ai.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.76 In-Reply-To: <199706190442.AAA06733@ethanol.gnu.ai.mit.edu>; from Joel N. Weber II on Thu, Jun 19, 1997 at 12:42:00AM -0400 X-Operating-System: FreeBSD 3.0-CURRENT ctm#3392 AMD-K6 MMX @ 208 MHz Sender: owner-chat@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk According to Joel N. Weber II: > set prompt=`hostname -s`:%~\> > > (Yes, your hostname gets set to `-s'...) I don't see the need to use `` inside a prompt under tcsh., especially for hostname... There are such nice builtins escape sequences just for that such as "%m" (hostname, 1st component only), "%M" (full hostname) and all others. set prompt="%m:%~>" is smaller, faster (doesn't fork at every prompt), and doesn't have the inconvenient of "-s"... -- Ollivier ROBERT -=- FreeBSD: There are no limits -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 3.0-CURRENT #20: Fri Jun 13 00:16:13 CEST 1997