help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU emacs locks files modified with CVS


From: Pepijn Kenter
Subject: Re: GNU emacs locks files modified with CVS
Date: Tue, 16 Dec 2003 15:51:58 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1

address@hidden wrote:
There's two ways which will keep/set the DISPLAY variable:

First, if the DISPLAY variable is set in user1 and you do "su user2", then the environment of user1 will carry into user2. IOW, you're good. Second, if you, instead, do "su - user2", then you will have a fresh environment, that of user2. If user2's environment doesn't have the DISPLAY variable set properly, you can do this by setting this in user2's ~/.bashrc file... if user2's default shell is bash-- if you're using some other shell, consult the manpage for the proper file and command syntax for setting the environment.


Thanks for your reply but the .bashrc seems to me the wrong place to set the DISPLAY variable.
If you login from another machine it won't be set properly.

Pepijn.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]