Results 1 to 1 of 1
-
15th Jun 2014, 03:19 PM #1
Installing Pico on FreeBSD
Installing Pico on FreeBSD
Pico is a simple, display-oriented text editor based on the Pine message system composer. As with Pine, commands are displayed at the bottom of the screen, and context-sensitive help is provided. As characters are typed they are immediately inserted into the text.
Editing commands are entered using control-key combinations. As a work-around for communications programs that swallow certain control characters, you can emulate a control key by pressing ESCAPE twice, followed by the desired control character, e.g. "ESC ESC c" would be equivalent to entering a ctrl-c. The editor has five basic features: paragraph justification, searching, block cut/paste, a spelling checker, and a file browser.
Installing Pico
Login to SSH as root.
Sometimes, direct root login is disabled. If it is disabled do the following:
# su -
# password: [Enter your WHM root pass]
# [Hostname]: [Ready to work ]
# /stand/sysinstall
- Go to Configure (post install)
- Go to Distributions
- Select 'ports'
- Select 'ok'
It'll take a while to download.
after its finished downloading, do this:
Code:# cd /usr/ports/editors/pico # make install
Pico Commands
Options
+n
Causes pico to be started with the cursor located n lines into the file. (Note: no space between "+" sign and number)
-a
Display all files including those beginning with a period (.).
-b
Enable the option to Replace text matches found using the "Where is" command.
-d
Rebind the "delete" key so the character the cursor is on is rubbed out rather than the character to its left.
-e
Enable file name completion.
-f
Use function keys for commands. This option supported only in conjunction with UW Enhanced NCSA telnet.
-h
List valid command line options.
-j
Enable "Goto" command in the file browser. This enables the command to permit explicitly telling pilot which directory to visit.
-g
Enable "Show Cursor" mode in file browser. Cause cursor to be positioned before the current selection rather than placed at the lower left of the display.
-k
Causes "Cut Text" command to remove characters from the cursor position to the end of the line rather than remove the entire line.
-m
Enable mouse functionality. This only works when pico is run from within an X Window System "xterm" window.
-nn
The -nn option enables new mail notification. The n argument is optional, and specifies how often, in seconds, your mailbox is checked for new mail. For example, -n60 causes pico to check for new mail once every minute. The default interval is 180 seconds, while the minimum allowed is 30. (Note: no space between "n" and the number)
-o dir
Sets operating directory. Only files within this directory are accessible. Likewise, the file browser is limited to the specified directory subtree.
-rn
Sets column used to limit the "Justify" command's right margin
-s speller
Specify an alternate program spell to use when spell checking.
-t
Enable "tool" mode. Intended for when pico is used as the editor within other tools (e.g., Elm, Pnews). Pico will not prompt for save on exit, and will not rename the buffer during the "Write Out" command.
-v
View the file only, disallowing any editing.
-version
Print Pico version and exit.
-w
Disable word wrap (thus allow editing of long lines).
-x
Disable keymenu at the bottom of the screen.
-z
Enable ^Z suspension of pico.
-q
Termcap or terminfo definition for input escape sequences are used in preference to sequences defined by default. This option is only available if pico was compiled with the TERMCAP_WINS define turned on.
Written by: Ibrahim Ezzy (ibrahim.Ezzy@Searchxs.com) and allera.Areon Reviewed by Areon on . Installing Pico on FreeBSD Installing Pico on FreeBSD Pico is a simple, display-oriented text editor based on the Pine message system composer. As with Pine, commands are displayed at the bottom of the screen, and context-sensitive help is provided. As characters are typed they are immediately inserted into the text. Editing commands are entered using control-key combinations. As a work-around for communications programs that swallow certain control characters, you can emulate a control key by pressing ESCAPE twice, Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Install TorrentFlux On CentOS 5.3
By desiboy in forum Technical and Security TutorialsReplies: 29Last Post: 22nd Sep 2011, 02:04 AM -
Installing RAR On A Linux Server
By CyberJ37 in forum Tutorials and GuidesReplies: 48Last Post: 27th Jul 2009, 09:25 PM -
Installing Memcache on CentOS 5.2 | Help Please
By Lifetalk in forum Server ManagementReplies: 1Last Post: 7th Jun 2009, 07:16 PM -
Installing cURL on php local hosts
By RexY in forum Technical Help Desk SupportReplies: 3Last Post: 26th Mar 2009, 04:51 PM -
installing mybb on free host
By priviet02 in forum Web Application/Script SupportReplies: 2Last Post: 23rd Dec 2008, 09:17 AM
themaPoster - post to forums and...
Version 5.22 released. Open older version (or...