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@gmail.com>
To: cygwin@cygwin.com
Subject: Re: getting emacs in cygwin
In-Reply-To: <11269985.post@talk.nabble.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <11269985.post@talk.nabble.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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@adelphia.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/

