[News] MorphOS gVIM 6.2.322 (Screenshot) | ANN.lu |
Posted on 07-Mar-2004 01:33 GMT by oGALAXYo | 21 comments View flat View list |
Can be seen here.
|
|
List of all comments to this article |
MorphOS gVIM 6.2.322 (Screenshot) : Comment 12 of 21 | ANN.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. |
|
List of all comments to this article (continued) |
|
- User Menu
-
- About ANN archives
- The ANN archives is powered by #AmigaZeux. It was updated daily (news last: 22-Oct-2004; comments last: 18-May-2005).
ANN.lu was created, previously owned and maintained by Christian Kemp, www.ckemp.com.
- Contribute
- Not possible at this time!
- Search ANN archives
- Advanced search
- Hosting
- ANN.lu was hosted by Dreamhost. Sign up through this link, mention "ckemp" as referrer and he will get a 10% commission on any account you purchase.
Please show your appreciation for any past, present and future work on ANN.lu by making a contribution via PayPal.
|