delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/08/18:41:55

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,TW_RX
X-Spam-Check-By: sourceware.org
Message-ID: <4C365415.1080406@bopp.net>
Date: Thu, 08 Jul 2010 17:41:25 -0500
From: Jeremy Bopp <jeremy AT bopp DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: configure rxvt on cygwin 1.7.5
References: <i106qt$q32$1 AT dough DOT gmane DOT org> <AANLkTin1LVQ1S1NgYCZelOpYchU6Wy_Z3vNg6yinCVgE AT mail DOT gmail DOT com> <i159qe$me0$1 AT dough DOT gmane DOT org> <4C36399F DOT 5030909 AT bopp DOT net> <i15fhu$cji$1 AT dough DOT gmane DOT org>
In-Reply-To: <i15fhu$cji$1@dough.gmane.org>
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 7/8/2010 4:22 PM, philippe wrote:
> Jeremy Bopp a écrit :
>> [...] However, if rxvt used to work for you under Cygwin 1.5, you might be
>> able to make it happy again by changing your LANG setting to LANG=C.
> 
> No, i don't know where to modify this option LANG :-)

LANG is an environment variable.  Under Cygwin 1.5, LANG=C was the
default, but under Cygwin 1.7, LANG=C.UTF-8 is the default.  This change
is probably why rxvt stopped working for you out of the box.

>> I highly recommend mintty.
> 
> ok, mintty is distributed with cygwin and seems to be a nice terminal.
> I've search a little about mintty configuration, i understand that i've
> to move ~/.profile to ~/.minttyrc, but it's not sufficient to traduce in

~/.profile is something entirely different than ~/.minttyrc.  They have
completely different functions.  The former sets up your shell
environment while the latter configures mintty (the terminal) itself.
There is nothing at all to move from one file to the other.

> a "mintty syntax" my ~/.Xdefault or the command below :
> 
> 
> rxvt -fn "-*-Courier-medium-r-*-18-*-*-*-*-iso8859-1" -geometry 90x30
> -sr -bg "#ffffd5" -fg "black" -sl 8000 -termName rxvt -e /usr/bin/bash
> --login -i
> 
> 
> Do you know a good tutorial to configure mintty or can you help me!

As Jason already informed you, mintty has an options dialog you can use
to configure it.  The equivalents of your rxvt options, except for the
-e option, can be configured there and saved automatically to
~/.minttyrc so that future runs of mintty automatically have the right
settings without the need for a long, complicated set of command line
options.  However, most if not all of the options can be set via the
command line as well if that's your preference.  See man mintty for details.

For your -e option, simply run mintty with a single "-" as the only
option, i.e. "mintty -".  That will tell mintty to run an interactive
login shell for your user as specified in /etc/passwd.  As you'll see in
the manpage for mintty, mintty does have a -e option, but there really
isn't any need to be so verbose about the shell to start for most
people.  Set the shell program you want to use in /etc/passwd, and let
mintty do the rest.

-Jeremy

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