How to run GNU Emacs from Windows icon

Ken Brown kbrown@cornell.edu
Tue Jun 2 11:51:00 GMT 2009


On 6/2/2009 7:18 AM, Ken Brown wrote:
> On 6/2/2009 5:30 AM, Marc Girod wrote:
>> I can also start a Cygwin window, and run GNU emacs there (with a -nw
>> option).
>> It starts, although doesn't work well. The keyboard bindings are weird 
>> for a
>> start (e.g. C-x C-c gives in fact C-x C-g, which forces you to exit 
>> with M-x
>> kill-emacs).
>> I'm sure this was discussed already.
> 
> You need to have 'tty' in your CYGWIN environment variable in order to 
> prevent this from happening.  But even then, you'll find that many 
> keystrokes don't work as expected.  If you want to run emacs in a 
> terminal (rather than under X), you'll get much better results with 
> mintty or rxvt.

But none of this addresses the OP's original problem:

> emacs: Terminal type cygwin is not defined.

My guess is that this is a terminfo issue.  Try installing the terminfo0 
package.

Chuck, the ancient-but-still-current emacs requires libncurses7; the 
latter requires terminfo, but I think it should require terminfo0 instead.

Ken

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



More information about the Cygwin mailing list