Re: Using emacs in a terminal window

2009-06-11 Thread Mark Harig
> I'd say it's a bug that the rxvt max_colors entry is 8, since rxvt > does support 256 colours in its default setting. (And I notice it's > the same with xterm.) Don't know whether there are compatibility > concerns that require that. Just to be clear, the default terminfo capability for Cygwin

Re: Using emacs in a terminal window

2009-06-11 Thread Andy Koppe
> Here are some differences between the terminfo capabilities > 'rxvt-cygwin-native' and 'Eterm-256color': > > 1. max_colors: > rxvt    - max_colors: 8 > Eterm - max_colors: 256 I'd say it's a bug that the rxvt max_colors entry is 8, since rxvt does support 256 colours in its default setting. (And

Re: Using emacs in a terminal window

2009-06-11 Thread Mark Harig
> Yes, but nevertheless the TERM setting needs to fit the terminal that > Emacs is actually running in, so "rxvt" (or some variation thereof) > for rxvt and "xterm" for xterm or mintty. As Ken said, the "Eterm" > setting is intended for programs that run inside emacs' builtin > terminal. Using "Et

Re: Using emacs in a terminal window

2009-06-11 Thread Andy Koppe
> No, when Emacs is run in terminal (text-only, non-X-windows) > mode, it will use whatever terminal capability is in effect, > not only in `term-mode'. Yes, but nevertheless the TERM setting needs to fit the terminal that Emacs is actually running in, so "rxvt" (or some variation thereof) for rxv

Re: Using emacs in a terminal window

2009-06-11 Thread Fredrik Staxeng
Ken Brown writes: >- xterm: Invoke xterm with -xrm *backarrowKey:false or put > 'XTerm*backarrowKey: false' in your .Xdefaults file. Once xterm > is started, give the command 'stty erase ^?'. (These > suggestions are only relevant if you invoke emacs with the -nw > optio

Re: Using emacs in a terminal window

2009-06-10 Thread Mark Harig
First, note that this is not a Cygwin-specific issue. It is an Emacs-in-a-terminal issue, so perhaps it should not be mentioned at all in Cygwin-specific documents. It's similar to the "backspace" issue (or default fonts or default colors) in rxvt -- it leads to a better default user experience.

Re: Using emacs in a terminal window

2009-06-10 Thread Ken Brown
On 6/6/2009 3:43 PM, Mark Harig wrote: 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 dist

Re: Using emacs in a terminal window

2009-06-06 Thread Mark Harig
> 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

Re: Using emacs in a terminal window

2009-06-06 Thread Ken Brown
On 6/5/2009 10:51 PM, Mark Harig wrote: An alternative to providing instructions for a workaround would be to modify the default initialization files that are provided with the terminal emulators. [...] Similar solutions can likely be devised for xterm and mintty, but I do not have those packag

Re: Using emacs in a terminal window

2009-06-05 Thread Mark Harig
An alternative to providing instructions for a workaround would be to modify the default initialization files that are provided with the terminal emulators. For example, rxvt comes with the following file: $ cygcheck -l rxvt | grep app-defaults /etc/defaults/etc/X11/app-defaults/Rxvt The post

Re: Using emacs in a terminal window

2009-06-05 Thread Christopher Faylor
On Fri, Jun 05, 2009 at 10:29:33AM -0400, Ken Brown wrote: >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. Th