Skip to content

1.2.1

Choose a tag to compare

@20syldev 20syldev released this 02 Nov 14:32
· 6 commits to master since this release
1.2.1
0061261

Major release for mn — personal dynamic terminal manual.

Changes

  • One key reader for every screen — an arrow key no longer replays as letters (it used to open Delete or quit), and Space no longer counts as Enter
  • Shell files written inside a marked block — ~/.bash_aliases and ~/.bash_functions keep your own lines, a one-time .mn-bak backup is made, quotes and apostrophes are escaped, and a function named like an alias or a shell keyword can no longer break the file
  • Private hand-over file — the command to run after mn exits goes through a mktemp file in the runtime directory, never a fixed path in /tmp
  • Old connexion rows are hidden — records in the 1.1 format are never shown or completed, so an old password cannot end up as a handle
  • Uninstall is explicit — the checklist starts empty, each part is confirmed, and only what mn installed is removed
  • Safer plugins — names, versions and content are validated (foo, foo@1.2, foo@latest), a symlinked plugin is removed as a link, and nothing is fetched on a bad name
  • Updater that cannot downgrade — mn update stages the new tree, refuses an older version and never overwrites the running script in place
  • Installer hardened — private temporary files, checked downloads, current language, editor and repositories folder kept on a re-run, and a custom editor with shell metacharacters refused
  • Validated settings — names, CDN, editor, repositories root and connection IP are checked before use
  • Honest feedback — a failed delete or a failed regeneration of the shell files is reported instead of showing a success
  • Requires bash 4.1 — documented, and the negative array subscripts that needed 4.3 are gone