Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3DAB6F2D.2010903@pobox.com> Date: Mon, 14 Oct 2002 21:28:13 -0400 From: Tom Roche Reply-To: Tom_Roche AT pobox DOT com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cygwin AT cygwin DOT com, help-gnu-emacs AT gnu DOT org, help-emacs-windows AT gnu DOT org Subject: Re: terminal-mode cygwin/emacs problem Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit >>> emacs: Terminal type cygwin is not defined. >>> If that is not the actual type of terminal you have, >>> use the Bourne shell command `TERM=... export TERM' (C-shell: >>> `setenv TERM ...') to specify the correct type. It may be necessary >>> to do `unset TERMINFO' (C-shell: `unsetenv TERMINFO') as well. Tom Roche wrote: >> I get the same message for 'emacs -nw'? What do I need to tell >> emacs? or cygwin? or both? Joe Buehler replied: > Make sure terminfo is installed -- there should be a file > /usr/lib/terminfo/c/cygwin. Well, I tried reinstalling terminfo, and now > $ find / -name '*terminfo*' > /etc/setup/terminfo.lst.gz > /lib/terminfo > /usr/doc/Cygwin/terminfo-5.2.README > /usr/doc/terminfo-5.2 > /usr/share/terminfo and emacs runs! However the display not quite right: when emacs starts up, the display is usually shifted either down a line or to the right a column from where it should be, with extraneous characters showing in either the minibuffer, or the top of the display (first line under windows titlebar) or both. Joe Buehler replied: > note that there is a separate package for X11 emacs. If you > don't install it, all you get from the "emacs" package is the > usual terminal-mode emacs. So I tried installing emacs-X11: it also works, but it shares the same display-shifting defect as emacs-nox. How can I fix this? Alternately, is there a better way to report the problem (e.g. a bugzilla)? But for anyone else who gets the "Terminal type" error: try reinstalling. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/