Commits
- Commit:
0e77b17bfcb7567563864ef39ac1ed4f443908fd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
allow the interface command to work within an interface context
- Commit:
0fa6b08d3c709fc60f694dc892e4ac47ecce9180
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reword an informative warning message such that it sounds less like an error
- Commit:
d945a704d98083fcd665e03708be660ac41c261f
- From:
- smytht <tom.smyth@wirelessconnect.eu>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix typo in exit command in bridge commands struct
This is the intended change from commit cfd60254
- Commit:
5d005592cbed24c89859e216bd4d9b4305116b47
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
backout: fix typo in bridge commands struct (missing) field for exit command
Unintended changes were mixed into this commit; discussed with Tom
- Commit:
cfd602546a3a8599b29e70c9a9ae29fe747768d1
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
fix typo in bridge commands struct (missing) field for exit command
fix typo in bridge commands struct (missing) field for exit command
- Commit:
845a0145490466f2974e657ab496e0307daf4cf2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix completion of "do" commands in interface context
ok Tom
- Commit:
dc4228e32985b55f88acdbf90c769b742bfd6f02
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
in interface-context, allow context-specific commands via "do" only
ok Tom
- Commit:
f193439e8c4a60a961c4f5fcc9c4475da0b80201
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
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
- Commit:
fd4494f6c62ce7eaa7cea7fa32df287ee211d49b
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
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
- Commit:
3fd3a9cfb5d755547263639da63ddf02c1da99bd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
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.
- Commit:
0a94b494fb23efcec9472c5d614ffe4188c1825d
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Merge pull request #150 from yellowman/smytht-su-alias
add su command alias for enable
- Commit:
f3ddbd3d7060495bb1110ccd4214189c1bd91561
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
add su command alias for enable
and update manual page and tags associated with su doas sudo and enable
- Commit:
11d6e15cefcc75b4f00c31bcbfe78c0b5eec6340
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Update and rename extensive-nsh-openbsd-integration.sh to extensive-nsh-openbsd-integrate.sh
replace mv commands with cp comands
- Commit:
c439d113bad3b76a0c957a449044ee1eb0af1baf
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
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
- Commit:
ce5c3a6daca1b1992aca8cf7ffdcaf2167438a39
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
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
- Commit:
b52a978df9c73cb63df84630da36b042453c70c6
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
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
- Commit:
efd37145daca2646b4ed8c8d1c3eb319000c95df
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
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
- Commit:
f2d2d8611103b65f1d2fde42d1cdc5c1c23dac92
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
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
- Commit:
270bb0cb01bae8fb3f5cff6279e1f05d9a3547ec
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Update nsh-version.mk
Bump version to 1.2.1
- Commit:
49948a3c984ef919b33b82921a77cb25a31f6f94
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Add files via upload
preparing for new release
- Commit:
fbb14e94415de0e2ed42f6db3aa0a0bad874bbde
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Update nsh-version.mk
clarify how the changes to nsh-dist.txt appear
- Commit:
2184958aac6bef6c8c299244488560d4bca085a0
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Delete index.html wrong repository sorry
- Commit:
2c15feea2b7a61bc1a6536ddb58e2b9dc3c2e3f5
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Delete index.md wrong repository sorry
- Commit:
2ca50fb994597e4b2841709086d39c03eb1d4f6a
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Delete nshtutorial.pdf wrong repository sorry
- Commit:
c9ae9740ca352f603430e444c94bc16772212525
- From:
- smytht <smytht@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Delete basics.md Wrong Repository Sorry