Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <034201c2b88c$a82f4e80$d5ed86d9@webdev> Reply-To: "Elfyn McBratney" From: "Elfyn McBratney" To: "cygwin" Subject: Re: why is hostname(1) output in UPPERCASE? Date: Fri, 10 Jan 2003 09:42:56 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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" To: 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/