From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QGsNC-0004eM-VD for garchives@archives.gentoo.org; Mon, 02 May 2011 12:37:11 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7BAB71C017; Mon, 2 May 2011 12:35:26 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 2A2C41C017 for ; Mon, 2 May 2011 12:35:25 +0000 (UTC) Received: by wyi11 with SMTP id 11so5720078wyi.40 for ; Mon, 02 May 2011 05:35:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:reply-to:to:subject:date:user-agent :references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=thOsqqNtC3GAMuv0ouWr/0kgs8h1axq/ciIAEF+EwL8=; b=YEGGGJjiIoIaenXQiJmuCjFzteX29tRyUiDQIbiZ7q8F2zSSL/EWPVFtT7jmRvnx1s R6hLCVpPUknhY9aEbmOyO4VX6AO1gWEdcihWc0NjVJDOFekKoIDyGwVQHtTVZOCxT2sn 6Rx/fcnfWJTRV84sqtbq9tBsnW/mhJo8pDaNQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=KUs31XXX8p+DnzJpBdN+xotK+RhpzRINuLONv5QfP11iDGpnwX9CqhHbhOjghDFEmH RdzXSWsdJF1NC5h2wvclickqh8Mk/gJTRm6SPbXO/OhMQtNP9WeA4fBp+tVkWlwjnidL I1YQcQ7abvVGrvAr9VeSuvbGQ3bxlrveB/4f4= Received: by 10.216.240.202 with SMTP id e52mr2417064wer.84.1304339725368; Mon, 02 May 2011 05:35:25 -0700 (PDT) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa [217.169.3.230]) by mx.google.com with ESMTPS id o1sm222454wej.8.2011.05.02.05.35.23 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 02 May 2011 05:35:24 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] heads-up: 2011-05-01 baselayout news Date: Mon, 2 May 2011 13:35:43 +0100 User-Agent: KMail/1.13.5 (Linux/2.6.37-gentoo-r4; KDE/4.4.5; x86_64; ; ) References: <4DBE734F.9010907@asyr.hopto.org> <201105021150.22172.michaelkintzios@gmail.com> <201105021352.12829.wonko@wonkology.org> In-Reply-To: <201105021352.12829.wonko@wonkology.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2484850.42XcBBkT5p"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201105021335.56163.michaelkintzios@gmail.com> X-Archives-Salt: X-Archives-Hash: be60fe741986406aadce8354be13c9a6 --nextPart2484850.42XcBBkT5p Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Monday 02 May 2011 12:52:12 Alex Schuster wrote: > Mick writes: > > On Monday 02 May 2011 11:26:27 you wrote: > >=20 > > Thanks. Not sure if there is a difference between an env.d variable and > > a profile.d variable. >=20 > None you will notice, both /etc/profile.env and scripts in /etc/profile.d/ > are sourced in /etc/profile. profile.env contains all stuff in /etc/env.d/ > after you ran env-update. Hmm ... I initially set up a file in /etc/profile.d/99editor with=20 EDITOR=3D"/usr/bin/vim"=20 in it. Upon reboot I still got: echo $EDITOR /bin/nano So, I thought of moving it into /etc/env.d/97editor. Upon another reboot=20 (troubleshooting network problems) I again found out that nano is my defaul= t=20 editor ... neither locations seem to being read at boot time? Running env-update && source /etc/profile did not make any difference. Is the number prefix important? Does it have to be 99editor? If so, how d= oes=20 one discover the correct number for each variable? > I do not manually change things in env.d, but with 'eselect editor set ' > you can create a file /etc/env.d/99editor which will set the EDITOR > variable to the editor you gave eselect as argument. Enter eselect editor > list to se what's available, or just give the editor path as argument to > eselect. # eselect editor list Available targets for the EDITOR variable: [1] /bin/nano [2] /usr/bin/ex [3] /usr/bin/vi [ ] (free form) What does the "[ ] (free form)" above refer to? > > I've added mine to /etc/profile.d for now. I'll > > see what gives when I reboot. >=20 > A relogin would be enough. Or '. /etc/profile' in the shell, this is what > eselects suggests to do. Or bash -l, or xterm -ls. Yep, setting the EDITOR using eselect works fine. =2D-=20 Regards, Mick --nextPart2484850.42XcBBkT5p Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEABECAAYFAk2+pSwACgkQVTDTR3kpaLYX/QCg3oBmtdZn5fDJJmDdlxa6d2QF hSwAnROPfJUTTWdOC6gkg9YJQru2vaNs =G5dZ -----END PGP SIGNATURE----- --nextPart2484850.42XcBBkT5p--