This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: why is hostname(1) output in UPPERCASE?


 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@exposure.org.uk

 ----- Original Message -----
 From: "Eric De Mund" <ead@ixian.com>
 To: <cygwin@cygwin.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@COWBERRY ~
>     $ hostname
>     COWBERRY
>
>     ead@COWBERRY ~
>     $ /cygdrive/c/WINNT/system32/hostname
>     cowberry
>
>     ead@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
>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]