Nano editor

Nano editor

Postby firwareslut » Thu Dec 01, 2011 7:41 pm

Can we have the nano editor compiled in the next release? I really hate using vi :lol:
firwareslut
Donator VIP
Donator VIP
 
Posts: 202
Joined: Thu Oct 06, 2011 11:53 am

Re: Nano editor

Postby fvdw » Thu Dec 01, 2011 11:12 pm

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..
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Nano editor

Postby firwareslut » Fri Dec 02, 2011 11:40 am

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 ")")
firwareslut
Donator VIP
Donator VIP
 
Posts: 202
Joined: Thu Oct 06, 2011 11:53 am

Re: Nano editor

Postby fvdw » Fri Dec 02, 2011 1:04 pm

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
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Nano editor

Postby firwareslut » Fri Dec 02, 2011 5:50 pm

Thanks a lot. Much appreciated!
firwareslut
Donator VIP
Donator VIP
 
Posts: 202
Joined: Thu Oct 06, 2011 11:53 am

Re: Nano editor

Postby fvdw » Fri Dec 02, 2011 10:14 pm

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
You do not have the required permissions to view the files attached to this post.
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Nano editor

Postby firwareslut » Sat Dec 03, 2011 10:16 am

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
firwareslut
Donator VIP
Donator VIP
 
Posts: 202
Joined: Thu Oct 06, 2011 11:53 am

Re: Nano editor

Postby fvdw » Sat Dec 03, 2011 10:51 am

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
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Nano editor

Postby firwareslut » Sat Dec 03, 2011 1:38 pm

Ah completely missed the new firmware update! I installed it now and now nano is working perfectly (dev version). Thanks a lot !!
firwareslut
Donator VIP
Donator VIP
 
Posts: 202
Joined: Thu Oct 06, 2011 11:53 am

Re: Nano editor

Postby matigev » Sat Jan 07, 2012 10:10 pm

Damn I should have seen this topic earlier ;) Thanks!
matigev
Donator VIP
Donator VIP
 
Posts: 48
Joined: Fri Sep 30, 2011 7:52 pm
Location: NL

Next

Return to Development

Who is online

Users browsing this forum: No registered users and 7 guests