zsh-users
 help / color / mirror / code / Atom feed
From: Vincent Lefevre <vincent@vinc17.net>
To: zsh-users@zsh.org
Subject: Re: $HOST on OS X
Date: Sun, 6 Jun 2010 17:34:16 +0200	[thread overview]
Message-ID: <20100606153416.GI15450@prunille.vinc17.org> (raw)
In-Reply-To: <alpine.LNX.2.01.1006051413110.5029@hp.internal>

On 2010-06-05 14:52:33 -0400, Benjamin R. Haskell wrote:
> Regardless, OS X is far from the only O/S that'll update hostnames when 
> you join a network.  And especially on a laptop, it often makes sense.  

Changing the host may confuse software that expects it not to change,
may break user configuration (for instance, I use the same config
files on various machines, and test the FQDN when a difference is
needed), and so on.

> For instance, after associating with a university's wireless network, 
> your host probably has a different name assigned to it.  Why would it be 
> bad to update it?

There's a host name associated with the IP address, but this doesn't
mean that it should be the same as $HOST. Otherwise what would you do
if you wanted to connect to 2 networks (wireless or not) at the same
time?

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)


      parent reply	other threads:[~2010-06-06 15:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <A31BDCF6-D2C6-4674-B4D5-86B60347A0B2@chemistry.ucsc.edu>
2010-06-05 14:24 ` William G. Scott
2010-06-05 15:37   ` Benjamin R. Haskell
2010-06-05 15:45     ` Benjamin R. Haskell
2010-06-05 16:55       ` François Revol
2010-06-05 18:52         ` Benjamin R. Haskell
2010-06-05 19:46           ` François Revol
2010-06-06 15:34           ` Vincent Lefevre [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100606153416.GI15450@prunille.vinc17.org \
    --to=vincent@vinc17.net \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).