syntax coloring in nano

syntax coloring in nano

Posted by: voipfc
Posted on: 2009-08-31 10:36:00

I tried to use .nanorc files in order to get nano syntax coloring working and I get repeated errors. Dreamhost nano is on 1.2.4 and that could be the problem.

I just compiled and installed nano 2.0.9, applied the syntax coloring files and nothing is happening. I am connection to DH with putty. Is there some issue between the two that affects syntax coloring?

Re: syntax coloring in nano

Posted by: Atropos7
Posted on: 2009-08-31 11:37:00

In reply to:

I tried to use .nanorc files in order to get nano syntax coloring working and I get repeated errors. Dreamhost nano is on 1.2.4 and that could be the problem.


Syntax highlighting worked for me, though I only had 6 patterns.

In reply to:

Is there a script to compile the latest version for your own account?


Not necessary. The README file in the source tarball has the basic instructions, but you would want to add options when running configure:

tar zxvf nano-x.y.z.tar.gz
cd nano-x.y.z
./configure --prefix=$HOME --enable-color --enable-nanorc
make
make install

And then in .bash_profile

# Make Bash find user-installed programs first
export PATH=$HOME/bin:$PATH




Customer since 2000 cool openvein.org

Tags: server timenanoputtyyoga