Commit Briefs

0e77b17bfc Stefan Sperling

allow the interface command to work within an interface context (intint)



d945a704d9 Stefan Sperling

fix typo in exit command in bridge commands struct

This is the intended change from commit cfd60254


5d005592cb Stefan Sperling

backout: fix typo in bridge commands struct (missing) field for exit command

Unintended changes were mixed into this commit; discussed with Tom


cfd602546a GitHub

fix typo in bridge commands struct (missing) field for exit command

fix typo in bridge commands struct (missing) field for exit command


845a014549 Stefan Sperling

fix completion of "do" commands in interface context

ok Tom


dc4228e329 Stefan Sperling

in interface-context, allow context-specific commands via "do" only

ok Tom


f193439e8c Stefan Sperling

fix a segfault triggered via the ! shell escape

As reported by Tom, the following input sequence would lead to a segfault: !<space>?<tab><backspace><tab> Resetting the cursor position in makeargv's special-case handling of shell escapes fixes this. tested by myself and Tom ok Tom


fd4494f6c6 GitHub

Merge pull request #153 from stspdotname/pairfix

fix conf_patch to avoid overwriting the current interface being shown I have reviewed the Code what stsp describes makes sense and the diff works and appears to solves the issue raised by ryan-sg OK Tom


3fd3a9cfb5 Stefan Sperling

fix conf_patch to avoid overwriting the current interface being shown

Afer conf_patch() was called, subsequent configuration items were being shown for the paired interface, rather than the pair interface itself. This happened because conf_patch() wrote the name of the paired interface into the interface name buffer provided by the caller. Use a local buffer instead.


0a94b494fb GitHub

Merge pull request #150 from yellowman/smytht-su-alias

add su command alias for enable


f3ddbd3d70 GitHub

add su command alias for enable

and update manual page and tags associated with su doas sudo and enable


11d6e15cef GitHub

Update and rename extensive-nsh-openbsd-integration.sh to extensive-nsh-openbsd-integrate.sh

replace mv commands with cp comands


c439d113ba GitHub

Delete scripts/shell/rc.local-nsh-openbsd-integration.sh

moving files files not copying them is not the best approach file name is way too long too deleting


ce5c3a6dac GitHub

Merge pull request #148 from yellowman/smytht-clear-command-add

add clear command to clear terminal screen (feedback from BSDCAN) tra… Ok by Stsp and leaving clear.1 manual page absence is resolved in current and by right should have been in previous releases


b52a978df9 GitHub

add clear command to clear terminal screen (feedback from BSDCAN) training

add clear command to clear terminal screen (feedback from BSDCAN) training adding clear command and manual entry i have checked and man clear does open a clear manpage in section 1 of the manual


efd37145da GitHub

remove snmp trap command that references legacy

removed binary /usr/sbin/snmpctl I would have love to been able to modify snmp trap command to use the snmp client binary but this requires further thought in the mean time to keep the code clean Im removing that defunct functionality thanks to ryan-sg who raised the issue https://github.com/yellowman/nsh/issues/146


f2d2d86111 GitHub

Update if.c with fix for show interface status command from ryan-sg

ryan-sg oticed a missing \n, causing the loopback interface to appear on the same line as the header: % Name Status Link Routing-Domain Media lo0 up - 0 vio0 up active 0 Ethernet vio1 down active 0 Ethernet vio2 down active 0 Ethernet vio3 up active 0 Ethernet enc0 down active 0 pflog0 up - 0 pair0 up active 0 Ethernet pair1 up no carrier 2 Ethernet lo2 down - 2 pair2 up active 3 Ethernet lo3 down - 3 The following patch seems to be all that is needed. Troubles with github and ssh keys right now, not worth the time to try and make a pull request over 2 chars :-) index 4ce758e..48cb569 100644 --- a/if.c +++ b/if.c @@ -302,7 +302,7 @@ show_int(int argc, char **argv, FILE *outfile) close(ifs); return 0; } - fputs("% Name Status Link Routing-Domain Media", + fputs("% Name Status Link Routing-Domain Media\n", outfile); for (ifnp = ifn_list; ifnp->if_name != NULL; ifnp++) show_int_status(ifnp->if_name, ifs, outfile); Results: % Name Status Link Routing-Domain Media lo0 up - 0 vio0 up active 0 Ethernet vio1 down active 0 Ethernet vio2 down active 0 Ethernet vio3 up active 0 Ethernet enc0 down active 0 pflog0 up - 0 pair0 up active 0 Ethernet pair1 up no carrier 2 Ethernet lo2 down - 2 pair2 up active 3 Ethernet lo3 down - 3


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