Language Selection

English French German Italian Portuguese Spanish

GNU nano 5.0 Open-Source Text Editor Released, This is What’s New

Filed under

GNU nano is probably one of the most popular text editors for the command line. It’s probably included in almost all GNU/Linux distribution is it usually comes in handy whenever there’s some configuration files you need to edit.

Dubbed “Among the fields of barley,” GNU nano 5.0 introduces a new --indicator parameter that displays some sort of scrollbar to show you where the viewport is located in the buffer and how much it covers, along with the --bookstyle parameter that makes nano consider any line that begins with a whitespace the start of a paragraph.

It’s now possible to tag any line with an anchor using the shortcut. You can then jump to the nearest anchor using and . GNU nano 5.0 also lest you access the Execute Command prompt directly from the main menu with ^T, as well as to toggle the help lines in all menus (except for the linter and help viewer) with M-X and list the possibilities at a filename prompt with .

Read more

GNU nano 5.0 released

  • GNU nano 5.0 released
    2020.07.29 - GNU nano 5.0  "Among the fields of barley"
    • With --indicator (or -q or 'set indicator') nano will show a kind
      of scrollbar on the righthand side of the screen to indicate where
      in the buffer the viewport is located and how much it covers.
    • With <Alt+Insert> any line can be "tagged" with an anchor, and
      <Alt+PageUp> and <Alt+PageDown> will jump to the nearest anchor.
      When using line numbers, an anchor is shown as "+" in the margin.
    • The Execute Command prompt is now directly accessible from the
      main menu (with ^T, replacing the Spell Checker).  The Linter,
      Formatter, Spell Checker, Full Justification, Suspension, and
      Cut-Till-End functions are available in this menu too.
    • On terminals that support at least 256 colors, nine new color
      names are available: pink, purple, mauve, lagoon, mint, lime,
      peach, orange, and latte.  These do not have lighter versions.
    • For the color names red, green, blue, yellow, cyan, magenta,
      white, and black, the prefix 'light' gives a brighter color.
      Prefix 'bright' is deprecated, as it means both bold AND light.
    • All color names can be preceded with "bold," and/or "italic,"
      (in that order) to get a bold and/or italic typeface.
    • With --bookstyle (or -O or 'set bookstyle') nano considers any
      line that begins with whitespace as the start of a paragraph.
    • Refreshing the screen with ^L now works in every menu.
    • In the main menu, ^L also centers the line with the cursor.
    • Toggling the help lines with M-X now works in all menus except
      in the help viewer and the linter.
    • At a filename prompt, the first <Tab> lists the possibilities,
      and these are listed near the bottom instead of near the top.
    • Bindable function 'curpos' has been renamed to 'location'.
    • Long option --tempfile has been renamed to --saveonexit.
    • Short option -S is now a synonym of --softwrap.
    • The New Buffer toggle (M-F) has become non-persistent.  Options
      --multibuffer and 'set multibuffer' still make it default to on.
    • Backup files will retain their group ownership (when possible).
    • Data is synced to disk before "... lines written" is shown.
    • The raw escape sequences for F13 to F16 are no longer recognized.
    • Distro-specific syntaxes, and syntaxes of less common languages,
      have been moved down to subdirectory syntax/extra/.  The affected
      distros and others may wish to move wanted syntaxes one level up.
    • Syntaxes for Markdown, Haskell, and Ada were added.

Nano 5.0 Released As A Big Feature Update To This Easy-To-Use

  • Nano 5.0 Released As A Big Feature Update To This Easy-To-Use Terminal Text Editor

    The popular GNU Nano terminal text editor has reached version 5.0.

    Nano 5.0 has been released with a number of changes compared to the Nano 4.x series. Among the Nano 5.0 text editor highlights are:

    - The --indicator option can be used to provide a "scrollbar" on the right side of the screen to indicate approximately where in the buffer that the viewport / text is at.

    - The execute command prompt is now directly accessible from the main menu.

    - For terminals supporting at least 256 colors, new recognized color names include: pink, purple, mauve, lagoon, mint, lime, peach, orange, and latte. There are also new "light" variants on a number of existing common colors.

