On (2005-12-29 19:53 +0200), Saku Ytti wrote:

[EMAIL PROTECTED] ~]# hostname foo.ytti.fi
hostname: the specified hostname is invalid

After this, even though it complains, it works. So apparently
sethostname is ran regardless of the 'error' in hostname.

Dunno where the bug should be, definitely not in zsh.

> On (2005-12-29 12:47 -0500), Clint Adams wrote:
> > > Tried on two debian/unstable boxes, same results. On freebsd box:
> > > zsh 4.2.6 (i386-portbld-freebsd5.4)
> > > 
> > > I have no problem with above.
> > 
> > What is the value of $HOST in each of these cases?
> 
> On the freebsd that works, FQDN. On the debian/unstable boxes 
> hostname (everything before first dot)
> 
> -foo- PS1="-%M- "   
> -foo- echo $HOST  
> foo
> 
> I noticed same behaviour in all zsh packages, so it's indeed
> probably not zsh's problems.
> 
> -- 
>   ++ytti

-- 
  ++ytti


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to