What’s new in GNU nano 4.5:
- The new ‘tabgives’ command allows you to specify per syntax what
- the < Tab > key should produce: some spaces, a hard TAB, …
- The output of –help is properly aligned again for all languages.
- < Tab > will indent a marked region also when M-} has been rebound.
GNU nano is an open source command-line software that helps users to edit text files on the Linux shell. The project was originally started as a replacement of the easy-to-use and user-friendly Pico text editor. It is an official GNU package and it aims to solve the problems users had with the Pico text editor, as well as to add extra functionality.
Features at a glance
Key features include customizable key bindings, ‘soft’ line wrapping, full undo and redo support, pager support, abortable searching, faster syntax highlighting for complicated regular expressions, warnings for non-writable files, as well as more syntax highlighting examples, including Fortran, OCaml, objC, and Makefiles.
Getting started with GNU nano
First of all, we should mention that numerous distributions of Linux come preinstalled with the GNU nano program, because it is a very important piece of software that must be used when editing system configuration files when you don’t have access to the graphical environment.
To install and use the GNU nano program on your GNU/Linux operating system, you must first download the latest version from Softpedia, save the archive somewhere on your computer, and extract its contents with your favorite archive manager.
Now open a terminal emulator application, navigate to the location of the extracted archive files using the ‘cd’ command (e.g. cd /home/softpedia/nano-2.3.6), type the ‘./configure && make’ command to configure/optimize and compile the program, followed by the ‘make install’ or ‘sudo make install’ commands, depending if you are root or a user with root privileges, to install it system wide and make it available to all users on your machine.
Under the hood
GNU nano is written entirely in the C programming language, which means that it is slim and extremely fast. It has been successfully tested with both 32-bit and 64-bit instruction set architectures.