* ubuntu 10.04 (getenv "HOSTNAME") does not work.
@ 2010-08-29 18:09 mafeusek
2010-08-29 19:25 ` Eli Zaretskii
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: mafeusek @ 2010-08-29 18:09 UTC (permalink / raw)
To: help-gnu-emacs
Hallo Group Members.
(getenv "HOSTNAME") returns nil,
while
bash$ echo $HOSTNAME
returns host name.
weird!? :)
have You got an idea why??
best regards,
Pawel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ubuntu 10.04 (getenv "HOSTNAME") does not work.
2010-08-29 18:09 ubuntu 10.04 (getenv "HOSTNAME") does not work mafeusek
@ 2010-08-29 19:25 ` Eli Zaretskii
2010-08-29 20:05 ` Peter Dyballa
[not found] ` <mailman.5.1283112307.30819.help-gnu-emacs@gnu.org>
2 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2010-08-29 19:25 UTC (permalink / raw)
To: help-gnu-emacs
> 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ubuntu 10.04 (getenv "HOSTNAME") does not work.
2010-08-29 18:09 ubuntu 10.04 (getenv "HOSTNAME") does not work mafeusek
2010-08-29 19:25 ` Eli Zaretskii
@ 2010-08-29 20:05 ` Peter Dyballa
[not found] ` <mailman.5.1283112307.30819.help-gnu-emacs@gnu.org>
2 siblings, 0 replies; 4+ messages in thread
From: Peter Dyballa @ 2010-08-29 20:05 UTC (permalink / raw)
To: mafeusek; +Cc: help-gnu-emacs
Am 29.08.2010 um 20:09 schrieb mafeusek:
> have You got an idea why??
Yes. I read 'man bash' a few times. It seems to export HOST. Although
I am not sure whether it exists in every instance of bash (login,
interactive, non-interactive, etc.).
--
Greetings
<]
Pete o __o |__ o recumbo
___o /I -\<, |o \ -\),-% ergo sum!
___/\ /\___./ \___...O/ O____.....`-O-'-()--o_________________
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <mailman.5.1283112307.30819.help-gnu-emacs@gnu.org>]
end of thread, other threads:[~2010-08-31 19:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-29 18:09 ubuntu 10.04 (getenv "HOSTNAME") does not work mafeusek
2010-08-29 19:25 ` Eli Zaretskii
2010-08-29 20:05 ` Peter Dyballa
[not found] ` <mailman.5.1283112307.30819.help-gnu-emacs@gnu.org>
2010-08-31 19:10 ` Christian Herenz
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.