Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've installed Cygwin on Windows 7 Ultimate 64-bit. After a rebaseall, Cygwin works nicely. However, I use multi-term in my default Emacs setup, and multi-term doesn't seem to like Cygwin at all.

It looks as though multi-term isn't correctly identifying the terminal type. It's writing what I think are control characters visibly in the buffer, and simple things like clear and linefeeds don't work.

Here's what it looks like at startup:

Multi-term in Emacs under Cygwin

Is there a way of getting this working? I'm very used to having multiple terminals available in Emacs on Linux and would hate to lose this functionality under Cygwin.

share|improve this question
1  
Not even a bounty made a difference ... :-( Still, I'm now developing in RoR on a mix of Mac OS X & Linux so hopefully I'll never be back to Windows ... – Duncan Bayne Nov 16 '11 at 3:35

I believe your issue is resolved by explicitly stating the terminal type. I use multi-term for emacs in cygwin on windows7 x64 with the following lines in my .emacs:

(require 'multi-term)
(setq multi-term-program "/bin/bash")  ;; <--- this is what you need
(setq multi-term-dedicated-select-after-open-p t)
(setq multi-term-dedicated-close-back-to-open-buffer-p t)
(define-key global-map (kbd "C-x t") 'multi-term-dedicated-toggle) 
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .