This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

TERM=cygwin colors


Hi,

I am using cygwin on W2K.  The color display seems to be off.  I believe
this to be a termcap/terminfo problem.  For example:

   * When I use 'ls --color=auto', directories are dark blue,
     executables are green, but 'normal' files are light cyan.  I
     thought they used to be white.
   * When I use vim and examine, say, a diff file, '!' changes are
     dark blue, '-' changes are red, but '+' changes are the same
     color as the surrounding text (that is, light cyan).  If I use
     rxvt and do the same thing, each type of change correctly
     displays in a different color (using TERM=xterm-color)
   * I think this problem started when I installed XFree86, but I
     have since re-installed cygwin and the color problem persists.
   * I have tried uninstalling and reinstalling termcap and
     terminfo with no change.
   * My infocmp looks like this:

          #       Reconstructed via infocmp from file:
          /usr/share/terminfo/c/cygwin
          cygwin|ansi emulation for Cygwin,
                  am, eo, hs, mir, msgr, xon,
                  colors#8, cols#80, it#8, lines#24, ncv#3,
          pairs#64,

          acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\30

          1w\302x\263y\363z\362{\343|\330}\234~\376,
                  bel=^G, bold=\E[1m, cbt=\E[Z,
          clear=\E[H\E[J,
                  cnorm=\E[?25h, cr=^M, cub=\E[%p1%dD,
          cub1=\E[D,
                  cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC,
          cuf1=\E[C,
                  cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA,
          cuu1=\E[A,
                  dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
          dl=\E[%p1%dM,
                  dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
          fsl=^G, home=\E[H,
                  hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
          ich=\E[%p1%d@, ich1=\E[@,
                  il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m,
          kNXT=\E[6$,
                  kPRV=\E[5$, kb2=\E[G, kbs=^H, kcbt=\E[Z,
          kcub1=\E[D,
                  kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
          kdch1=\E[3~,
                  kend=\E[4~, kf1=\E[[A, kf10=\E[21~,
          kf11=\E[23~,
                  kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
          kf15=\E[28~,
                  kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
          kf19=\E[33~,
                  kf2=\E[[B, kf20=\E[34~, kf3=\E[[C,
          kf4=\E[[D, kf5=\E[[E,
                  kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
          kf9=\E[20~,
                  khome=\E[1~, kich1=\E[2~, knp=\E[6~,
          kpp=\E[5~, kspd=^Z,
                  nel=^M^J, op=\E[39;49m, rc=\E8, rev=\E[7m,
          ri=\EM,
                  rmacs=\E[10m, rmcup=\E[2J\E[?47l\E8,
          rmir=\E[4l,
                  rmso=\E[27m, rmul=\E[24m, rs1=\Ec\E]R,
          sc=\E7,
                  setab=\E[4%p1%dm, setaf=\E[3%p1%dm,

          sgr=\E[0%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m,

                  sgr0=\E[0m, smacs=\E[11m, smcup=\E7\E[?47h,
          smir=\E[4h,
                  smso=\E[7m, smul=\E[4m, tbc=\E[2g, tsl=\E];,

                  u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?6c,
          u9=\E[c,
                  vpa=\E[%i%p1%dd,

          Does anyone see anything wrong with this?

I realize this is a relatively minor point but it is very aggrevating
and I like my colors!  Any help would be appreciated.

cc




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]