Commits


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.


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


/etc/motd should be world-readable


remove version number from README.md we will probably always forget to update it here like I just did


/etc/motd should be world-readable


bump version number for release


/etc/motd should be world-readable


missed two makefiles for DESTDIR to PREFIX conversion


use PREFIX instead of DESTDIR for better compatibility with OpenBSD ports


Update ctl.c add Sentinal as caught and suggested by Stsp Update ctl.c add Sentinal as caught and suggested by Stsp


sync dist file list


only create nsh database in privileged mode Avoids noisy warnings on startup as a regular user when the database does not exist yet. ok chris


ensure that build timestamp is kept up-to-date on each build