Nano: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
(copying to Journal)
Line 6: Line 6:
==Usage Tips==
==Usage Tips==
* Although ctrl-key combinations are listed for all commands, you can use the Escape key (black circled x) as a substitute for combinations that Sugar reserves for other purposes, such as CTRL-O for WriteOut (file save, represented as ^O on the nano menu). Instead, press Escape twice, then the letter O. The usual WriteOut "File Name to Write:" prompt will appear.
* Although ctrl-key combinations are listed for all commands, you can use the Escape key (black circled x) as a substitute for combinations that Sugar reserves for other purposes, such as CTRL-O for WriteOut (file save, represented as ^O on the nano menu). Instead, press Escape twice, then the letter O. The usual WriteOut "File Name to Write:" prompt will appear.

==[[Copy_to_journal|Copying to Journal]]==
Once you have saved your text file within the linux file system, you may need to copy it into the [[Journal]] so that it can be viewed within Sugar. [[Copy_to_journal|This page]] shows how to do this.


==External Links==
==External Links==

Revision as of 01:08, 13 January 2008

  • Nano is a text editor built into recent builds of the OLPC.
  • It runs from the shell, not from within the Sugar desktop, so is mainly of use to developers.
  • It is an alternative to the vi text editor.
  • Nano is based on Pico, an older text editor familiar to users of the Pine e-mail program.

Usage Tips

  • Although ctrl-key combinations are listed for all commands, you can use the Escape key (black circled x) as a substitute for combinations that Sugar reserves for other purposes, such as CTRL-O for WriteOut (file save, represented as ^O on the nano menu). Instead, press Escape twice, then the letter O. The usual WriteOut "File Name to Write:" prompt will appear.

Copying to Journal

Once you have saved your text file within the linux file system, you may need to copy it into the Journal so that it can be viewed within Sugar. This page shows how to do this.

External Links

  • [[1]] Wikipedia page about the Nano text editor.
  • [[2]] Official home page for Nano.
  • [[3]] Online HTML documentation.