Tiny Core Linux

Tiny Core Extensions => TCE Talk => Extension requests => Topic started by: sihorton on March 11, 2013, 04:03:28 PM

Title: Nano for Corepure64
Post by: sihorton on March 11, 2013, 04:03:28 PM
I find the "modes" in vi a little tricky to navigate especially since my keyboard is not setup correctly (no kmaps extension) so pressing a colon takes quite a lot of guessing... Anyway I would like to request nano to be compiled for Corepure64 (it is available in the 32 bit repository).
Title: Re: Nano for Corepure64
Post by: Juanito on March 12, 2013, 02:59:45 AM
posted
Title: Re: Nano for Corepure64
Post by: sihorton on March 12, 2013, 05:31:31 AM
Thanks a lot Juanito, I appreciate it a lot!

Title: Re: Nano for Corepure64
Post by: sihorton on March 12, 2013, 05:59:49 AM
When I run nano I get the following error:-

Error in /usr/local/etc/nanorc on line 92: Error reading /usr/local/share/nano/js.nanorc: No such file or directory

Press Enter to continue starting nano.

Creating a blank file at /usr/local/share/nano/js.nanorc fixes the warning. The missing file defines syntax highlighting for javascript files. I googled a bit and found the source code at the following url:- http://code.google.com/p/nanosyntax/source/browse/trunk/syntax-nanorc/js.nanorc

/Simon
Title: Re: Nano for Corepure64
Post by: Juanito on March 12, 2013, 06:17:49 AM
oops - thanks for pointing that out, corrected version uploaded
Title: Re: Nano for Corepure64
Post by: curaga on March 12, 2013, 12:36:55 PM
Yep, the 32-bit extension has some syntax highlight additions not (yet) in the upstream source.