This is the mail archive of the cygwin 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]

Re: Can't compile Screen: Undefined reference to __imp__ospeed


> I'm using a Perl script, available at
> http://www.frexx.de/xterm-256-notes/data/256colors2.pl, to test whether my
> terminal is giving me 256 colors.

Thanks, this is helpful.

>  It works when I run it from a vanilla bash
> prompt, but not from within Screen, even after I installed your build.

OK.  Same here.  I get a variety of different results with different
combinations of Cygwin version (1.5, 1.7), terminal type (DOS, xterm) and
with/without screen.  Without modification, the only combination that gives 256
colors for me is Cygwin 1.5, xterm, without screen.  All others give 8 colors,
and the colormap is garbled in the DOS terminals (big surprise).

However, in /usr/share/terminfo/s, there is a variety of screen* files,
including several named screen-256color*.  So it turns out that for me, running

TERM=screen-256color screen

gives 256 colors, at least in Cygwin 1.5.  Can you confirm this?

In Cygwin 1.7, I still only get 8 colors.  I'll report that separately as a bug.

Andrew.


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


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