[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ubuntu 10.04 (getenv "HOSTNAME") does not work.
From: |
Eli Zaretskii |
Subject: |
Re: ubuntu 10.04 (getenv "HOSTNAME") does not work. |
Date: |
Sun, 29 Aug 2010 22:25:50 +0300 |
> From: mafeusek@gmail.com
> Date: Sun, 29 Aug 2010 20:09:47 +0200
>
> Hallo Group Members.
>
> (getenv "HOSTNAME") returns nil,
> while
>
> bash$ echo $HOSTNAME
>
> returns host name.
>
> weird!? :)
Does "export -p" show HOSTNAME? If not, it is not exported by the
shell to other programs, including Emacs.