This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: emacs issues


Larry Hall <lh-no-personal-replies-please@cygwin.com> writes:

  > At 09:39 PM 7/19/2005, you wrote:
  > 
  >     One of them is that C-x C-c does not work by default when emacs is run
  >     in the Cygwin terminal. It seems that to solve this CYGWIN needs to
  >     contain "tty", but that does not work by default.
  >     One way to solve this would be to move the emacs binary to
  >     /usr/libexec and make /usr/bin/emacs a shell script:
  >    
  >     #!/bin/bash
  >     # maybe add a test and do this iff $TERM == cygwin
  >     CYGWIN=tty /usr/bin/libexec/emacs $*
  > 
  > 
  > 
  > I don't think you'll find this to be an adequate solution either. 
  > Quoting from the Cygwin User's Guide:
  > 
  > (no)tty - if set, Cygwin enables extra support (i.e., termios) for UNIX-like
  > ttys in the Windows console. It is not compatible with some Windows
  > programs. Defaults to not set, in which case the tty is opened in text mode.
  > Note that this has been changed such that ^D works as expected instead of
  > ^Z, and is settable via stty. This option must be specified before starting
  > a Cygwin shell and it cannot be changed in the shell. It should not be set
  > when using other terminals (i.e., rxvt or xterm).

The script above seems to work for me... I might be missing something,
but all the things I tried work as expected. Maybe the documentation
is not up to date...

       --dan

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]