From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Pepijn Kenter Newsgroups: gmane.emacs.help Subject: Re: GNU emacs locks files modified with CVS Date: Wed, 17 Dec 2003 17:41:56 +0100 Organization: SURFnet BV Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3FE08754.1050209@tpd.tno.nl> References: Reply-To: kenter_remove_spam@tpd.tno.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1071679677 5359 80.91.224.253 (17 Dec 2003 16:47:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 17 Dec 2003 16:47:57 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 17 17:47:49 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AWepw-000718-00 for ; Wed, 17 Dec 2003 17:47:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AWflA-0002pS-Db for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Dec 2003 12:46:56 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news2.telebyte.nl!humbolt.nl.linux.org!news.nl.linux.org!news.wind.surfnet.nl!surfnet.nl!news.surfnet.nl!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: tpd221025064.tpd.tno.nl Original-X-Trace: news.surfnet.nl 1071679339 4504 134.221.25.64 (17 Dec 2003 16:42:19 GMT) Original-X-Complaints-To: usenet@news.surfnet.nl Original-NNTP-Posting-Date: Wed, 17 Dec 2003 16:42:19 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1 X-Accept-Language: en Original-Xref: shelby.stanford.edu gnu.emacs.help:119435 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:15374 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15374 gebser@speakeasy.net wrote: > Of course everyone can set up their systems however they wish, but I > use: Of course. When saying the .bashrc isn't the proper place for setting the DISPLAY variable, I meant that at that time you can't know what value to set it to. From your (and Maurizio Loreti's) post I learned you can use the who command to find out. So thank you both. > > export DISPLAY=$(who -lum|awk -F '(' '{print $2}'|awk -F ')' '{print $1}'):0 > > in my ~/.bashrc and have no problem logging in and/or running remotely > whatever X apps I want. > > Because it would take a lot of thinking to hash out which is the correct > file to put this in, whether the DISPLAY is a resource or not, whether... Excuse my ignorance, but what do you mean by resource in this context? Pepijn.