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: gebser
Subject: Re: GNU emacs locks files modified with CVS
Date: Tue, 16 Dec 2003 11:26:59 -0500 (EST)

At 15:51 (UTC+0100) on Tue, 16 Dec 2003 Pepijn Kenter said:

= 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.

Obviously you have to edit the ~/.bashrc file on the box and for the 
account you're logging into.  If it doesn't work, you're doing something 
wrong.  Do you know that you're using the bash shell?  If so, do "man 
bash" and it'll tell you about .bashrc and setting env vars.


ken






reply via email to

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