Re: [osol-discuss] which package provides math.h?

2008-08-21 Thread Oscar del Rio
Matt Harrison wrote:
 I probably should have mentioned, I'm running SXCE (snv_95).

Regarding the question in the Subject line, my snv_95 has
/usr/include/math.h from the package SUNWlibm
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] which package provides math.h?

2008-08-20 Thread Matt Harrison
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'm trying to get coloured syntax highlighting working in vim, and after
a lot of work it looks like i'm going to have to compile my own vim,
using ncurses.

Ncurses requires math.h but I can't find which package provides it.

A pointer to the package or some hints on syntax highlighting with
colours would be great :)

Thanks

Matt
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)

iEYEARECAAYFAkisolAACgkQiMZP8RXkRgQi8QCgkW8A0LN1ZiJwhnC5K+XtX9rm
MR4An2AGnj5XoayiQ7DD78Dh+qQB8gXz
=u4Iw
-END PGP SIGNATURE-
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] which package provides math.h?

2008-08-20 Thread Matt Harrison
I probably should have mentioned, I'm running SXCE (snv_95). I've tried 
all the TERM=xtermc, TERM=xterm-color stuff, and I'm still in black and 
white.

Thanks

Matt
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] which package provides math.h?

2008-08-20 Thread Mike Gerdts
On Wed, Aug 20, 2008 at 6:24 PM, Matt Harrison
[EMAIL PROTECTED] wrote:
 I probably should have mentioned, I'm running SXCE (snv_95). I've tried
 all the TERM=xtermc, TERM=xterm-color stuff, and I'm still in black and
 white.

I have the following in my .vimrc:

:if has(terminfo)
:  set t_Co=8
:  set t_Sf=ESC[3%p1%dm
:  set t_Sb=ESC[4%p1%dm
: syntax on
:else
:  set t_Co=8
:  set t_Sf=ESC[3%dm
:  set t_Sb=ESC[4%dm
: syntax on
:endif


Replace ESC with an escape character (^Vesc).

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] which package provides math.h?

2008-08-20 Thread Glenn Lagasse
* Matt Harrison ([EMAIL PROTECTED]) wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I'm trying to get coloured syntax highlighting working in vim, and after
 a lot of work it looks like i'm going to have to compile my own vim,
 using ncurses.

You don't mention what OS you're trying to do this on, but recent SXCE
releases and OpenSolaris 2008.05  have color syntax highlighting
built-in.  No compilation necessary.

What are you running (OS wise) and what have you tried that isn't
working?

Cheers,

-- 
Glenn
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] which package provides math.h?

2008-08-20 Thread Glenn Lagasse
* Matt Harrison ([EMAIL PROTECTED]) wrote:
 I probably should have mentioned, I'm running SXCE (snv_95). I've tried 
 all the TERM=xtermc, TERM=xterm-color stuff, and I'm still in black and 
 white.

Works just fine for me on SXCE 92 (and thus it should work just fine on
95).  I'm setting TERM=xterm-color and have the following in my .vimrc:

syntax on
set background=dark

I log in to this box over SSH from OS X using Terminal.App.  Vim on SXCE
and OpenSolaris comes with syntax color support OOTB.  Something else in
your environment/setup is amiss (the question is, what).  What terminal
emulator are you using (xterm, gnome-terminal, etc)?

Cheers,

-- 
Glenn
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] which package provides math.h?

2008-08-20 Thread Matt Harrison
Mike Gerdts wrote:
 On Wed, Aug 20, 2008 at 6:24 PM, Matt Harrison
 [EMAIL PROTECTED] wrote:
 I probably should have mentioned, I'm running SXCE (snv_95). I've tried
 all the TERM=xtermc, TERM=xterm-color stuff, and I'm still in black and
 white.
 
 I have the following in my .vimrc:
 
 :if has(terminfo)
 :  set t_Co=8
 :  set t_Sf=ESC[3%p1%dm
 :  set t_Sb=ESC[4%p1%dm
 : syntax on
 :else
 :  set t_Co=8
 :  set t_Sf=ESC[3%dm
 :  set t_Sb=ESC[4%dm
 : syntax on
 :endif
 
 
 Replace ESC with an escape character (^Vesc).
 

Excellent :D

I had found something through google that said to do this, but using 
different escape codes. It didn't work, but this does :)

I now have coloured syntax hilighting over ssh and at the console :)

many thanks

Matt
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] which package provides math.h?

2008-08-20 Thread Matt Harrison
Glenn Lagasse wrote:
 * Matt Harrison ([EMAIL PROTECTED]) wrote:
 I probably should have mentioned, I'm running SXCE (snv_95). I've tried 
 all the TERM=xtermc, TERM=xterm-color stuff, and I'm still in black and 
 white.
 
 Works just fine for me on SXCE 92 (and thus it should work just fine on
 95).  I'm setting TERM=xterm-color and have the following in my .vimrc:
 
 syntax on
 set background=dark
 
 I log in to this box over SSH from OS X using Terminal.App.  Vim on SXCE
 and OpenSolaris comes with syntax color support OOTB.  Something else in
 your environment/setup is amiss (the question is, what).  What terminal
 emulator are you using (xterm, gnome-terminal, etc)?
 
 Cheers,
 

I was logging in from PuTTy or gnome-terminal on a linux box, my 
termtype was set to xterm, but I had tried it with xtermc and xterm-color.

I had the same things in my .vimrc but until I tried Mike's suggestions, 
I was all in black and white.

However Mike's .vimrc has fixed it nicely :)

Thanks

Matt
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] which package provides math.h?

2008-08-20 Thread Glenn Lagasse
* Matt Harrison ([EMAIL PROTECTED]) wrote:
 Glenn Lagasse wrote:
 * Matt Harrison ([EMAIL PROTECTED]) wrote:
 I probably should have mentioned, I'm running SXCE (snv_95). I've 
 tried all the TERM=xtermc, TERM=xterm-color stuff, and I'm still in 
 black and white.

 Works just fine for me on SXCE 92 (and thus it should work just fine on
 95).  I'm setting TERM=xterm-color and have the following in my .vimrc:

 syntax on
 set background=dark

 I log in to this box over SSH from OS X using Terminal.App.  Vim on SXCE
 and OpenSolaris comes with syntax color support OOTB.  Something else in
 your environment/setup is amiss (the question is, what).  What terminal
 emulator are you using (xterm, gnome-terminal, etc)?

 Cheers,


 I was logging in from PuTTy or gnome-terminal on a linux box, my  
 termtype was set to xterm, but I had tried it with xtermc and 
 xterm-color.

 I had the same things in my .vimrc but until I tried Mike's suggestions,  
 I was all in black and white.

 However Mike's .vimrc has fixed it nicely :)

How odd, since I don't have any of that sort of stuff in my .vimrc.

Glad to hear it's fixed for you though.

Cheers,

-- 
Glenn
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org