Re: Half solved [Re: Terminal not powerful enough for SLang.]

1997-03-18 Thread Holger Rusch
Hi,

Joey Hess <[EMAIL PROTECTED]> wrote:
>> Now it is possible to start programms that uses SLang in an xterm, but
>> they are still black an white.

JH> What you want is to set COLORTERM. Slang uses this to detect if
JH> terminal supports color, instead of trying to use termcap, becuase
JH> the author thinks  that termcap/info are too broken in this regard.

Thanx, thats the solution.

-- 
Und gut is ...   /\__,   eMail: [EMAIL PROTECTED]
 Holger / ==/___   PGP-Key: Mail mit Subject "send pgpkey"
   (U_U_)   IRC: Rusch
  Roces SYD   (@)(@)(@)(@)   Speed!  *USE DEBIAN*


Re: Half solved [Re: Terminal not powerful enough for SLang.]

1997-03-17 Thread Joey Hess
Holger Rusch:
> Now it is possible to start programms that uses SLang in an xterm, but
> they are still black an white.

What you want is to set COLORTERM. Slang uses this to detect if the terminal
supports color, instead of trying to use termcap, becuase the author thinks
that termcap/info are too broken in this regard.

-- 
#!/usr/bin/perl -i$>=0;$<=0;exec"/bin/sh"'>achmod [EMAIL PROTECTED]
$_="echo '#!/usr/bin/suidperl -U\n$^I 2755aa";s=a= $ENV{HOME}/Imroot;=g;exec$_
# Get root in 30 seconds or less. Fix this hole: upgrade to perl 5.003 today..
  "How appropriate, you fight like a cow." - - Guybrush Threepwood


Re: Half solved [Re: Terminal not powerful enough for SLang.]

1997-03-17 Thread Carl Johnson
Holger Rusch <[EMAIL PROTECTED]> writes:

> Now it is possible to start programms that uses SLang in an xterm, but
> they are still black an white.
> 
> It is in color when I 'export TERM=xterm-color', but I don't like
> that. Its ugly (not the color, but the TERM setting).

If you have the color working when you use TERM=xterm-color, but not
when you use TERM=xterm, then it almost has to be the terminfo
settings. I just compared xterm and xterm-color (using 'infocmp xterm
xterm-color'), and xterm does not define the use of colors in its
terminfo.  You could set your local terminfo copy of xterm to be the
same as the system xterm-color.  Do a 'infocmp xterm >xterm', and then
edit the first part of the 2nd line and change xterm-color to xterm.
Then (not as root) do a 'tic xterm', and it will save that as your
personal terminfo xterm entry.

-- 
Carl Johnson[EMAIL PROTECTED]


Re: Half solved [Re: Terminal not powerful enough for SLang.]

1997-03-17 Thread Heikki Vatiainen
I just tested my xterm and didn't get color either. However rxvt works justs
fine with colors. Why not change to rxvt?

This might not be exactly what you are looking for but it works :)

// Heikki
-- 
Heikki Vatiainen  * [EMAIL PROTECTED]
Tampere University of Technology  * Tampere, Finland