From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Tom Roche Newsgroups: gmane.os.cygwin,gmane.emacs.help,gmane.emacs.windows Subject: Re: terminal-mode cygwin/emacs problem Date: Mon, 14 Oct 2002 21:28:13 -0400 Sender: cygwin-owner@cygwin.com Message-ID: <3DAB6F2D.2010903@pobox.com> Reply-To: Tom_Roche@pobox.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1034645272 12754 80.91.224.249 (15 Oct 2002 01:27:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 15 Oct 2002 01:27:52 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 181GUx-0003Ja-00 for ; Tue, 15 Oct 2002 03:27:51 +0200 Original-Received: from sources.redhat.com ([209.249.29.67]) by quimby.gnus.org with smtp (Exim 3.12 #1 (Debian)) id 181HLh-0007Zs-00 for ; Tue, 15 Oct 2002 04:22:21 +0200 Original-Received: (qmail 1105 invoked by alias); 15 Oct 2002 01:28:17 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin@cygwin.com Original-Received: (qmail 1096 invoked from network); 15 Oct 2002 01:28:16 -0000 Original-Received: from unknown (HELO texas.pobox.com) (64.49.223.111) by sources.redhat.com with SMTP; 15 Oct 2002 01:28:16 -0000 Original-Received: from pobox.com (bi01p1.nc.us.ibm.com [129.33.49.251]) by texas.pobox.com (Postfix) with ESMTP id 176AA45358; Mon, 14 Oct 2002 21:28:15 -0400 (EDT) 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 Original-To: cygwin@cygwin.com, help-gnu-emacs@gnu.org, help-emacs-windows@gnu.org Xref: main.gmane.org gmane.os.cygwin:15841 gmane.emacs.help:2614 gmane.emacs.windows:985 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2614 >>> 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/