Commits


Update nsh-version.mk Bump version to 1.2.1


Add files via upload preparing for new release


Update nsh-version.mk clarify how the changes to nsh-dist.txt appear


Delete index.html wrong repository sorry


Delete index.md wrong repository sorry


Delete nshtutorial.pdf wrong repository sorry


Delete basics.md Wrong Repository Sorry


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


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


Update README.md to add section on setting nsh as preferred shell for a user


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


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


extend .gitignore patterns to match compiled files without 'make obj'


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.


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


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.


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@


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


add sl_makestr() helper function Written to support future rcctl support patches. ok chris


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


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


fix off-by-one in step_optreq() loop termination condition This makes ctl handlers with 6 arguments work as expected. ok chris


suggest a better strategy to deal with nsh-version.mk modifications


document the release process; requested by Tom


Merge pull request #144 from sthen/patch-2 fix motd permissions in integration scripts