X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4A2AC6F6.9060906@aim.com> Date: Sat, 06 Jun 2009 15:43:50 -0400 From: Mark Harig User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Using emacs in a terminal window Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AOL-IP: 205.188.169.201 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 > I've answered several questions in recent weeks about > how to use emacs in a terminal window. To try to clarify > this, I plan to put some suggestions in > /usr/share/doc/Cygwin/emacs.README the next time I > update the emacs packages. The current draft is appended > below. Please let me know if you see any inaccuracies or if > anything could be stated more clearly. Here is an additional item related to terminal-mode Emacs that might be worth mentioning: A better display of colors, underlining, etc. can be obtained in the terminal mode Emacs by making use of the terminfo file that is included in the Emacs distribution: /usr/share/emacs/23.0.92/etc/e/eterm-color This file (eterm-color) can be accessed by copying it to the directory /usr/share/terminfo/e/ (which the user may need to create). The terminal capabilities are then available if terminal-mode Emacs is invoked with some variation of: env TERM=Eterm-color emacs ... If the user has the Cygwin version of the 'terminfo' package installed, then even more terminal capabilities are available. This package provides the files 'Eterm', 'Eterm-88color', and 'Eterm-256color' in the directory /usr/share/terminfo/45/. To make use of the 'Eterm-256color' terminal capabilities, for example, issue some variation of the following commands: $ cd /usr/share/terminfo/45/ $ ln -fs Eterm-256color Eterm-color $ cd $ env TERM=Eterm-color emacs ... An alias can also be defined to help: $ alias edit="env TERM=Eterm-color /usr/bin/emacs-nox --no-splash" -- 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/