nsh - Now With Previous Session Resume!
#21
Posted 11 January 2013 - 12:21 AM
#22
Posted 11 January 2013 - 05:01 AM
Mendax, on 11 January 2013 - 12:21 AM, said:
You're welcome to include nsh as-is in whatever you like. You may also create a derivative program, though I would ask that you make it nsh-compatible if you do (that is, your front-end should be able to connect to a standard nsh server and operate correctly, or have clients connect to it and operate correctly, if it's a server front-end).
#23
Posted 11 January 2013 - 02:03 PM
Lyqyd, on 11 January 2013 - 05:01 AM, said:
#24
Posted 11 January 2013 - 05:58 PM
Mendax, on 11 January 2013 - 02:03 PM, said:
Lyqyd, on 11 January 2013 - 05:01 AM, said:
Oh, a gui for it? I'm curious as to how that would work!
#25
Posted 12 January 2013 - 08:19 AM
#26
Posted 20 January 2013 - 02:43 PM
#27
Posted 20 January 2013 - 04:26 PM
#28
Posted 21 January 2013 - 04:25 PM
I downloaded NSH to two computers. With the one I put in nsh host and got the following error "bios:267 attempt to write to gobal. Installed on a few others and keep getting the same error.
#29
Posted 21 January 2013 - 04:32 PM
twitch204, on 21 January 2013 - 04:25 PM, said:
I downloaded NSH to two computers. With the one I put in nsh host and got the following error "bios:267 attempt to write to gobal. Installed on a few others and keep getting the same error.
What version of ComputerCraft are you on?
#30
Posted 21 January 2013 - 05:16 PM
#32
Posted 21 January 2013 - 08:39 PM
#33
Posted 22 January 2013 - 04:29 AM
twitch204, on 21 January 2013 - 08:39 PM, said:
Hmm, that change should not have resulted in that error. Is it possible you accidentally changed something else in the code while you were changing line 248? I will look into this tonight and see if I can reproduce the error.
#34
Posted 22 January 2013 - 05:36 AM
#35
Posted 02 February 2013 - 05:47 AM
Except for a typo I found on line 413:
elseif pacektType == "data" then
This hasn't crashed me yet, so it might just be an artifact.
Again, lovely work!
#36
Posted 02 February 2013 - 06:38 AM
Ciesson, on 02 February 2013 - 05:47 AM, said:
Except for a typo I found on line 413:
elseif pacektType == "data" then
This hasn't crashed me yet, so it might just be an artifact.
Again, lovely work!
Awesome! I'm glad you're liking it.
If I recall correctly, that is probably code that's stubbed in for future functionality (would be used for client-side nsh extensions), so it shouldn't cause any issues. I will certainly get that fixed when I flesh out the extensions code, though. Thanks for the report!
#37
Posted 03 February 2013 - 09:57 PM
#39
Posted 16 February 2013 - 11:16 AM
local pass = "fooBarBaz"
term.clear()
term.setCursorPos(1,1)
print("[email protected]"..(os.getComputerLabel() or os.getComputerID()))
term.write("Login Required: ")
if read("*") == pass then
shell.run("rom/programs/shell")
end
The code should be pretty obvious--they get one chance at getting the password correct. If they get it wrong, they are immediately disconnected. If they get it correct, a new shell session is started. If you named the program "auth", you would use it with `nsh host auth` or `nsh host auth shell` or similar, so that it will be run for all incoming connections.
#40
Posted 22 February 2013 - 07:56 AM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











