next up previous contents
Next: 9.3.5 Other options. Up: 9.3 The Pico Editor Previous: 9.3.3 Starting Pico.   Contents

9.3.4 More startup options.

As noted above, pico is not really designed for a programming environment. In the few cases where you might be compilling a program and would need to jump to a particular line number to find the error of a program the +N option would come in handy, where N would be the line number you want your cursor to start on. Say your writing a program and your compiler complains about a syntax error on line 42. Starting Pico on the command line like this "pico +42 myprogram.c" would start pico on with the cursor oon line 42 of your myprorgram.c file.

-v
The -v option will allow you to use pico as a file viewer instead of an editor. The programs more and less doa fine job of viewing text files in there own right, you can use Pico with the -v option to do the same thing but with more of the ease of use of the Pico editor.
-z
Using ctrl-z on some programs within Unix allows you to suspend that program and return to the commmand line. By default, suspending Pico is disabled, to enable the use of suspension within Pico, use the -z option. To return back to the file you are editing after using ctrl-z within Pico use the "fg" command. The command "fg" is a basic unix command and may be covered in another section of this document.


next up previous contents
Next: 9.3.5 Other options. Up: 9.3 The Pico Editor Previous: 9.3.3 Starting Pico.   Contents