Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Mar 2002 18:03:27 -0600
From:      "Mike Meyer" <mwm-dated-1016582608.bc94ad@mired.org>
To:        Philip Hallstrom <philip@adhesivemedia.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to put a colon as a value in /etc/login.conf?
Message-ID:  <15505.14927.675350.265835@guru.mired.org>
In-Reply-To: <20020314155118.P39420-100000@teak.adhesivemedia.com>
References:  <20020314155118.P39420-100000@teak.adhesivemedia.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In <20020314155118.P39420-100000@teak.adhesivemedia.com>, Philip Hallstrom <philip@adhesivemedia.com> typed:
> Hi -
> 	I would like to set an environment variable in /etc/login.conf
> using the "setenv" paramater.  It currently reades like this:
> 
>   :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\
> 
> I would like to add:
> 
>   CVSROOT=:pserver:hostname:/path/to/cvs
> 
> But no matter what I try it doesn't work.  I can't quote the string, I
> can't seem to escape the colons.  The manpage doesn't tell me if it's
> possible...

Seek you the information in termcap(5). There it is for reasons really ugly.

Colon to get use \072.

	Bubble, bubble.
	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15505.14927.675350.265835>