Open source text editor GNU nano has reached the milestone

  • Beginner-friendly Terminal-based Text Editor GNU Nano Version 5.0 Released

    Open source text editor GNU nano has reached the milestone of version 5.0. Take a look at what features this new release brings.

    There are plenty terminal-based text editors available for Linux. While editors like Emacs and Vim require a steep learning curve with bunch of unusual keyboard shortcuts, GNU nano is considered easier to use.

    Perhaps that’s the reason why Nano is the default terminal-based text editor in Ubuntu and many other distributions. Upcoming Fedora 33 release is also going to set Nano as the default text editor in terminal.

    GNU nano 5.0 has just been released. Here are the new features it brings.

By FOSSlife Team

  • GNU nano 5.0 Text Editor Released

    Version 5.0 of the popular open source GNU nano text editor has been released. This upgrade offers many enhancements and changes for Linux users, as listed on the nano website...

Robbie Harb (El Reg) on Nano

  • Venerable text editor GNU Nano reaches version 5.0 and adds the modern frippery that is scrollbars

    Cult text editor GNU Nano has released a major update, taking the terminal-based program to its fifth version in twenty years.

    The new update, called "Among the fields of barely", introduces a new --indicator command-line switch that will enable the display a kind of scrollbar on the right-hand side of the screen to indicate where in the buffer the viewport is located and how much it covers.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

More in Tux Machines

digiKam 7.7.0 is released

After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release. Read more

Dilution and Misuse of the "Linux" Brand

Samsung, Red Hat to Work on Linux Drivers for Future Tech

The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world. Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility. Read more

today's howtos

  • How to install go1.19beta on Ubuntu 22.04 – NextGenTips

    In this tutorial, we are going to explore how to install go on Ubuntu 22.04 Golang is an open-source programming language that is easy to learn and use. It is built-in concurrency and has a robust standard library. It is reliable, builds fast, and efficient software that scales fast. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel-type systems enable flexible and modular program constructions. Go compiles quickly to machine code and has the convenience of garbage collection and the power of run-time reflection. In this guide, we are going to learn how to install golang 1.19beta on Ubuntu 22.04. Go 1.19beta1 is not yet released. There is so much work in progress with all the documentation.

  • molecule test: failed to connect to bus in systemd container - openQA bites

    Ansible Molecule is a project to help you test your ansible roles. I’m using molecule for automatically testing the ansible roles of geekoops.

  • How To Install MongoDB on AlmaLinux 9 - idroot

    In this tutorial, we will show you how to install MongoDB on AlmaLinux 9. For those of you who didn’t know, MongoDB is a high-performance, highly scalable document-oriented NoSQL database. Unlike in SQL databases where data is stored in rows and columns inside tables, in MongoDB, data is structured in JSON-like format inside records which are referred to as documents. The open-source attribute of MongoDB as a database software makes it an ideal candidate for almost any database-related project. This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the MongoDB NoSQL database on AlmaLinux 9. You can follow the same instructions for CentOS and Rocky Linux.

  • An introduction (and how-to) to Plugin Loader for the Steam Deck. - Invidious
  • Self-host a Ghost Blog With Traefik

    Ghost is a very popular open-source content management system. Started as an alternative to WordPress and it went on to become an alternative to Substack by focusing on membership and newsletter. The creators of Ghost offer managed Pro hosting but it may not fit everyone's budget. Alternatively, you can self-host it on your own cloud servers. On Linux handbook, we already have a guide on deploying Ghost with Docker in a reverse proxy setup. Instead of Ngnix reverse proxy, you can also use another software called Traefik with Docker. It is a popular open-source cloud-native application proxy, API Gateway, Edge-router, and more. I use Traefik to secure my websites using an SSL certificate obtained from Let's Encrypt. Once deployed, Traefik can automatically manage your certificates and their renewals. In this tutorial, I'll share the necessary steps for deploying a Ghost blog with Docker and Traefik.