Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 191 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

pico




Syntax

       pico [ options ] [ file ]


Description

       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  combina­
       tions.   As a work-around for communications programs that
       swallow certain control characters, you can emulate a con­
       trol 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.

       Paragraph  justification  (or  filling) takes place in the
       paragraph that contains the cursor, or, if the  cursor  is
       between  lines, in the paragraph immediately below.  Para­
       graphs are delimited by blank lines, or by lines beginning
       with  a space or tab.  Unjustification can be done immedi­
       ately after justification using the control-U key combina­
       tion.

       String  searches  are  not  sensitive  to  case.  A search
       begins at the current cursor position and wraps around the
       end of the text.  The most recent search string is offered
       as the default in subsequent searches.

       Blocks of text can be moved, copied or deleted  with  cre­
       ative  use of the command for mark (ctrl-^), delete (ctrl-
       k) and undelete (ctrl-u).  The delete command will  remove
       text  between  the "mark" and the current cursor position,
       and place it in the "cut" buffer.   The  undelete  command
       effects a "paste" at the current cursor position.

       The spell checker examines all words in the text.  It then
       offers, in turn, each misspelled word for correction while
       highlighting  it  in the text.  Spell checking can be can­
       celled at any time.  Alternatively, pico  will  substitute
       for  the  default spell checking routine a routine defined
       by the SPELL environment variable.  The  replacement  rou­
       tine should read standard input and write standard output.

       The file browser is offered as  an  option  in  the  "Read
       File"  and "Write Out" command prompts.  It is intended to
       help in searching for specific files and navigating direc­
       tory  hierarchies.   Filenames  with  sizes  and  names of
       -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 sup­
              ported 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  selec­
              tion  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  sub­
              tree.

       -rn    Sets  column  used to limit the "Justify" command's
              right margin

       -s speller
       -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.

       -p     Preserve the "start" and "stop"  characters,  typi­
              cally  Ctrl-Q  and Ctrl-S, which are sometimes used
              in  communications  paths  to  control  data   flow
              between devices that operate at different speeds.

       -Q quotestr
              Set  the quote string.  Especially useful when com­
              posing email, setting this allows the quote  string
              to  be  checked  for when Justifying paragraphs.  A
              common quote string is "> ".

       -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.

       -setlocale_ctype
              Do setlocale(LC_CTYPE) if available. Default is  to
              not do this setlocale.

       -no_setlocale_collate
              Do  not  do setlocale(LC_COLLATE). Default is to do
              this setlocale.

       Lastly,  when  a  running  pico  is  disconnected   (i.e.,
       receives  a  SIGHUP),  pico  will save the current work if
       needed before exiting.  Work is saved  under  the  current
       filename  with  ".save"  appended.  If the current work is
       unnamed, it is saved under the filename "pico.save".


Bugs

       The manner in which lines longer than  the  display  width
       are dealt is not immediately obvious.  Lines that continue
       beyond the edge of the display  are  indicated  by  a  '$'
       character at the end of the line.  Long lines are scrolled
       horizontally as the cursor moves through them.


Files

       pico.save        Unnamed interrupted work saved here.
       *.save           Interrupted work on a named file is saved here.


Authors

       Michael Seibel <mikes@cac.washington.edu>

                           Version 4.6                    pico(1)
  

There are several different ways to navigate the tutorial.


Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
You can choose larger fonts by selecting a different themes.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.09 Seconds