This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Mintty versus xterm colors in Vim
- From: "JOHNER Jean 066030" <Jean dot JOHNER at cea dot fr>
- To: <cygwin at cygwin dot com>
- Date: Thu, 12 Aug 2010 19:30:52 +0200
- Subject: Mintty versus xterm colors in Vim
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=51,nbrnnap=51)
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:
"*", "=", "/" 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:
"*", "=", "/" 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