From owner-freebsd-questions@freebsd.org Tue Dec 15 14:34:53 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9D062A48801 for ; Tue, 15 Dec 2015 14:34:53 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.75]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 036D810B0 for ; Tue, 15 Dec 2015 14:34:52 +0000 (UTC) (envelope-from lists@bertram-scharpf.de) Received: from becker.bs.l ([85.180.2.104]) by mrelayeu.kundenserver.de (mreue102) with ESMTPSA (Nemesis) id 0M5Ovf-1aQP0d103j-00zYEr for ; Tue, 15 Dec 2015 15:34:44 +0100 Received: from bsch by becker.bs.l with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1a8qgd-000KD0-C5 for freebsd-questions@freebsd.org; Tue, 15 Dec 2015 15:34:43 +0100 Date: Tue, 15 Dec 2015 15:34:43 +0100 From: Bertram Scharpf To: freebsd-questions@freebsd.org Subject: Re: freebsd-update editor choice Message-ID: <20151215143443.GA20588@becker.bs.l> Mail-Followup-To: freebsd-questions@freebsd.org References: <20151213182848.M69104@brightstar.bomgardner.net> <20151215124601.GA4020@becker.bs.l> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: Bertram Scharpf X-Provags-ID: V03:K0:0j6bCkp0EKczjb9RhhvXD6MpuroOxfMUZ2/I4rKkygjD2jW4IeF aQywvOQhXJWF1P5NuOleexwlksoYU9O6ZZ/016gxdBjcb+I+vLdJXbZCMkR7QIM3s7E5kxg vz1yp9FO54mp5S9iXlNVrBvm6W8sZOq33fd8kBVxRgbx5BM22yCKaVDimWWLASLr9f35ND+ mTSWi06E+FptEQFL+V5/A== X-UI-Out-Filterresults: notjunk:1;V01:K0:ox50YxB4w6A=:MzbNFM0wgZxweebrJC1dej WRcSZQCg7MxqeivFiYf/ZuHdb3ggqztIrPCoSD5oZ0oA7fntyb57SR/2lsUxi+1MBNu4ZHtTe 5q7izUe5rNNQW9a4N4YQDxcJMSCbSQ2uUWsW6xqw7cKWrv9D92FWacUCzyuDxVOVTztlZWsV3 Et+KkFIZuThl3udZr7knY7NMoRdQQJ8F0+3ywx81ZCY2w8TGS1VTjii3cBwFh/4ZtdZGFESWf 3vSlCSgCbS7OYN3y6C8QpQPhjCl/T7jfisEBlMXCsgOSQcIIDM7oxOM2wEfqQ5KUIMLZM6M2h RVUrVHBIbC1KRJ5P+Wm1PS4PbmATpJRlm75++dnr39UWQ3D2ALWNkZxKmpqtPpe3kduBSVEiE M9vaq6AGtafZojWAFaPBkPbY0dRBcWqkAim6Gw9EdP/AIUuVw1fxpzomgawSz0lA8fzuubQoP cZkurXToesVmwoKZfC5pSnxVjvCkW2qXJaC4/nitMO81ja+O+Lc9PncPgpmrPq+OSlHifUKKq DssHqK/WJsOdCQmxqCVERqocpM7U60JRiKwlI/Wr4PauJMdUYt2RRgj+IenxBDk8Sz5pgld3s pVfGlTjc9jxco78h4/jRJw/FaratLa7WY3DEzunkoHaA159Fnp6K2D/nLuwC6blkgPVfpOWFO Fo/ccy3GpWVqvyPqrtyw2+1JxZR0sd100fBvBnYyqNYxLEwAAAWQ9s96vlCnNktTbibI= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2015 14:34:53 -0000 Hi, On Tuesday, 15. Dec 2015, 14:59:07 +0200, Anton Sayetsky wrote: > 15 =D0=B4=D0=B5=D0=BA. 2015 =D0=B3. 14:46 =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7= =D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C "Bertram Scharpf" < > lists@bertram-scharpf.de> =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB: > > The problem I fussed about many times and long times without > > any understanding up to this day is not how but _where_ to > > set the EDITOR environment variable. There is > > > > - /etc/login.conf > This applies to all logins. Not the X login. I use Slim and Xfce4. When starting a command from the panel like "urxvt -e irb" (interactive Ruby)(*) or "urxvt -e tmux" the EDITOR variable still is empty. TMux tries to read the variable and will not set its option "status-keys" properly which is very annoying. My workaround is to source "/etc/profile" in " ~/.xinitrc". Nevertheless it is surprising behaviour. I log in and "login.conf" will not be read. Bertram *) I wrote my own interactive Ruby that can pipe results into an editor session. --=20 Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de