delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/09/29/09:46:50

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
Message-ID: <5066FBB3.409@cornell.edu>
Date: Sat, 29 Sep 2012 09:46:27 -0400
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Suppressing annoying warnings
References: <86ehllr9mr DOT fsf AT corbe DOT net>
In-Reply-To: <86ehllr9mr.fsf@corbe.net>
X-PMX-CORNELL-SPAM-CHECKED: Pawpaw
X-Original-Sender: kbrown AT cornell DOT edu - Sat Sep 29 09:46:30 2012
X-PMX-CORNELL-REASON: CU_White_List_Override
X-IsSubscribed: yes
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

On 9/28/2012 7:49 PM, Daniel Corbe wrote:
>
> I'm using emacs-w3m to render HTML messages in gnus on windows by way of
> the cygwin w3m port.  It's working, except every time w3m gets run I'm
> greeted by this warning message:
>
> "tty" option detected in CYGWIN environment variable.
> CYGWIN=tty is no longer supported.  Please remove it from your
> CYGWIN environment variable and use a terminal emulator like mintty,
> xterm, or rxvt.
>
> emacs is setting the environment variables, not me.  How do I configure
> cygwin to suppress these errors?

emacs-w3m sets the environment variable.  I just downloaded the source 
for the latter from http://emacs-w3m.namazu.org/ and found the setting 
of the CYGWIN variable in w3m.el.  Just edit that file and remove the 
setting.  Alternatively, it looks like you could solve the problem by 
customizing 'w3m-command-environment'.

This is not a Cygwin problem.  I suggest that you report this to the 
emacs-w3m mailing list.

Ken


--
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