Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Dec 2015 15:34:43 +0100
From:      Bertram Scharpf <lists@bertram-scharpf.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: freebsd-update editor choice
Message-ID:  <20151215143443.GA20588@becker.bs.l>
In-Reply-To: <CAA2O=b-W1MV=0RGy_M7VO_d_HjJ6HkiKa%2B%2BheUOgca3eJOQ9sw@mail.gmail.com>
References:  <20151213182848.M69104@brightstar.bomgardner.net> <20151215124601.GA4020@becker.bs.l> <CAA2O=b-W1MV=0RGy_M7VO_d_HjJ6HkiKa%2B%2BheUOgca3eJOQ9sw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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