How do you get nano / pico on OpenSolaris?

We are setting up an OpenSolaris server with an Amazon EC2 service. However vi / vim does not work properly and pkg does not have nano / pico.

Is there any other text editor?

+1


source to share


7 replies


It looks like you just need to set the appropriate term type for vi to work. Examine the options for the "TERM" environment variable, perhaps one of them will help you.



+2


source


You can try copying the nano binaries (or compiling the source code) into your user account and running it from there. This worked for me in a similar situation.



+1


source


Have you looked at http://www.sunfreeware.com/ ?

+1


source


SUN is working on the SUNWgnu-nano package to include in the next release. In the meantime, you can compile the nano sources yourself. This worked for me. To compile do the following:

  • Make sure you have installed the SUNWgcc package in order to install gcc.
  • Download the source package from the debian distribution. http://packages.debian.org/source/stable/nano

  • Unpack the package with "gunzip xxxx.tar.gz", where xxxx.tar.gz is the source package you downloaded.

  • Detach the package with 'tar -xf xxxx', where xxxx is the unpacked source package.

  • Go to the original folder. Do "./configure" to create a make file for your system.

  • Enter 'make' to create a binary
  • The 'nano' binary must be in the src subfolder. Copy this to '/ usr / bin'. And create a soft link for "pico" for it, i.e. "Ln -s / usr / bin / nano pico"

Check it!

0


source


1) Open the package manager (System> Administration> Package Manager) 2) Open the repository settings (Settings> Manage Repositories) 3) Add the Blastwave repository (Name: blastwave, URL: http://blastwave.network.com:10000 ) 4) Select the repository in the upper right corner 5) Search for package "IPSnano" 6) Select pacakge 7) Click "Install / Update"

8) Change your path to include / opt / csw / bin (For example $ vi ~ / .profile and then add the line above to your path) 9) Log out and again to reflect the changes.

Check if you are using the correct version of nano: $ which nano

0


source


It looks like both Nano and Pico are available as auto-generated packages in a "pending" repository here: http://pkg.opensolaris.org/pending/en/index.shtml . I think they are waiting for someone to follow the verification activities and make sure they work. They can then be moved to the contrib repository. You can read more here: http://opensolaris.org/os/community/sw-porters/ .

0


source


You can ask OpenSolaris a question on Amazon EC2 https://www2.sun.de/dct/forms/reg_us_0505_351_0.jsp

-1


source







All Articles