delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-3.5 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD,TW_RX,TW_TX |
X-Spam-Check-By: | sourceware.org |
From: | Kevin Layer <layer AT known DOT net> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: startxwin started bash does not read .bashrc or .bash_profile |
In-reply-to: | <CAMK_jUW-=GxB_-fHUxdCwLk_8ww5Whg5ztMU2NDzszBT44-70w@mail.gmail.com> |
References: | <15470 DOT 1361923720 AT relay DOT known DOT net> <512D7040 DOT 7080905 AT gmail DOT com> <26949 DOT 1361935259 AT relay DOT known DOT net> <512E2F7D DOT 1030305 AT cs DOT umass DOT edu> <8092 DOT 1361982038 AT relay DOT known DOT net> <CAMK_jUW-=GxB_-fHUxdCwLk_8ww5Whg5ztMU2NDzszBT44-70w AT mail DOT gmail DOT com> |
Comments: | In-reply-to K Stahl <kdstahl AT gmail DOT com> message dated "Wed, 27 Feb 2013 12:11:12 -0500." |
Date: | Wed, 27 Feb 2013 14:19:31 -0800 |
Message-ID: | <28596.1362003571@relay.known.net> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
K Stahl wrote: >> I normally start a terminal in my .xinitrc file (Place it in your home >> directory): >> >> Example: >> >> #!/usr/bin/sh >> urxvt -e bash -l & wmpid=$! >> wait ${wmpid} Turns out, I'm mistaken, but I found out something interesting. I had created a .xinitrc with a single "xterm" call in it, but I was still running startxwin.exe instead of xinit.exe, so because I had renamed .startxwinrc to .startxwinrc.disabled, I was running with some default init file for startxwin.exe. The xterm that comes up in this case *does* source my .bashrc. From the man page: startxwin This will start up an XWin server and run the user's .startxwinrc, if it exists, or else start an xterm. So, the question is, why does the xterm that is started in the "or else" behave different than the one started from .startxwinrc? A big mystery to me. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |