Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Dec 2015 15:34:43 +0100
From:      Bertram Scharpf <>
Subject:   Re: freebsd-update editor choice
Message-ID:  <>
In-Reply-To: <>
References:  <> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

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" <
>> =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.


*) I wrote my own interactive Ruby that can pipe results
into an editor session.

Bertram Scharpf
Stuttgart, Deutschland/Germany

Want to link to this message? Use this URL: <>