X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_05,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: Env variable USER Date: Thu, 23 Feb 2012 14:22:23 +0100 Message-ID: <6BFA9AF2C7556E42AFF3F187ECAB07B802DAF257@bespdc01.mediaxim.local> From: "Michel Bardiaux" To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q1NDMrkg018129 It seems that my latest frenzy of setups (the ones that first screwed up, then failed to fix, then at last fixed, coreutils) had some nasty side effects. The first I see is that USER is no longer defined in the environment, at least for bash in mintty. Quite likely one of the bash config files in /etc that is supposed to set it up (at least I assume supposed to!), has been damaged, but has not been rebuilt because setup considers it a "customized" file. Note that I am 100% sure USER *was* set about 1 week ago, since an app that worked then, now crashes because getenv("USER") return NULL. Hence, 2 (related) questions: 1. Is USER supposed to be set? 2. If yes, by what script or process? Tia -- 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