delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/22/11:24:13

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.4 required=5.0 tests=AWL,BAYES_00,DNS_FROM_OPENWHOIS
X-Spam-Check-By: sourceware.org
Date: Thu, 22 Jan 2009 08:23:49 -0800
From: Lester Ingber <ingber AT ingber DOT com>
To: cygwin AT cygwin DOT com
Subject: environment problems mixing mintty and xterm
Message-ID: <20090122162349.GA2796@ingber.com>
MIME-Version: 1.0
User-Agent: Mutt/1.5.15 (2007-04-06)
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

I find mintty very useful.  I can bring it up as a standalone window or I
can run run additional windows from xterm running under X.  If I do the
latter then mintty inherits the environment from the xterm window I'm
running, e.g., including additional path entries set in ~/.tcshrc, etc.

However, if I run mintty from my xterm window I have some problems.

For example, say I have open xterm (from startxwin.csh) with
xterm +tb -j -sb -geometry 80x84-6+0 &
this sets LINES set to 84.

If I have set up .minttyrc with
Rows=100
then after I go to my mintty window and back to my xterm, my xterm window
is messed up, e.g., top rows under `less` are off the screen.

There is no such problem, when running xterm, if I open an additional
mintty window as a Windows shortcut since it seems to open independently
-- without taking on the environment variables in my xterm window.

I guess it probably would increase the minimal nature of mintty to restore
such environment variables when leaving a mintty window?

Thanks.

Lester


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

- Raw text -


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