Sponsored Content
Top Forums Programming Open Source What editor does everyone use? Post 81146 by Corona688 on Tuesday 16th of August 2005 02:36:10 PM
Old 08-16-2005
I know I should use vi, everyone says it's good for me; but like the ugly-flavored cough drops of my childhood, I cannot stomach it. I've learned it's basic usage at least 5 times, but it's so alien it never sticks.

I prefer pico-like shell editors, especially nano since it has syntax highlighting, text-replacement, searching, regex, and other stuff I'd always wished pico had.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Vi editor ?

Hello everybody, My question is: how to add /tmp/work at the end of line in vi editor. my file looks like: cp file1 cp file2 cp file3 **** I need to add " /tmp/work" at the end of each line. I tried this :%s/$/" /tmp/work" and this :%s/$/\ /tmp/work\/ but it does not work. (2 Replies)
Discussion started by: billy5
2 Replies

2. HP-UX

instead VI editor - which one?

I'd like to find some editor for HP-UX, something like notepad, but not VI editor. Can someone have some ideas which one? thx (6 Replies)
Discussion started by: diamond
6 Replies

3. UNIX for Advanced & Expert Users

vi editor

Hi, how can I add at the begining and at the end of all of the lines of my text file in VI editor ? Many thanks before. for exemple if in my file i have line 1 line 2 I want to have : start line 1 end start line 2 end (3 Replies)
Discussion started by: alain123456
3 Replies

4. UNIX Desktop Questions & Answers

best editor

We work on AIX 5L We use vi as text editor (only scripts to create and modifiy). What do you think of emacs ? Where can I find it ? Do you know better text editor for scripts ? Thank you for all answers. (1 Reply)
Discussion started by: annemar
1 Replies

5. HP-UX

vi editor

I am new in hp ux and I want work with vi editor, but in hp ux vi editor the backspaes and del keys doesn't work. how can I enable them. thanks (3 Replies)
Discussion started by: hkoolivand
3 Replies

6. UNIX for Dummies Questions & Answers

Pasting text in VI editor from a different editor

Hi, I knw its a silly question, but am a newbie to 'vi' editor. I'm forced to use this, hence kindly help me with this question. How can i paste a chunk 'copied from' a different editor(gedit) in 'vi editor'? As i see, p & P options does work only within 'vi'. (10 Replies)
Discussion started by: harishmitty
10 Replies

7. Shell Programming and Scripting

set EDITOR=vi -> default editor not setting for cron tab

Hi All, I am running a script , working very fine on cmd prompt. The problem is that when I open do crontab -e even after setting editor to vi by set EDITOR=vi it does not open a vi editor , rather it do as below..... ///////////////////////////////////////////////////// $ set... (6 Replies)
Discussion started by: aarora_98
6 Replies

8. Solaris

Epic Editor was not able to obtain a license for your use. Feature Epic Editor :Licen

Epic Editor was not able to obtain a license for your use. Feature Epic Editor :License server is down (1 Reply)
Discussion started by: durgaprasadr13
1 Replies

9. Shell Programming and Scripting

About vi editor

How can ` character be printed on vi editor ? empl_id=`echo $line | awk ' { print $1; } '` (2 Replies)
Discussion started by: senem
2 Replies

10. Shell Programming and Scripting

Not able to use @ in VI editor

Hello All, Need one Help for one issue. I am using a French Keyboard, so @ sign is on key 0 and i have to use right Alt + 0 to print it. It is working everywhere but not inside Vi editor. I can type @ in shell, in notepad. But inside Vi editor it is not working, another problem is that if... (2 Replies)
Discussion started by: yadavricky
2 Replies
pico(1) 						      General Commands Manual							   pico(1)

Name
       pico - simple text editor in the style of the Pine Composer

Syntax
       pico [-f] [+n] [-nn] [-t] [-v] [-w] [-z] [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 bot-
       tom 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.

       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.  Paragraphs are delimited by blank lines, or by lines beginning with a space or tab.  Unjustification can be
       done immediately after justification using the control-U key combination.

       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 creative use of the command for mark (ctrl-underscore), 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 cancelled at any time.	Alternatively, pico will substitute for the default spell checking routine a  rou-
       tine defined by the SPELL environment variable.	The replacement routine 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 spe-
       cific files and navigating directory hierarchies.  Filenames with sizes and names of directories in the current working directory are  pre-
       sented for selection.  The current working directory is displayed on the top line of the display while the list of available commands takes
       up the bottom two.  Several basic file manipulation functions are supported:  file renaming, copying, and deletion.

       More specific help is available in pico's online help.

Options
       -f     Use function keys for commands.  This option supported only in conjunction with UW Enhanced NCSA telnet.

       +n     Causes pico to be started with the cursor located n lines into the file. (Note: no space between "+" sign and number)

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

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

       -w     Disable word wrap (thus allow editing of long lines).

       -z     Enable ^Z suspension of pico.

       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
       Laurence Lundblade, lgl@cac.washington.edu
       Pico was originally derived from MicroEmacs 3.6, by Dave G. Conroy.
       Pico is a trademark of the University of Washington.
       Copyright 1989-1994 by the University of Washington.

See Also
       pine(1)
       Source distribution (part of the Pine Message System):
	  ftp://ftp.cac.washington.edu/mail/pine.tar.Z

								    Version 2.4 							   pico(1)
All times are GMT -4. The time now is 03:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy