delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/06/23/18:57:29

X-Spam-Check-By: sourceware.org
Message-ID: <195b3f1f0706231557p2ded4808r45dcca3f3f64cf97@mail.gmail.com>
Date: Sun, 24 Jun 2007 07:57:06 +0900
From: "Wynfield Henman" <wynfield AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: getting emacs in cygwin
In-Reply-To: <11269985.post@talk.nabble.com>
MIME-Version: 1.0
References: <11269985 DOT post AT talk DOT nabble 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

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.

On 6/24/07, illuzioner <illuzioner AT adelphia DOT net> wrote:
> i currently run both cygwin and emacs under winXP, but emacs runs
> separately.  can i run emacs in cygwin, and then have a shell inside of
> emacs?
>
> also, based on recommendations by some in this group i got puttycyg.  i love
> that i can expand the window horizontally.  however, when i execute
> "putty.exe -cygwin" it brings up a dialog first into which i have to type
> "-" for the login.  is there a way to bypass this so just the shell comes
> up?

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

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