non-login shell

Sean Sieger sean.sieger at gmail.com
Sun Dec 4 20:49:04 UTC 2005


Scott Henson <scotth at csee.wvu.edu> writes:

   Sean Sieger wrote:

   >This may be vague but ...
   >
   >When I do
   >
   >emacs&
   >
   >in a gnome-terminal, why would the process not be
   >detached? Thank you.
   >  
   >
   Because it is backgrounded.  Not detached from the terminal.  Try
   "disown %1" after you start emacs.  That should completely detach the
   process from the terminal.  Also alt-F2 then starting emacs from there
   is probably more of what you want. 

Thank you. I had got it in my head that not only does
"&" give me back the shell, it detaches the process.

Anyway, the problem really lies in the fact that I only
have JAVA_HOME/bin in my $PATH when I am using a non-login
shell and start Emacs ... I think -- I cannot compile in
JDE unless I start Emacs with a non-login shell.

How do I put it in my $PATH on startup?





More information about the ubuntu-users mailing list