Download presentation
Presentation is loading. Please wait.
Published byJean Lee Modified over 9 years ago
1
Day 5 Pico Editor David A. Gaitros Department of Computer Science Florida State University
2
Pico To Open Pico 1. Use secure software to connect to the ITCS Login Service (login.itd.umich.edu). Windows. Use SSH Secure Shell software. For information about obtaining and using SSH Secure Shell, see Using SSH Secure Shell to Connect to Host Computers [Windows] (s4304). Mac OS X. Mac OS X comes with SSH software called Terminal. Open the Applications folder, then the Utilities folder to find it. Open Terminal and enter this command: ssh program.cs.fsu.edu 2. Log in with your username and CS password. 3. At the unix prompt, type pico and press the Return key. 4. Pico will open a buffer (temporary storage for any text you type). You can start typing text or use any of Pico’s commands.
3
Pico
4
Commands Use the Control Key You issue most commands in Pico by holding down the Control key and typing a letter. A caret (^) is used to indicate the Control key. To issue the Get Help command (^G), for example, hold down the Control key and type g. Marking, Cutting, and Pasting You cannot use your mouse to select text in Pico, so you must mark text you want to cut instead. The command for marking text is ^^. The first ^ indicates that you should hold down the Control key. The second ^ means to type a caret (Shift-6). The mark feature (^^) allows you to mark any segment of text, cut it out (^K), move the cursor, and paste the text (^U) in the new location.
5
Pico CommandCommand Function ArrowMove Cursor Del/bkspMove cursor back one space ^AMove to beginning of line ^BMove back one character ^EMove to end of line ^FMove one space forward ^NMove to next line ^PMove to previous line ^VMove forward one page ^YMove back one page ^ SpaceMove cursor to next word
6
Pico CommandCommand Function ^CShows current position ^DDel character at current position ^GDisplay help file ^ HDel previous character ^ IInsert tab character at this position ^ JJustify paragraph ^ KCuts selected text ^ LRedraw screen ^ OOutput current buffer to a file (save) ^ RInsert text from a file ^ UUndelete the last line, series of lines, or marked block you deleted. Using Mark (^^), Cut (^K), and Undelete (^U) is a convenient way to move text to a new location in your file. Also, ^U can be used to “unjustify” the last justification. ^ WSearch file for a string ^ XExit Pico ^^Mark cursor position as beginning of selected text.
7
Pico Writing out to a file Hold down the control key and press the letter "O". A prompt will appear at the bottom of the screen File Name to write: Enter the file name and press return key.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.