Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hi,
since I'm not an expert in vi (I only know how to exit: ":q!"), I needed my own editor on my DNS box. Therefore I cross compiled nano 2.0.7 with all the ffp 0.5 tools. Please find the package for ffp 0.5 attached to this post.
Enjoy the tool!
marinalink
Offline
thank you, i hate vi
http://bash.org/?795779
Last edited by hell0 (2008-06-09 14:23:30)
Offline
Excellent, thanks!!
I can get by in vi, but I can get things done much more quickly in nano, so it's great to have this now!!
Offline
I installed this and when I attempt to run it, I get this error:
"Error opening terminal: vt102."
Does anyone know what causes this and how to fix it? Thanks.
Offline
@haldan:
type "set" on the command line and have a look what TERM say.
Try to set TERM to xterm for example:
TERM=xterm
or vt100. I wouldn't know, why your term should be vt102...
marinalink
Offline
It did, thanks. I thought I had already installed ncurses, but apparently I had not.
Offline
@fonz:
good to know. i was wondering when compiling if the ncurses lib will be linked statically. Do you know if this can be done. Otherwise I recommend -as fonz says- to install the ncurses package for ffp0.5.
marinalink
Offline
Sorry, maybe stupid question but how do i install this?
I put the file in the HD_a2 directory and did: funpkg -i nano-2.0.7-ffp05.tgz but didn't work. I also tried the /ffp directory.
Offline
make sure you are in the right folder containing the file you want to install
ls should show the file
funpkg -i nano-2.0.7-ffp05.tgz is correct
Offline
Thnx man, I just can't get along with VI, you just made my day!
Offline
I will have to take a look at nano as I tend to use vi (I have to at work on our Solaris boxes).
Just a note though. People can use textpad on windows which is free and pretty easy if you save the files in UNIX mode (which it defaults to if I load UNIX shell scripts).
RB
Offline
@DeLaCroix:
OK, no problem. Please find attached the new version of nano-2.0.7 with the option "--enable-nanorc".
@fonz:
while compiling, configure warns about a missing utf8 support of ncurses. Could you recompile ncurses with full utf8 support? Thanks.
Offline
marinalink wrote:
@DeLaCroix:
OK, no problem. Please find attached the new version of nano-2.0.7 with the option "--enable-nanorc".
Hi,
thanks for recompiling, but i have some serious Problems while trying to check if it works. It seems to enable the nanorc (Thanks!), but doesn't include the
I've added some lines for the inclusion to /etc/nanorc:
## Nanorc files include "/ffp/share/nano/nanorc.nanorc"
/ffp/share/nano/nanorc.nanorc:
## Here is an example for nanorc files. ## syntax "nanorc" "\.?nanorc$" ## Possible errors and parameters icolor brightwhite "^[[:space:]]*((un)?set|include|syntax|i?color).*$" ## Keywords icolor brightgreen "^[[:space:]]*(set|unset)[[:space:]]+(autoindent|backup|backupdir|backwards|boldtext|brackets|casesensitive|const|cut|fill|historylog|mat$ icolor green "^[[:space:]]*(set|unset|include|syntax)\>" ## Colors icolor yellow "^[[:space:]]*i?color[[:space:]]*(bright)?(white|black|red|blue|green|yellow|magenta|cyan)?(,(white|black|red|blue|green|yellow|magenta|cyan))$ icolor magenta "^[[:space:]]*i?color\>" "\<(start|end)=" ## Strings icolor white ""(\\.|[^"])*"" ## Comments icolor brightblue "^[[:space:]]*#.*$" icolor cyan "^[[:space:]]*##.*$"
This file works on several root-servers (taken from the Gentoo-Wiki)
When i try to open e.g. /etc/nanorc it results in:
Error in /ffp/etc/nanorc on line 2: Command "include" not understood
Press Enter to continue starting nano.
=> Doesn't work and i didn't find any solution fo this...perhaps you know any hint. Thank you very much anyway.
Offline
Hm... I didn't compile nano with color support. maybe this is needed? Can you just setup a nanorc with no color setting? Does this help?
Why do you need nanorc anyhow?
Offline
Offline
ok, I compiled it with the following options:
# ./configure --prefix=/ffp --enable-nanorc --enable-color --enable-multibuffer
# make
# make DESTDIR=/mnt/HD_a2/.bootstrap/packages-nonffp/nano-2.0.7 install
I hope this will satisfy your needs.
The new version is called nano-2.0.7-2-ffp05.tgz.
Offline
I've compiled nano using the Build-Scripts of fonz: http://nas-tweaks.net/CH3SNAS:Tutorials/nano
This Package includes several highlighting-files. The spell-checker was disabled as there is no dictionary available.
Offline
Perfect ! I couldn't get used to vi, this package will be very useful to me, thanks !
It seems to work great for DNS-313 too.
Last edited by Electrocut (2009-04-07 23:54:17)
Offline
Thanks! Nano is one of the first things I install on any box that I work on. Clearly I'm not the only one who loathes VI.
I wonder if they would be willing to list this package listed with the rest of them at
http://www.inreto.de/dns323/fun-plug/0.5/PACKAGES.html
?
Offline
Thanks marinalink! Installed and worked perfectly.
Last edited by kifusan (2009-08-10 23:49:38)
Offline