Re: 256 color support for terminals under X

2006-06-21 Thread Bihlmaier Andreas
On Tue, Jun 20, 2006 at 09:29:24PM +, Christian Weisgerber wrote:
 Bihlmaier Andreas [EMAIL PROTECTED] wrote:
 
  I stumbled across a problem with all X terminal emulators in OpenBSD
  (that is xterm and aterm, eterm and rxvt from ports).
  None of the above seems to support 256 colors. I tried various
  combinations of $TERM (xterm, xterm-color, xterm-xfree86,
  xterm-256color) with all the terminals, running and not running screen.
 
 xterm as distributed with OpenBSD is *not* built with 256-color
 support.
 
  I googled for about 3 hours last night, but without a definite answer
  whether OpenBSD supports 256colors in terminal under X. The argument I
  read (sorry can't seem to find the link anymore) was that the 256color
  support had some issues and was removed.
 
 It is simply not enabled by default in the xterm upstream distribution.
 -- 
 Christian naddy Weisgerber  [EMAIL PROTECTED]

Thanks for confirming this, since I don't want to make a custom xterm
build for every one of my desktop boxes, I'll just drop the idea and use
another colorscheme.

ahb



Re: 256 color support for terminals under X

2006-06-20 Thread viq
On Tuesday 20 June 2006 07:14, Bihlmaier Andreas wrote:
 Hello misc@,

 I stumbled across a problem with all X terminal emulators in OpenBSD
 (that is xterm and aterm, eterm and rxvt from ports).
 None of the above seems to support 256 colors. I tried various
 combinations of $TERM (xterm, xterm-color, xterm-xfree86,
 xterm-256color) with all the terminals, running and not running screen.

I'm not sure whether it's 256 colours, but right now I'm using as $TERM 
xterm-vt220

 I need the 256 color support for the superb vim colorscheme (actually
 it is more than just colors) xterm16[0], and no gvim is not an option
 because I don't like GUIs that much.

 I googled for about 3 hours last night, but without a definite answer
 whether OpenBSD supports 256colors in terminal under X. The argument I
 read (sorry can't seem to find the link anymore) was that the 256color
 support had some issues and was removed.

 Does OpenBSD support 256colors?

 BTW. I'm running amd64 STABLE, but I can reproduce the same behavior on
 i386 current (1 month old).

 Regards,
 ahb


 [0] http://vim.sourceforge.net/scripts/script.php?script_id=795

-- 
viq



Re: 256 color support for terminals under X

2006-06-20 Thread Michal Soltys

Bihlmaier Andreas wrote:


Hello misc@,

I stumbled across a problem with all X terminal emulators in OpenBSD
(that is xterm and aterm, eterm and rxvt from ports).
None of the above seems to support 256 colors. I tried various
combinations of $TERM (xterm, xterm-color, xterm-xfree86,
xterm-256color) with all the terminals, running and not running screen.


Check simple test scripts at http://frexx.de/xterm-256-notes/ - at least 
you will have answers if colors work properly.




Re: 256 color support for terminals under X

2006-06-20 Thread Timothy
On Tuesday 20 June 2006 12:14 am, Bihlmaier Andreas wrote:
 Hello misc@,

 I stumbled across a problem with all X terminal emulators in OpenBSD
 (that is xterm and aterm, eterm and rxvt from ports).
 None of the above seems to support 256 colors. I tried various
 combinations of $TERM (xterm, xterm-color, xterm-xfree86,
 xterm-256color) with all the terminals, running and not running screen.

I use termtype gnome to get colors in vim.

Tim



Re: 256 color support for terminals under X

2006-06-20 Thread Christian Weisgerber
Bihlmaier Andreas [EMAIL PROTECTED] wrote:

 I stumbled across a problem with all X terminal emulators in OpenBSD
 (that is xterm and aterm, eterm and rxvt from ports).
 None of the above seems to support 256 colors. I tried various
 combinations of $TERM (xterm, xterm-color, xterm-xfree86,
 xterm-256color) with all the terminals, running and not running screen.

xterm as distributed with OpenBSD is *not* built with 256-color
support.

 I googled for about 3 hours last night, but without a definite answer
 whether OpenBSD supports 256colors in terminal under X. The argument I
 read (sorry can't seem to find the link anymore) was that the 256color
 support had some issues and was removed.

It is simply not enabled by default in the xterm upstream distribution.

-- 
Christian naddy Weisgerber  [EMAIL PROTECTED]



Re: 256 color support for terminals under X

2006-06-20 Thread Christian Weisgerber
viq [EMAIL PROTECTED] wrote:

  I stumbled across a problem with all X terminal emulators in OpenBSD
  (that is xterm and aterm, eterm and rxvt from ports).
  None of the above seems to support 256 colors. I tried various
  combinations of $TERM (xterm, xterm-color, xterm-xfree86,
  xterm-256color) with all the terminals, running and not running screen.
 
 I'm not sure whether it's 256 colours, but right now I'm using as $TERM 
 xterm-vt220

Just why do people feel the urge to post comments when it should
be obvious even to them that they don't understand the problem and
have nothing to add to the topic?

It is maddening.

-- 
Christian naddy Weisgerber  [EMAIL PROTECTED]