delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/02/19/12:55:39

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_66,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <922rp452nq682lcpobk7gbukuu1glcuai9@4ax.com>
References: <loom DOT 20090126T051539-969 AT post DOT gmane DOT org> <u3asn41ivnl7ml3vg5nubdh756dh7te9lg AT 4ax DOT com> <loom DOT 20090126T233225-348 AT post DOT gmane DOT org> <losun4dma3qh4eiflilod15lgr64c5ait4 AT 4ax DOT com> <loom DOT 20090128T064317-555 AT post DOT gmane DOT org> <hqh3o4lgioltfcodnhrm4e44m6btpjclcc AT 4ax DOT com> <loom DOT 20090129T192545-616 AT post DOT gmane DOT org> <l634o49gg4feoe37afo2lllqh7nio79j8p AT 4ax DOT com> <22103799 DOT post AT talk DOT nabble DOT com> <922rp452nq682lcpobk7gbukuu1glcuai9 AT 4ax DOT com>
Date: Thu, 19 Feb 2009 12:55:22 -0500
Message-ID: <17393e3e0902190955k58d359act76cb364965968fcf@mail.gmail.com>
Subject: Re: Can't compile Screen: Undefined reference to __imp__ospeed
From: Matt Wozniski <godlygeek AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 2/19/09, Andrew Schulman wrote:
> > Note that for Emacs to recognize screen-256color, you need to add the
>  > following into "term/screen-256color.el" in the load path (for Emacs 22):
>  >
>  > (defun terminal-init-screen ()
>  >   "Terminal initialization function for screen."
>  >   ;; Use the xterm color initialization code.
>  >   (load "term/xterm")
>  >   (xterm-register-default-colors)
>  >   (tty-set-up-initial-frame-faces))
>
>
> Thanks, this is good to know.  I'll include it in the screen.README.

Having xterm set TERM=xterm-256color and screen set
TERM=screen-256color makes vim's high color support work fine with no
extra configuration required.

~Matt

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019