X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
Subject: RE: username should be lower-case for $USER
Date: Tue, 9 Jan 2007 16:38:55 -0000
Message-ID: <008601c7340c$a76fc380$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
Content-Type: text/plain; 	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <8241120.post@talk.nabble.com>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 09 January 2007 16:25, David Smiley wrote:

> I am new to Cygwin.  I noticed that the $USER environment variable has my
> username in upper-case.  So it is "DSMILEY".  On unix based hosts I log
> into, it is always lower-case.  So if I try to SSH to another machine where
> I have the same login name, I can't let SSH automatically default to $USER
> because the case isn't right.  *Even if* Windows user names are case
> sensitive and so there is a difference between DSMILEY and dsmiley (are
> they?, I don't know) I think $USER should be made to be all lower-case to be
> consistent with unix environments.

  It would /not/ be consistent with unix environments.  Just because *you*
haven't used one with capitals in usernames does *not* mean they do not exist.
The Opengroup posix spec quite explicitly allows different cases:

http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap03.html#tag_03_
426



    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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

