From owner-freebsd-questions Thu Feb 28 6:25:24 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mired.org (dsl-64-192-6-133.telocity.com [64.192.6.133]) by hub.freebsd.org (Postfix) with SMTP id 3515037B405 for ; Thu, 28 Feb 2002 06:25:22 -0800 (PST) Received: (qmail 15385 invoked by uid 100); 28 Feb 2002 14:25:21 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <15486.15824.656491.941347@guru.mired.org> Date: Thu, 28 Feb 2002 08:25:20 -0600 To: Scott Mitchell Cc: questions@freebsd.org Subject: Re: System-wide environment variables In-Reply-To: <91521978@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: "Mike Meyer" X-Delivery-Agent: TMDA/0.46 (Python 2.2; freebsd-4.5-STABLE-i386) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Scott Mitchell types: > On Wed, Feb 27, 2002 at 11:31:06PM +0100, Rickard Borgm=E4ster wrote:= > > How do I put this into /etc/login.conf, "with the 'setenv' cap"? > > I want this to apply all users, no matter wether they login to > > shell or by gdm. > =09:setenv=3DPS1=3D$'[ \\u@\\h:\\w ] \\$ ':\ >=20 Just for the record, and since finding it was a pain, the ":" in the middle of that strings has to be encoded as \c. Otherwise you'll get parsing error because the things starting \\w isn't a valid capability. =09=09=09=09http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more inform= ation. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message