In redhat and freebsd 'hostname' will print FQDN, which will result
zsh to have FQDN in '$HOST', which makes it possible to use %M and %m
in eg. prompt/xterm title to print either hostname or FQDN.
 As debian/unstable only accepts host not FQDN, $HOST will end up
having only hostname, and thus %M and %m in zsh will return same
string, and returning FQDN in PS1/xterm title is impossible.

 I do have to say that this is quite confusing, to more confuse
this, 'hostname' actually _does set_ 'foo.bar.baz' happily, will
just complain. So I'm not 100% sure where the error is, every
debian/unstable installation will return only hostname part (before
first dot) when 'hostname' is issued, thus in all debian/unstable
installations %M and %m will only return up until first dot.

-- 
  ++ytti


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

Reply via email to