Page 1 of 1
Texteditor [nano] 2.2.6 *static
Posted: Wed Jan 01, 2014 4:14 pm
by KingBonecrusher2014
Tested on UE50ES6300
*nice fast text editor, better useable than vim!
Re: Texteditor [nano]
Posted: Wed Jan 01, 2014 4:16 pm
by juusso
superb!

just to use it we always have to use SamyGO environment ( source /dtv/SGO.env ).
path to nano.rc could be /mnt/etc/nano.rc , what do you think?
Re: Texteditor [nano]
Posted: Wed Jan 01, 2014 5:04 pm
by KingBonecrusher2014
juuso wrote:superb!

just to use it we always have to use SamyGO environment ( source /dtv/SGO.env ).
path to nano.rc could be /mnt/etc/nano.rc , what do you think?
done.... should work, but for size issues some fetures are not working...
/mnt/etc/nanorc
<- nanorc without "."
Code: Select all
set nohelp
set suspend
set tempfile
Re: Texteditor [nano] 2.2.6 *static
Posted: Wed Jan 01, 2014 5:57 pm
by juusso
didn`t you require xterm? i can`t check neither on E nor on F series, but on my D series nano failed with xterm error.
Edit: works ok on B series, any xterm error here.

Re: Texteditor [nano] 2.2.6 *static
Posted: Wed Jan 01, 2014 6:07 pm
by KingBonecrusher2014
No, works without a problem here. Maybe some missing vars?
Code: Select all
TERM='linux'
TERMINFO='/mnt/etc/terminfo'
/mnt/etc/terminfo/l/ should exist with all needed files.
In your nanorc are to much features enabled, most of them are n0t compiled into nano. Just remove those lines:
Code: Select all
Error in /mnt/etc/nanorc on line 218: Command "include" not understood
Re: Texteditor [nano] 2.2.6 *static
Posted: Wed Jan 01, 2014 6:10 pm
by juusso
you can compile with include /mnt/usr/share/nano/* and we get colored syntax. Anyway, this is not really needed. I just try to contribute
btw, according SamyGO environment "rules", we use $SYSROOT to define full path to rcSGO script. Just on E and F series it is /mnt, other versions have different locations. IMO your ported nano stable is much more than binary just for one E series...
Re: Texteditor [nano] 2.2.6 *static
Posted: Wed Jan 01, 2014 6:50 pm
by KingBonecrusher2014
juuso wrote:you can compile with include /mnt/usr/share/nano/* and we get colored syntax. Anyway, this is not really needed. I just try to contribute
btw, according SamyGO environment "rules", we use $SYSROOT to define full path to rcSGO script. Just on E and F series it is /mnt, other versions have different locations. IMO your ported nano stable is much more than binary just for one E series...
Ok, colored sytax works, BUT i have to remove some REGEX from the rc files! I have no clue from regex, only remove the lines. Use the files inside the archive. I`am not a programmer, but i will try to to this with $SYSROOT.