ne Editor question, MEPIS 8

Here is where users who have been using MEPIS awhile and know the basics of linux and MEPIS can ask questions.
Message
Author
User avatar
eemaestro
Forum Regular
Forum Regular
Posts: 930
Age: 2015
Joined: Wed Aug 02, 2006 12:12 pm

ne Editor question, MEPIS 8

#1 Postby eemaestro » Wed Mar 28, 2012 11:30 am

Does anybody have an idea on how to turn off the colors on this editor
ne 2.1 ?

I am editting an AWK script file. This language is not one of the languages supported by this editor. So the color just makes it hard to read. I have already searched through the documentation under the .ne hidden folder.

I doubt there is a way to toggle the use of color on/off. But it would be nice, so I just thought I'd ask if anybody has any ideas. I already tried Ctrl-C.

User avatar
Utopia
Forum Veteran
Forum Veteran
Posts: 3584
Joined: Sun Apr 29, 2007 11:53 am

Re: ne Editor question, MEPIS 8

#2 Postby Utopia » Wed Mar 28, 2012 12:00 pm

In the documentation on the ne homepage http://ne.dsi.unimi.it/ there's a whole chapter (3.6) about syntax highlighting. You have to create your own definition if you want anything special and store it in ˜/.ne/syntax
Henry

User avatar
eemaestro
Forum Regular
Forum Regular
Posts: 930
Age: 2015
Joined: Wed Aug 02, 2006 12:12 pm

Re: ne Editor question, MEPIS 8

#3 Postby eemaestro » Thu Mar 29, 2012 8:56 am

I modified /home/user/ne-2.1/syntax/awk.jsf to make all the non-black colors black. But it did not change the colors the next time I used ne. So I don't understand what the point of this file is.

However, I did change the Konsole background in Settings.....Schema to a light-colored background.That allows me to read the colored text atop a white background.

User avatar
Utopia
Forum Veteran
Forum Veteran
Posts: 3584
Joined: Sun Apr 29, 2007 11:53 am

Re: ne Editor question, MEPIS 8

#4 Postby Utopia » Thu Mar 29, 2012 9:03 am

There's one more thing you can try (also found in the documentation):
If you invoke ne with the --no-syntax parameter, ne will disable the syntax highlighting mechanism entirely

Henry

User avatar
eemaestro
Forum Regular
Forum Regular
Posts: 930
Age: 2015
Joined: Wed Aug 02, 2006 12:12 pm

Re: ne Editor question, MEPIS 8

#5 Postby eemaestro » Sat Mar 31, 2012 5:44 pm

Thanks, Henry. That worked great!


Return to “Regulars”

Who is online

Users browsing this forum: No registered users and 1 guest