![]() Nano has its own built-in mouse services, but they are limited. For example, you cannot use the mouse to cut or delete text, nor can you use the mouse to scroll through the file. However, when you use the middle mouse button to paste text, the text is pasted at the current cursor location, not at the mouse pointer location. You can highlight text, right-click to copy and paste, and use the middle mouse button for pasting text from the buffer. The mouse works almost the same as in a GUI editor. The $ symbol is not part of your file it just tells you that the line of text is too long to be displayed in the terminal.īy default, mouse services are provided by the terminal window. Long lines that are not wrapped to fit the window are indicated by the $ symbol at the extreme right edge of the terminal window. And when you resize the terminal window, nano adjusts itself accordingly. The screen fonts and background colours are determined by your terminal settings. For example, use the Ctrl+G key combination to display a basic introduction to nano and its default screen layout. The ^ symbol represents the Control key on your keyboard. ![]() The bottom two lines show the key combinations for common operations. The default nano screen layout is as shown in Figure 1. The two main features that differ are the short-cut key combinations and the use of a mouse. Although not complicated or difficult to use, it is different than a GUI-based text editor such as gedit. Nano is a terminal-based command-line program. If for some reason it's not, use your favorite package manager to install nano. Nano is part of the standard Ubuntu installation, and should be on your system already. ![]() If you want to learn more advanced techniques such as the use of multiple buffers or syntax highlighting of code, see the the nano project's documentation. Nano can be used in a terminal window or at the system console.īasic use of nano is covered here. Pico is the terminal-based editor used in the Pine email suite from the University of Washington. It was originally created as a free replacement for the non-free Pico editor. Nano is ideal for making small changes to existing configuration files or for writing short plain text files. Though not as powerful as Emacs or Vim, it is easy to learn and use. GNU nano is a simple terminal-based text editor.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |