delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/12/13:31:08

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.3 required=5.0 tests=AWL,BAYES_50,SARE_ADLTOBFU,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: Mintty versus xterm colors in Vim
Date: Thu, 12 Aug 2010 19:30:52 +0200
Message-ID: <1299EF3181B10F479D85C328013285240331C4E0@THEZE.intra.cea.fr>
From: "JOHNER Jean 066030" <Jean DOT JOHNER AT cea DOT fr>
To: <cygwin AT cygwin DOT com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Hello,
Consider a .vimrc containing only the following line:
syntax on
Consider the following "test.f" fortran file:
______________________________________________________________________
c Version 1.0
*deck main
c Following comments when not preceded by a blank line
      character nvarbeta*8,nvarnhug*8,nvarpfus*8,nvarflux*8
      parameter (nbtnap=3D51,nbrnnap=3D51)
      external f0tfnpadd,fntaudiv,fnigana,f0gdadureeflux,
     & f0fhetauhesenflux,f0fhetauhesedureenflux,f0fhetauhesedureetflux,
     & f0tigpfus,f0f1igpfus,f0gdhigpfus,f0fhetauhesengdh
      common/coalphabetatilde/alphantilde,alphattilde,betattilde,nbit,
     & info
      common/coonetwo/one,two
      common/coidrhopedballoon/irhopedballoon
      common/cocd/gamacd10,gamacd20
      common/cogdq/gdq
_______________________________________________________________________

1/ Launch the "XWin server" shortcut to get an xterm terminal
Type:
vim test.f

test.f opens with the following colors:
"*", "=3D", "/" are in a readable dark brown
Continuation "&" is in yellow

2/ Open a Mintty terminal with black foreground and white background
Type
vim test.f

test.f opens with the following colors:
"*", "=3D", "/" are in a difficultly readable light brown
Continuation "&" is in yellowish gray

It is possible to have xterm colors in Mintty?

Best regards

Jean Johner

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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