Commit Briefs

270bb0cb01 GitHub

Update nsh-version.mk (tags/v1.2.1)

Bump version to 1.2.1


49948a3c98 GitHub

Add files via upload

preparing for new release


fbb14e9441 GitHub

Update nsh-version.mk

clarify how the changes to nsh-dist.txt appear


2184958aac GitHub

Delete index.html wrong repository sorry


2c15feea2b GitHub

Delete index.md wrong repository sorry


2ca50fb994 GitHub

Delete nshtutorial.pdf wrong repository sorry


c9ae9740ca GitHub

Delete basics.md Wrong Repository Sorry


469d9f8d4b GitHub

update files to reflect nshtutorial

update index.html and index.md tidy up basics.md to improve pagination add improved nsh manual examples


15028c6e86 GitHub

Update README.md to improve flow and readability of install instructions

Update README.md to improve flow and readability of install instructions



ad5bbfe55a GitHub

Update README.md to reflect improvements to NSH make file

Update README.md to reflect improvements to NSH make file and to reflect new integration scripts


ba522d3c85 GitHub

ctl.c fix handling of interrupted edits

fix handling of <ctrl> + <c> interruption that previously caused lock files to remain and prevent further editing The default SIGINT handler does the wrong thing when a file is currently locked for editing. Please try the diff below. ensure that edited files get unlocked if the user types Ctrl-C at prompt While editing files, temporarily disable the default SIGINT handler which does a long jump to displaying a command prompt. Otherwise we would jump away without removing our lock on the file and future attempts to edit the file would fail. Issue found by Tom Smyth. Fixed by stsp@ Thanks



957f3c72fb Stefan Sperling

fix make search path in bgpnsh and nshdoas directories

This Makefile grammar fix makes our build system independent of 'make obj', which is now an entirely optional step.


73decf3449 GitHub

improve nsh.8 accuracy and general syntax

improve accuracy of description of what happens nsh when you start it as root and non root user improved syntax compliance (cleaning up mandoc -Tlint nsh.8 output


b0b69440cc Stefan Sperling

make mantab.c compile without 'make obj'

The requirement to run 'make obj' before 'make' keeps getting in the way when nsh is compiled as part of the ports infrastructure.


52251c6854 Stefan Sperling

include stdio.h explicitly in utf8.c

extern.h depends on stdio.h because of FILENAME_MAX. wchar.h will stop pulling in stdio.h, hence break the build in utf8.c which will no longer pull in stdio.h. Patch by tb@


00166cee7f GitHub

use restricted less for pager for manual

Spotted and reported by sonic ... fixed by stspdotname (thanks ) "LESSSECURE=1" environment variable used to disable shell through less pager


dd8d34bfed Stefan Sperling

add sl_makestr() helper function

Written to support future rcctl support patches. ok chris


41d076f23c Stefan Sperling

ensure that window size information is always initialized

Fixes a divide-by-zero crash reported by sthen@. To reproduce: printf 'show\nshow run\n' > /tmp/nsh.script nsh -i /tmp/nsh.script ok chris


5a6c9083c6 Stefan Sperling

disable interactive mode if -c or -i options are used

ok chris


b9aa984d56 Stefan Sperling

fix off-by-one in step_optreq() loop termination condition

This makes ctl handlers with 6 arguments work as expected. ok chris



148870ff89 Stefan Sperling

document the release process; requested by Tom


615e468d94 GitHub

Merge pull request #144 from sthen/patch-2

fix motd permissions in integration scripts