delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/05/21/13:19:05

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:subject:from:to:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=utb
Z/Kvy/VWvm99+64mzbGfUO/n3lEDUCq6pMr8yBhsjul72n9cSYfR4BG5W3Lnbipu
145arUzO783F/wUS6HdtC/Hb95DvnakW2BJ4U8dxo8x0b6opK/EPyS4U1a36tuIu
7Ju57tycpzr9exP6kr76FvgRIrBghDgXHmct0utI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:subject:from:to:mime-version
:content-type:content-transfer-encoding; s=default; bh=tLjfeZC9Z
km8pwER0WFHAL5wOGw=; b=R8HhMI5CHP2oCsquFId/hnk38ie8uQaXGMsfC/IoV
fSCMkKuHsly4ADcyv360jdJWxF8hKv22JSBNr1/sBwoPjeJv71fkvC2eym+g6HFj
ppMXa9TEs5VjPn53ezoqg66Sd/LVrfv/L9MnzHGbPpccGmkNrw66In5tZ0CC+BIy
Yc=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.3 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=H*MI:squirrel, H*u:SquirrelMail, H*UA:SquirrelMail, H*M:squirrel
X-HELO: mx.sdf.org
Message-ID: <58cf07e3f072f30b6e6311937fb100b0.squirrel@mx.sdf.org>
Date: Sun, 21 May 2017 17:18:40 -0000
Subject: xwin-xdg-menu terminal not picking up my environment
From: petercon AT sdf DOT org
To: cygwin AT cygwin DOT com
User-Agent: SquirrelMail/1.4.22
MIME-Version: 1.0

The xwin-xdg-menu's terminal does not seem to pick up the environment
variables I have set in my home directory when I use it's terminal to run
a non-x program from /bin. i.e. I added Midnight Commander to the
xwin-xdg-menu (using alacarte)  seting /bin/mc as the executable and check
the "run in terminal?" box. I prefer to use joe or nano as the editor in
mc and have turned off mc's internal editor which picks up the editor in
the "EDITOR" environment variable which I set in ~/.bashrc (I also tried
setting it in ~/.bash_profile and ~/.profile). Mc comes up with vi (which
is the default in mc if no "EDITOR" environment variable is set). I can
run an XTerm from the xwin-xdg-menu and then launch mc from that and it
honors the "EDITOR" environment variable.

By the way if I shell out (Ctrl-O) from mc and execute "env" the "EDITOR"
variable shows up in the list. Weird. So where does xwin-xdg-menu's
terminal get it's environment from?


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019