delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/10/04:42:11

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <034201c2b88c$a82f4e80$d5ed86d9@webdev>
Reply-To: "Elfyn McBratney" <cygwin AT cygwin DOT com>
From: "Elfyn McBratney" <elfyn AT exposure DOT org DOT uk>
To: "cygwin" <cygwin AT cygwin DOT com>
Subject: Re: why is hostname(1) output in UPPERCASE?
Date: Fri, 10 Jan 2003 09:42:56 -0000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

 The computer name that hostname(1) returns is the one the Win32 API
returns.
 I'm not sure if this can be looked upon as a bug as cygwin gets the
 computer-name from win32 syscalls and hostname(1) gets the name from
 cygwin... Are you sure your computer name isn't set in capitals? Are you
 using a dns suffix?

 Elfyn
 elfyn AT exposure DOT org DOT uk

 ----- Original Message -----
 From: "Eric De Mund" <ead AT ixian DOT com>
 To: <cygwin AT cygwin DOT com>
 Sent: Friday, January 10, 2003 7:24 AM
 Subject: why is hostname(1) output in UPPERCASE?


> Hello,

> Why is hostname(1) output in UPPERCASE, when the native Windows 2000
> hostname.exe outputs lowercase? Is this something I've unwittingly
> enabled? Regardless, shouldn't RFC 1178's suggestion be followed? (It
> states, "convention dictates that computer names appear all lowercase.")
> Or is this a sh-utils rather than a cygwin bug?
>
> Here's my current output:
>
>     ead AT COWBERRY ~
>     $ hostname
>     COWBERRY
>
>     ead AT COWBERRY ~
>     $ /cygdrive/c/WINNT/system32/hostname
>     cowberry
>
>     ead AT COWBERRY ~
>     $
>
> This is in a brand new and complete 2003.01.09 download and install of
> cygwin on a Windows 2000 Professional SP2 machine (under both bash(1)
> and zsh(1)). See the output of "cygcheck --sysinfo", below, if
> necessary.
>
> Many thanks,
> Eric
>



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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