Help - Search - Members - Calendar
Full Version: HowTo - Installing Pico on FreeBSD
The Planet Forums > Operating Systems > BSD
openXS
Well it was quite pain (as a newbie) installing Pico on FreeBSD, but heres how to do that quick.

Login to SSH as root.

Sometimes, direct root login is disabled. Do this then,

# su -
# password: [Enter your WHM root pass]
# [Hostname]: [Ready to work ]

To Download ports:
# /stand/sysinstall
- Go to Configure (post install)
- Go to Distributions
- Select 'ports'
- Select 'ok'
From there select FTP transfer (ftp.freebsd.org is ok) and it should download the ports into /usr/ports. When it's done, just exist sysinstall and run the commands I stated earlier.

It'll take a while to download.

after its finished downloading, do this:

# cd /usr/ports/editors/pico
# make install

and it'd install it for you.

DONE!!

icon_arrow.gif
xPsycho
OR...


root@localhost# cd /usr/ports/editors/pico

root@localhost# make install clean

icon_razz.gif
tazo
Or
# pkg_add -r pico

You can't be quicker. icon_biggrin.gif
dspielman
use the pico clone nano. :-)
tekkitan
or install pine which has pico in the package. lol
awood
vim > *

latte# cvsup -g -L 2 ports-supfile
latte# portinstall vim-lite

:)
facecake
vim = nice
nano = usable for "newbies"
joe = useable
emacs = devils spawn!
divzero
i <3 the freebsd edit command
klaude
bah

its all about cat > file
facecake
real men write directly to the inodes!
X-Istence
I like that quote facecake.

I personally like edit, then nano, and then vi. I use vi when i am editing MySQL dumps which can be around 15 - > 20 GB in size at times, and it fails to import into a new version of MySQL because of some table or row that is not a keyword instead of an allowed name.
tekkitan
QUOTE (tazo)
Or  
# pkg_add -r pico

You can't be quicker.  :D


i was lazy, i just used this command yesterday icon_biggrin.gif

i use ee 99% of the time, but then there are some programmers that program in windows or something, and have ^M after every line. if you use pico to edit, change one thing in the file, then save it, it takes out all of that crap. then i open it again in ee and yah, free of the ^M crap.
X-Istence
Don't even need to edit a single thing icon_razz.gif

btw:

sed '/r/s///' file.php > file.php.2
mv file.php.2 file.php

If there are annoying ^M's (Double check, might have gotten syntax wrong for sed.
Guspaz
Now that you're done you're going to want to go and remove pico and replace it with nano:

http://www.nano-editor.org/

Pico is a dead program (no major new development) with an excessively restrictive licence. It's also tied to Pine, a mail client, which is annoying.

Nano is a GNU program, so it's GPL'd, and here's what you'd care about, it's interface is identical to Pico.

They designed it to be an exact clone of Pico, but they then took it further and extended it adding a plethora of new features and improvements.

It's basically Pico, but better.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.