Re: pico editor question

Joshua Graham Pitcher ((no email))
Fri, 10 May 1996 09:02:19 +1000 (EST)

> Oops. I think you ought to consider giving vi another go. Can you do all
> the groovy things possible in vi in pico? I doubt it.
> Consider:
> :g/^$/d - delete every empty line in a file.
> :1,$ s/CTRL-VCTRL-M$// - delete ^Ms left from DOS text files.
> (the $ is entirely optional).
> :20,200 s/\/td>/\/b><\/td>/d - change all instances of </td> to
> </b></td> for lines 20 to 200 in a file.

Yes I know that vi is extremely flexible in the commands that it performs.
However editing using vi requires that the user remember all the different
commands required to do these functions. For example TFM dedicates five
pages to the table of vi commands. With all the other stuff I have to
remember, I haven't got the time or the patience to learn all these commands..

With pico, I need to know one command - <backspace>. I can do all my editing
with the backspace key and the arrow keys. It is not as flexible, but in
many cases it is quicker and less complicated. In addition pico goves you
some help in the form of hot keys at the bottom of the screen.

So lets not turn this into a"this vs that" argument. I don't do much work
under unix, and when i do, i keep it as simple as possible.

P.S. thanks to the other person who replied to my request for help. As I
said we do not have the man pages for pico at work.

Cheers,

Josh.