/bin/hostname

Igor Pechtchanski pechtcha@cs.nyu.edu
Tue Mar 18 22:58:00 GMT 2003


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/



More information about the Cygwin mailing list