Howto install NANO

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
code_m
Posts: 65
Joined: Wed 02 Jul 2008, 19:11

Howto install NANO

#1 Post by code_m »

I thought this may be useful for guys like me that enjoy using the command line instead!

I found it on DSL, and I like it more than vi, for simplicity. Based on Pico text editor from Unix. I only use Puppy 4, so other will have to verify that it works on older versions.


http://www.nano-editor.org

To install it I just copied the bin file from DSL and put it in puppy's bin folder ( /bin ).

Bin File: http://theradclan.com/code_m/nano


Of course you could compile but why go to all that trouble?

renuvio
Posts: 29
Joined: Wed 16 Jul 2008, 07:27

Works

#2 Post by renuvio »

Works fine in Puppy 1.0.8.

Thanks, is very useful.

User avatar
NoNameAmI
Posts: 77
Joined: Sun 31 Aug 2008, 14:17
Contact:

#3 Post by NoNameAmI »

I made a PET package for Nano a few days ago...

It works on Puppy 4.0 ... not sure about any other version.
Pup2p - Puppy Linux aimed for use with the anonymous network I2P.
Released! [url]http://www.puppylinux.org/downloads/puplets/pup2p[/url]

code_m
Posts: 65
Joined: Wed 02 Jul 2008, 19:11

#4 Post by code_m »

Just realized I never stated what version it is.

The bin file from DSL is 2.0.7 (stable)

I also found that nano is the easiest file for compiling.

nano-2.0.9.tar.gz (stable)

nano-2.1.5.tar.gz (unstable, testing) 2.1.x is suppose to have better color syntax colors.

If you want to compile, you need devx_xxx.sfs (can be found on ibiblio.org). I did not use any option to compile and had no errors -- use:
./configure
make
make install

I'm glad others find it as useful as I do.

Bruce B

#5 Post by Bruce B »

If you compile nano yourself you get to determine your 'frills' level.

Nano no frills

Compile options:
--disable-browser
--disable-help
--disable-justify
--disable-mouse
--disable-operatingdir
--disable-speller
--disable-tabcomp
--disable-wrapping
--enable-tiny

Binary about 62Kb

Nano with frills


Compile options:
don't disable and . . .
--enable-color
--enable-extra
--enable-multibuffer
--enable-nanorc
--enable-utf8

Binary about 146 Kb
plus extra files

How to determine you nano 'frills' level

# nano -V

code_m
Posts: 65
Joined: Wed 02 Jul 2008, 19:11

#6 Post by code_m »

Wow, thanks Bruce B.

I was wondering if you had to enable color at compile.

...one last thing, in case you didn't know, you can use "make uninstall" to remove a compiled package.

...upgrading and recompiling now...

Post Reply