25-Apr-2024 09:07 GMT.
UNDER CONSTRUCTION
[News] MorphOS gVIM 6.2.322 (Screenshot)ANN.lu
Posted on 07-Mar-2004 01:33 GMT by oGALAXYo21 comments
View flat
View list
Can be seen here.
List of all comments to this article
Sorted by date, most recent at bottom
Comment 1bla07-Mar-2004 03:21 GMT
Comment 2opi07-Mar-2004 09:52 GMT
Comment 3Hagge07-Mar-2004 13:52 GMT
Comment 4oGALAXYo07-Mar-2004 14:13 GMT
Comment 5Hagge07-Mar-2004 18:43 GMT
Comment 6koan07-Mar-2004 19:34 GMT
Comment 7Piru07-Mar-2004 20:06 GMT
Comment 8bitburger07-Mar-2004 21:31 GMT
Comment 9Anonymous07-Mar-2004 21:31 GMT
Comment 10oGALAXYo07-Mar-2004 22:03 GMT
Comment 11Graham_nli07-Mar-2004 23:25 GMT
MorphOS gVIM 6.2.322 (Screenshot) : Comment 12 of 21ANN.lu
Posted by oGALAXYo on 07-Mar-2004 23:39 GMT
In reply to Comment 11 (Graham_nli):
The problem here is that I have a bit understanding problems in how the MorphOS Shell workd and how VIM works with it as well.

VIM has three types of 'Terminal emulations'

term: A dumb terminal that only understands some colors. Most of the VIM colorschemes put values like bold, underline, italic, normal, inverse etc. as color derivate into it to highlight text.

cterm: A color terminal as used in MSDOS and stuff like this (I also believe that Lunix is handled that way) the values represents colors that are available for Console.

gui: Depends on the GUI system used and can be all depths up to 32bit that means full aspekt of colors can be used.

So a colorscheme in VIM has all these 3 things in a scheme file. term definitions, cterm definitions and gui definitions. The GUI version of VIM (even for Intuition) can do what the card offers (but the code is so what unfinished (not written by me either)) and needs to get some love. But it's hard to figure where to actually start because the entire code is full of IFDEFS even from and for other Operating Systems. I also don't know yet how term.c and termlib.c works and figures out the Terminals.

I do know that MorphOS Shell (which gets detected as AMIGA) Shell understands all the ANSI colors (I was told it supports 8 pens) so it does

30-37, 40-47 and intense (1 or 0)

But I was also told that it can deal with RGB values but I have absolutely NO clue how this works now (and honestly I am doing more on VIM right now than I initially wanted). Let's see it's a good education and excercise. Would be nice if some people could enlighten me more on this so I get the rest working too.

Right now I have mapped bold, italics, underline, normal etc. to ANSI color values, that's why you get colors now.
Jump...
#13 oGALAXYo
TopPrevious commentNext commentbottom
List of all comments to this article (continued)
Comment 13oGALAXYo07-Mar-2004 23:43 GMT
Comment 14Anon08-Mar-2004 00:00 GMT
Comment 15koan08-Mar-2004 08:05 GMT
Comment 16Anonymous08-Mar-2004 09:03 GMT
Comment 17koan08-Mar-2004 11:55 GMT
Comment 18Anonymous08-Mar-2004 13:35 GMT
Comment 19koan08-Mar-2004 14:24 GMT
Comment 20ToDi08-Mar-2004 18:18 GMT
Comment 21oGALAXYo09-Mar-2004 00:35 GMT
Back to Top