Page 1 of 2

Nano editor

PostPosted: Thu Dec 01, 2011 7:41 pm
by firwareslut
Can we have the nano editor compiled in the next release? I really hate using vi :lol:

Re: Nano editor

PostPosted: Thu Dec 01, 2011 11:12 pm
by fvdw
here you go

nano 2.3.1 and 2.2.6

2.3.1 is last (unstable) release 2.2.6 last stable release

the nano binary goes in /usr/bin
als make a sym link in that directory with name rnan pointing to nano

Attached zip files contain what you need, in 2.3.1 I also include the manual documentation files, think you only need the nano binary and the symlink

ps I did not test them, only compiled them for you.
I don't use nano, I edit all the files on windows PC and transfer them using winSCP

files removed need some more work..

Re: Nano editor

PostPosted: Fri Dec 02, 2011 11:40 am
by firwareslut
I tried the 2.3.1 but I get this error

nano: error while loading shared libraries: libmagic.so.1: cannot open shared object file: No such file or directory

Other version gives this error

/usr/bin/nano: line 2: syntax error: unexpected word (expecting ")")

Re: Nano editor

PostPosted: Fri Dec 02, 2011 1:04 pm
by fvdw
thks for testing, I should have done it myself before posting them ;)
I will test them myself and add the missing library, it is present in the directories used by the compiler but these are not all standard included in the firmware

I will check it out this evening

Re: Nano editor

PostPosted: Fri Dec 02, 2011 5:50 pm
by firwareslut
Thanks a lot. Much appreciated!

Re: Nano editor

PostPosted: Fri Dec 02, 2011 10:14 pm
by fvdw
here they are

nano-2.2.6 was working ok, it only could not find xterm, seems it looks for it in the directory used by the compiler, did not find how to change that. So I added a sym link to let it find the terminfo.

In the attached find you will find the binaries, some more files put them in the folders in the root file system as they are present in the zip file. It also contains some text files in some folder. These specify which sym links to make in that folder
nano-2.2.6-stable.zip

nano-2.3.1-development.zip


On my system they work, see screen shots, let us now if they work for you
nano-2.2.6.JPG

nano-2.3.1.JPG

Re: Nano editor

PostPosted: Sat Dec 03, 2011 10:16 am
by firwareslut
ok getting closer :D Now I have this error

nano: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory

Re: Nano editor

PostPosted: Sat Dec 03, 2011 10:51 am
by fvdw
which version of fvdw-sl you have installed ? amnd did you played with the content of the /opt directory ? (thats were this file is in the firmware) ;)

this file was added in version fvdw-sl-10-1

Re: Nano editor

PostPosted: Sat Dec 03, 2011 1:38 pm
by firwareslut
Ah completely missed the new firmware update! I installed it now and now nano is working perfectly (dev version). Thanks a lot !!

Re: Nano editor

PostPosted: Sat Jan 07, 2012 10:10 pm
by matigev
Damn I should have seen this topic earlier ;) Thanks!