Software-update: GNU nano 4.9.2

GNU nano is een teksteditor voor Linux- en Unix-systemen, en draait op de commandline. Daardoor heeft het geen grafische desktop nodig. Het biedt onder andere syntaxcoloring, zoek- en vervangopties, wordcompletion en het automatisch toepassen van back-ups voor gewijzigde bestanden. Het ontwikkelteam heeft versie 4.9.2 klaargezet met de volgende aankondiging:

GNU nano 4.9.2 "Mali Lošinj"
Another bug introduced in version 4.9 is fixed: a likely crash after undoing an <Enter> at the end of leading whitespace.

GNU nano 4.9.1 "Sapperdeflap"
Two bugs introduced in version 4.9 are fixed: the cursor getting misplaced when undoing line cuts, and filtering of the whole buffer to a new buffer not working.

GNU nano 4.9 "die fetten Jahre sind vorbei"
  • When justifying a selection, the new paragraph and the succeeding one get the appropriate first-line indent.
  • Trying to justify an empty selection does not crash.
  • Redoing the insertion of an empty file does not crash.
  • On the BSDs and macOS, ^H has become rebindable again (in most terminal emulators, not on the console).
  • DOS line endings in nanorc files are accepted.
  • Option --suspend / 'set suspend' has been renamed to the more logical --suspendable / 'set suspendable'.
GNU nano 4.8 "Jaška"
  • When something is pasted into nano, auto-indentation is suppressed, and the paste can be undone as a whole with a single M-U.
  • When a lock file is encountered during startup, pressing ^C/Cancel quits nano. (Pressing 'No' just skips the file and continues.)
  • Shift+Meta+letter key combos can be bound with 'bind Sh-M-letter'. Making any such binding dismisses the default behavior of ignoring Shift for all Meta+letter keystrokes.
  • The configuration option --with-slang (to be avoided when possible) can now be used only together with --enable-tiny.
  • A custom nanorc file can be specified on the command line, with -f filename or --rcfile=filename.
GNU nano 4.7 "Havikskruid"
  • A <Tab> will indent a marked region only when mark and cursor are on different lines.
  • Two indentations (any mix of tabs and spaces) are considered the same when they look the same (that is: indent to the same level).
  • When using --breaklonglines or ^J, a line will never be broken in its leading whitespace or quoting.
  • The keywords in nanorc files must be in lowercase.
GNU nano 4.6 "And don't you eat that yellow snow"
  • The 'formatter' command has returned, bound by default to M-F. It allows running a syntax-specific command on the contents of the buffer.
  • ^T will try to run 'hunspell' before 'spell', because it checks spellling for the locale's language and understands UTF-8.
  • Multiple errors or warnings on startup will no longer slow nano down but will be indicated on the status bar with trailing dots.

GNU nano 3.2

Versienummer 4.9.2
Releasestatus Final
Website GNU nano
Download https://nano-editor.org/download.php
Licentietype Voorwaarden (GNU/BSD/etc.)

Door Japke Rosink

Meukposter

08-04-2020 • 09:20

12

Bron: GNU nano

Update-historie

Reacties (12)

12
12
7
0
0
5
Wijzig sortering
Haha geweldig :)

GNU nano 4.9.1 "Sapperdeflap"

Of

GNU nano 4.6 "And don't you eat that yellow snow"

Ik wist niet dat er Nederlands (of Belgen) betrokken waren bij de ontwikkeling van nano.

Ik vind het jammer dat Microsoft zoiets niet in powershell of cmd heeft zitten. Gewoon een programma om even snel (en vooral gemakkelijk) een tekst bestand te kunnen lezen of bewerken.

[Reactie gewijzigd door L0g0ff op 23 juli 2024 18:44]

Heeft altijd in de 32-bit versies gezeten. Nu zijn er vervangers genoeg: https://virtuallyfun.com/...-text-editor-for-windows/
tl;dr; => https://micro-editor.github.io/
Wist ik ook niet! En na wat googlen (zie: https://lwn.net/Articles/693623/) lijkt het dat hij, genaamd Benno Schulenberg, (klinkt Nederlands, maar kan ook duits zijn :) ) de enige maintainer is van het gehele project.
Ja, grappig dat je aan de namen kunt zien waar de ontwikkelaars vandaan komen. 3 uit Duits-, Enge- en Neder-land, en de 4de uit... hmm... Hongarije of zo, of Iceland?
Ik vind het jammer dat Microsoft zoiets niet in powershell of cmd heeft zitten. Gewoon een programma om even snel (en vooral gemakkelijk) een tekst bestand te kunnen lezen of bewerken.
Notepad?
gewoon notepad file.txt <enter>
en dankzij deze versie van notepad heb ik een hele snelle, hele makkelijke versie van notepad die een beetje lijkt op een kruising van notepad en Notepad++, werkt fijn.
Dan word er weer een grafische toepassing gestart. Dat wil je niet altijd, of is niet altijd mogelijk (denk aan remote bakken zonder GUI)
Notepad is niet altijd een optie als je bijvoorbeeld remote op een andere computer zit via psexec of powershell ;)

Met cat kom je een heel eind als je wat log info moet nakijken maar is verre van ideaal en je kunt er ook geen tekst mee wijzigen.

Maar die Micro.exe die @Jogai net postte werkt prima. Ik zet die even ergens als exe klaar dan kan ik die zo met wget ophalen om mijn werk te kunnen doen. Tnx!
Waarom zet je hem klaar? Hij staat toch op github klaar?

[code]
curl -L https://github.com/zyedid...0.2/micro-2.0.2-win64.zip --output micro.zip
[/code]

Of beter nog, gebruik scoop om het te installeren.
Ik heb een pagina staan waar ik allemaal software staat die rechtstreeks te runnen is zonder installatie. Zeg maar een soort van http://live.sysinternals.com

Ik kan dan url gewoon onthouden en meteen die exe ophalen. Ik hoef hem ook niet te unzippen. Om die reden :)
cat <<EOF >>~/helloworld
Hello World!
EOF
Verbaast me een beetje hoeveel het wordt bijgewerkt wordt, als ik op die site zo de data bekijk. Dacht dat het zoiets uit de beginjaren van linux was dat al jaren ongewijzigd was. Maar blijkbaar wordt er bijna iedere maand/ 2 maanden een update gelanceerd
Ben benieuwd naar de volgende versie: GNU Nano 4.9.3 "Kopje koffie, glazenwasser?"

Op dit item kan niet meer gereageerd worden.