delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/06/23/19:50:59

X-Spam-Check-By: sourceware.org
Message-ID: <11271262.post@talk.nabble.com>
Date: Sat, 23 Jun 2007 16:50:40 -0700 (PDT)
From: illuzioner <illuzioner AT adelphia DOT net>
To: cygwin AT cygwin DOT com
Subject: Re: getting emacs in cygwin
In-Reply-To: <195b3f1f0706231557p2ded4808r45dcca3f3f64cf97@mail.gmail.com>
MIME-Version: 1.0
X-Nabble-From: illuzioner AT adelphia DOT net
References: <11269985 DOT post AT talk DOT nabble DOT com> <195b3f1f0706231557p2ded4808r45dcca3f3f64cf97 AT mail DOT gmail DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com



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



-- 
View this message in context: http://www.nabble.com/getting-emacs-in-cygwin-tf3970425.html#a11271262
Sent from the Cygwin Users mailing list archive at Nabble.com.


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019