Difference between revisions of "Nano"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
(Mipsel)
(Remove stub status)
 
(10 intermediate revisions by 3 users not shown)
Line 13: Line 13:
 
====PowerPC====
 
====PowerPC====
 
  cd /usr/bin
 
  cd /usr/bin
  wget http://downloads.linkstationwiki.net/uploads/LS1-HG-HS%28PPC%29/nano_ppc_static
+
  <nowiki>wget http://downloads.nas-central.org/powerpc-hdhlan-LS1/ppc-nano_static</nowiki>
  mv nano_ppc_static nano
+
  mv ppc-nano_static nano
  
 
====Mipsel====
 
====Mipsel====
 
  cd /usr/bin
 
  cd /usr/bin
  wget http://downloads.linkstationwiki.net/uploads/LS2/nano_2.0
+
  <nowiki>wget http://downloads.nas-central.org/LS2_MIPSel/Packages/mipsel-nano_2.0</nowiki>
  mv nano_2.0 nano
+
  mv mipsel-nano_2.0 nano
  
 
===Build From Source===
 
===Build From Source===
Line 25: Line 25:
 
# Get the source tarball and compile
 
# Get the source tarball and compile
  
  wget http://www.nano-editor.org/dist/v2.0/nano-2.0.2.tar.gz
+
  <nowiki>wget http://www.nano-editor.org/dist/v2.0/nano-2.0.2.tar.gz</nowiki>
 
  tar xvfz nano-2.0.2.tar.gz
 
  tar xvfz nano-2.0.2.tar.gz
 
  cd nano-2.0.2/
 
  cd nano-2.0.2/
Line 31: Line 31:
 
  make
 
  make
 
  make install
 
  make install
 +
 +
If you run into problems with not having the sort command available, see here: http://nas-central.org/index.php/Sort_is_missing_in_OpenLink-mipsel
 +
 
==FreeLink==
 
==FreeLink==
 
Use apt-get to install nano
 
Use apt-get to install nano
Line 38: Line 41:
 
* [[w:Nano (text editor)|Wikipedia:Nano (text editor)]]
 
* [[w:Nano (text editor)|Wikipedia:Nano (text editor)]]
 
* [http://www.nano-editor.org/ The GNU nano Homepage]
 
* [http://www.nano-editor.org/ The GNU nano Homepage]
 
{{Stubs}}
 

Latest revision as of 23:30, 25 December 2007

200px-Nano_1.2.5.png

Contents

Introduction

nano is a curses-based text editor for Unix and Unix-like systems, licensed under the GNU General Public License. It is a free software clone of Pico, the editor of the Pine email client. nano aims to emulate the functionality and easy-to-use interface of Pico, but does not have the tight mailer integration of the Pine/Pico package.

Installation

OpenLink

There are two options on how to install nano in OpenLink, either run a precompiled Static Binary or compile your own: Build From Source

Use Static Binaries

PowerPC

cd /usr/bin
wget http://downloads.nas-central.org/powerpc-hdhlan-LS1/ppc-nano_static
mv ppc-nano_static nano

Mipsel

cd /usr/bin
wget http://downloads.nas-central.org/LS2_MIPSel/Packages/mipsel-nano_2.0
mv mipsel-nano_2.0 nano

Build From Source

  1. Install the Precompiled C development environment, running on the LS
  2. Get the source tarball and compile
wget http://www.nano-editor.org/dist/v2.0/nano-2.0.2.tar.gz
tar xvfz nano-2.0.2.tar.gz
cd nano-2.0.2/
./configure
make
make install

If you run into problems with not having the sort command available, see here: http://nas-central.org/index.php/Sort_is_missing_in_OpenLink-mipsel

FreeLink

Use apt-get to install nano

apt-get install nano

External links