This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: cygwin modifies path: problems in NTEmacs shell buffer


Hi David,

this might help to fix the problem.
Thanks
Markus

Robinow, David writes:
 >  This answer isn't really related to cygwin so followup if necessary to an
 > Emacs list. If I'm way off base let me know by e-mail.
 >  The following quote is from the comment following "(defun shell ()" in
 > lisp/shell.el
 >  "If a file `~/.emacs_SHELLNAME' exists, it is given as initial input"
 > 
 >  So you can add your emacs-specific bash startup commands in the file
 > ~/.emacs_bash
 > -----Original Message-----
 > From: Markus Hoenicka [mailto:Markus.Hoenicka@uth.tmc.edu]
 > ...
 > That means my .bashrc is read correctly, but Cygwin fails to add
 > /usr/local/bin:/usr/bin:/bin.
 > ...
 > I could certainly just add the missing paths in my .bashrc, but this
 > would mean that I have three duplicate paths in my command line bash
 > sessions.
 > 
 > Any ideas how to rectify this?
 > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
 > <HTML>
 > <HEAD>
 > <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
 > <META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2650.12">
 > <TITLE>RE: cygwin modifies path: problems in NTEmacs shell buffer</TITLE>
 > </HEAD>
 > <BODY>
 > 
 > <P><FONT SIZE=2>&nbsp;This answer isn't really related to cygwin so followup if necessary to an</FONT>
 > <BR><FONT SIZE=2>Emacs list. If I'm way off base let me know by e-mail.</FONT>
 > <BR><FONT SIZE=2>&nbsp;The following quote is from the comment following &quot;(defun shell ()&quot; in lisp/shell.el</FONT>
 > <BR><FONT SIZE=2>&nbsp;&quot;If a file `~/.emacs_SHELLNAME' exists, it is given as initial input&quot;</FONT>
 > </P>
 > 
 > <P><FONT SIZE=2>&nbsp;So you can add your emacs-specific bash startup commands in the file ~/.emacs_bash</FONT>
 > <BR><FONT SIZE=2>-----Original Message-----</FONT>
 > <BR><FONT SIZE=2>From: Markus Hoenicka [<A HREF="mailto:Markus.Hoenicka@uth.tmc.edu">mailto:Markus.Hoenicka@uth.tmc.edu</A>]</FONT>
 > <BR><FONT SIZE=2>...</FONT>
 > <BR><FONT SIZE=2>That means my .bashrc is read correctly, but Cygwin fails to add</FONT>
 > <BR><FONT SIZE=2>/usr/local/bin:/usr/bin:/bin.</FONT>
 > <BR><FONT SIZE=2>...</FONT>
 > <BR><FONT SIZE=2>I could certainly just add the missing paths in my .bashrc, but this</FONT>
 > <BR><FONT SIZE=2>would mean that I have three duplicate paths in my command line bash</FONT>
 > <BR><FONT SIZE=2>sessions.</FONT>
 > </P>
 > 
 > <P><FONT SIZE=2>Any ideas how to rectify this?</FONT>
 > </P>
 > 
 > </BODY>
 > </HTML>
-- 
Markus Hoenicka, PhD
UT Houston Medical School
Dept. of Integrative Biology and Pharmacology
6431 Fannin MSB4.114
Houston, TX 77030
(713) 500-6313, -7477
(713) 500-7444 (fax)
Markus.Hoenicka@uth.tmc.edu
http://ourworld.compuserve.com/homepages/hoenicka_markus/


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]