X-Spam-Check-By: sourceware.org Message-ID: <467F1CA0.7040101@cygwin.com> Date: Sun, 24 Jun 2007 21:38:40 -0400 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070505 Remi/2.0.0.0-3.fc4.remi Thunderbird/2.0.0.0 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: getting emacs in cygwin References: <11269985 DOT post AT talk DOT nabble DOT com> <195b3f1f0706231557p2ded4808r45dcca3f3f64cf97 AT mail DOT gmail DOT com> <11271262 DOT post AT talk DOT nabble DOT com> In-Reply-To: <11271262.post@talk.nabble.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 illuzioner wrote: > > > Wynfield Henman wrote: >> Lou, >> yes, you can run emacs in cygwin in either of two modes, which >> emacs figures out by itself. Either in terminal mode if invoked from >> a terminal emulator like, say putty or in full graphical mode if >> executed from one of cywin's X-windows. >> >> And yes, you can run a shell inside it too, if you set up .emacs init >> file right. >> >> >> >> Do this in your "cygwin.bat" file. >> c:/.../putty.exe -cygterm -load lou_cyg_putty >> >> But, first you have to create the putty session load file", which in >> the above case >> I arbitrary named "lou_cyg_putty" , You can give it any name you wish. >> Where in this example "lou_cyg_putty" is the name you gave to a"putty >> session >> you customized for a cygwin window" and then saved it from withing the >> "Putty configuration" window. For example, set you screen title in >> "Window"-> "Behavior" to >> "Lou's Cygwin Putty Terminal" or what ever... Set sizes, character >> fonts and then >> give these a session name and click [Save]. >> >> Then everytime you invoke cygwin the putty terminal will come up, >> without having the putty configuration screen always come up. >> >>> thanks! >>> lou >> Another really great thing about putty terminals is that you can cut >> and paste. This >> I find a great time saver. >> Regards, >> Henman >> >> > > thanks, the putty stuff works great. curiously, it still brings up a cygwin > terminal before it brings up the putty terminal. i can delete the terminal > without a problem, but i'd like to keep it from showing up in the first > place, if possible. > here's my cygwin.bat file: > ----------------------------------- > @echo off > set CYGWIN=tty > f:/cygwin/puttycyg-20070320/putty.exe -cygterm -load CygwinPuttyTerminal > F: > chdir F:\cygwin\bin > > REM bash --login -i > -------------------------------------- > > i can get emacs to run in a separate window, but not inside the putty > terminal (which would be really nice sometimes). my emacs command is just > the emacs.exe, but i also tried runemacs.exe as the executable, but the > results were the same. is there a different executable i should be using? > > thanks for the great help! -- lou See 'man run'. If this complains, run 'setup.exe' and install the 'run' package. Then try again. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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/