From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: ubuntu 10.04 (getenv "HOSTNAME") does not work. Date: Sun, 29 Aug 2010 22:25:50 +0300 Message-ID: <837hj9kypt.fsf@gnu.org> References: NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1283111871 5302 80.91.229.12 (29 Aug 2010 19:57:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 29 Aug 2010 19:57:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 29 21:57:50 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Opo0h-0001DQ-3b for geh-help-gnu-emacs@m.gmane.org; Sun, 29 Aug 2010 21:57:47 +0200 Original-Received: from localhost ([127.0.0.1]:38593 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Opo0Y-0004Jo-Ie for geh-help-gnu-emacs@m.gmane.org; Sun, 29 Aug 2010 15:57:38 -0400 Original-Received: from [140.186.70.92] (port=59264 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OpnXG-0008Kx-5e for help-gnu-emacs@gnu.org; Sun, 29 Aug 2010 15:28:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OpnTt-0005ov-6H for help-gnu-emacs@gnu.org; Sun, 29 Aug 2010 15:23:54 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:42283) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OpnTs-0005ok-Ut for help-gnu-emacs@gnu.org; Sun, 29 Aug 2010 15:23:53 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0L7X00800HKMWC00@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Sun, 29 Aug 2010 22:23:46 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.127.93.239]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L7X008N9HVLWG10@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Sun, 29 Aug 2010 22:23:46 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:74830 Archived-At: > 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.