Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-13-2004, 02:52 AM   #1
Registered: Feb 2004
Posts: 32

Rep: Reputation: 15
GNU Nano Syntax highlighting.

Ive installed the latest gnu nano.

with -enable-nanorc

when I run nano now after uncommenting the perl highlighting options i get

'command syntax not understood'
'command color not understood'

Any clues on this?

Im trying to find an ideal editor for PHP mainly either GUI or terminal, any sugguestions I am open to. Thanks guys

Old 03-15-2004, 02:54 AM   #2
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
I am not really that familiar with Nano (only time I use it is during the Gentoo installation process), but vim supports syntax highlighting and a zillion of other neat features that you could want when programming. Make sure to check out the Tips And Tricks and Scripts sections at the vim website.

Vim is often installed by default with most distributions. If not, it should be easy to build from source.

Old 12-10-2004, 06:24 PM   #3
LQ Newbie
Registered: Dec 2001
Posts: 3

Rep: Reputation: 0
You need to configure it with both --enable-nanorc and --enable-color.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Syntax highlighting in Gedit jriis Linux - Software 1 10-24-2005 06:16 AM
syntax highlighting rohr Programming 3 07-06-2005 06:07 AM
vim syntax highlighting MiniMe001 Linux - General 2 06-19-2005 11:08 AM
xemacs syntax highlighting jclark00001 Linux - Software 2 04-13-2003 04:40 PM
Vim syntax highlighting NSKL Linux - Software 2 11-09-2002 02:39 AM

All times are GMT -5. The time now is 02:11 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration