X-Spam-Check-By: sourceware.org From: "Dave Korn" To: References: <10348457 DOT post AT talk DOT nabble DOT com> Subject: RE: opening windows shell in emacs - problem Date: Sun, 6 May 2007 20:58:00 +0100 Message-ID: <024b01c79018$d9811a00$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <10348457.post@talk.nabble.com> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 06 May 2007 20:38, mineshvarmas wrote: > Hi ALl, > > I installed cywin on my windows xp machine and when i tried to open the > windows shell in emacs, i found that cygwin had taken over the cmd shell > (thats what i think..) Nah, cygwin doesn't do that. > unix commands like ls, started working in the windows shell. is this > what it should it do? i thought that the commands should be working in > the bash shell. > when i did a pwd in the windows shell, the output was /cygdrive/c/emacs/bin > why should the /cygdrive/ prefix appear, in a windows native shell? It's not a native shell. It /is/ a bash shell. Apparently emacs has noticed that you now have a real bash shell and decided to invoke that instead of cmd.exe. > the tab completion wich was working before i installed cygwin, doesn't > work now. > > for examples i have a word.exe file in a folder and when i tried to run > this i usually type the first few chars and then press tab for > autocompletion, but it only gives me the options that are there in the > C:\cygwin\bin That's because the current directory isn't in your path, and/or the tab-completion is case-sensitive now, and/or the document needs to have the 'x' flag set in its perms before bash will complete it as the first word on a line. > how can i get back the original windows command prompt without > uninstalling cygwin. i could use the cygwin bash shell sperately. You'll need to reconfigure emacs to point to cmd.exe instead of bash. I'm afraid the mysteries of emacs are .. well ... mysteries, to me, so I can't advise, but I'm sure someone else will be able to point you at the relevant config option. (It may have occurred that you have installed the cygwin emacs in addition to your original emacs and some of the settings are getting mixed up. I don't use emacs, so I don't really understand it). cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/