Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Tue, 18 Mar 2003 17:12:52 -0500 (EST)
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Jack Tanner <ihok@hotmail.com>
cc: cygwin@cygwin.com
Subject: Re: /bin/hostname
In-Reply-To: <F20he98zdoDm9xBGejA0000fe33@hotmail.com>
Message-ID: <Pine.GSO.4.44.0303181707380.561-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Tue, 18 Mar 2003, Jack Tanner wrote:

> On Cygwin, /bin/hostname is part of sh-utils. On RedHat, it's part of
> net-utils and provides a much richer set of options. I discovered this the
> hard way, when RH8 `/bin/hostname -s` didn't work on cygwin. (On RH8, -s
> stands for short host name, e.g., the "host" of "host.example.com".) Is
> there any chance Cygwin might get a nicer hostname, or is this really
> complicated?
> -JT

<http://cygwin.com/acronyms/#PTC>.  Simply submit a patch.

Or you could contribute (see <http://cygwin.com/setup.html>) and maintain
a net-utils package, which provides a better hostname, and synchronize
with the maintainer of the sh-utils package.

Or, of course, you could also wait until the maintainer of the sh-utils
package has some free time and is willing to bring hostname up to date...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


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

