Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Not a problem as such just a query if anyone knows:
I use vi now and again for text editing. I recently installed POVRay on RH8. It's a text file command based raytracing program (anybody use it?). Anyway... I use vi to create some sample scenes and I notice that some POVRAY specific keywords actually highlight in vi as if they are recognised words. How would Redhat or the shell know about that? Is there a central depository for keywords stored somewhere?
I think what you are probably using is actually Vim, since plain old Vi is not capable (at least, as far as I know) of doing syntax highlighting. Vi is often aliased to Vim, since it's better
As for how it knows... I am constantly amazed at how many language syntaxes Vim knows about. (Yes, I'm very familiar with POVRay by the way - great software!)
I don't know too much about how it works, but if you type:
in Vi/Vim (note the colon before help), it'll give you some info (if the documentation is installed) on how it does syntax highlighting, where the syntax files are stored, how to create your own, etc. Pretty cool stuff!
Good one wapcaplet. I thought that was pretty cool. Excellent of the POV crowd to do that. Do you use much of POVRay? Just started it again recently. Basic tutorials really.. the chains etc you know. I'm remember a scene taking 12 hours to compile on a 66Mhz 486DX2.
Hell, the first time I saw POVRay on a 486 I was in utter awe of how fast it rendered. I first used it on a 386SX/16. It took about an hour to render a sphere at 160x120
Haven't used it too much recently. I used it a while back to render some LDraw models (virtual LEGO) and some example pics for Wikipedia. Not much time for it lately. I've been more into Blender lately, but there is some stuff that POVRay is much better at.
It took about an hour to render a sphere at 160x120
Oh yes, forgot to say it's was a 1024x768 scene that was been rendered. A jack-in-the-box on a themepark railway track. That took about 12 hours. Must see if I can hunt down the .pov file. It was a work of art put on a magazine floppy: PC Format.
to get rid of the highlighting, before you "insert", just type this
stuff is being highlighted because somehow you searched for that word, searching for something similar to what i posted will make vim look for that word. Since I don't think many documents have /akldfjlk;ajfdlkjalkfd in them, i think you should be safe with that.