diff --git a/docs/manual/Reticulum Manual.epub b/docs/manual/Reticulum Manual.epub index 8ee8131..cd8ac75 100644 Binary files a/docs/manual/Reticulum Manual.epub and b/docs/manual/Reticulum Manual.epub differ diff --git a/docs/manual/Reticulum Manual.pdf b/docs/manual/Reticulum Manual.pdf index baee5c8..3718e7a 100644 Binary files a/docs/manual/Reticulum Manual.pdf and b/docs/manual/Reticulum Manual.pdf differ diff --git a/docs/manual/_static/documentation_options.js b/docs/manual/_static/documentation_options.js index df7c0ac..4309e8f 100644 --- a/docs/manual/_static/documentation_options.js +++ b/docs/manual/_static/documentation_options.js @@ -1,6 +1,6 @@ var DOCUMENTATION_OPTIONS = { URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), - VERSION: '0.9.0 beta', + VERSION: '0.9.1 beta', LANGUAGE: 'en', COLLAPSE_INDEX: false, BUILDER: 'html', diff --git a/docs/manual/examples.html b/docs/manual/examples.html index ec0a80e..fda6a0d 100644 --- a/docs/manual/examples.html +++ b/docs/manual/examples.html @@ -6,7 +6,7 @@ -
This example can also be found at https://github.com/markqvist/Reticulum/blob/master/Examples/Minimal.py.
@@ -349,6 +350,7 @@ notifications about announces from relevant destinations. import argparse import random +import sys import RNS # Let's define an app name. We'll use this for all @@ -511,7 +513,7 @@ notifications about announces from relevant destinations. except KeyboardInterrupt: print("") - exit() + sys.exit(0)This example can also be found at https://github.com/markqvist/Reticulum/blob/master/Examples/Announce.py.
@@ -640,7 +642,7 @@ over the network. except KeyboardInterrupt: print("") - exit() + sys.exit(0)This example can also be found at https://github.com/markqvist/Reticulum/blob/master/Examples/Broadcast.py.
@@ -657,6 +659,7 @@ the Packet interface. ########################################################## import argparse +import sys import RNS # Let's define an app name. We'll use this for all @@ -781,7 +784,7 @@ the Packet interface. except Exception as e: RNS.log("Invalid destination entered. Check your input!") RNS.log(str(e)+"\n") - exit() + sys.exit(0) # We must first initialise Reticulum reticulum = RNS.Reticulum(configpath) @@ -979,7 +982,7 @@ the Packet interface. client(args.destination, configarg, timeout=timeoutarg) except KeyboardInterrupt: print("") - exit() + sys.exit(0)This example can also be found at https://github.com/markqvist/Reticulum/blob/master/Examples/Echo.py.
@@ -1109,7 +1112,7 @@ destination, and passing traffic back and forth over the link. destination_hash = bytes.fromhex(destination_hexhash) except: RNS.log("Invalid destination entered. Check your input!\n") - exit() + sys.exit(0) # We must first initialise Reticulum reticulum = RNS.Reticulum(configpath) @@ -1212,9 +1215,8 @@ destination, and passing traffic back and forth over the link. else: RNS.log("Link closed, exiting now") - RNS.Reticulum.exit_handler() time.sleep(1.5) - os._exit(0) + sys.exit(0) # When a packet is received over the link, we # simply print out the data. @@ -1278,7 +1280,7 @@ destination, and passing traffic back and forth over the link. except KeyboardInterrupt: print("") - exit() + sys.exit(0)This example can also be found at https://github.com/markqvist/Reticulum/blob/master/Examples/Link.py.
@@ -1422,7 +1424,7 @@ the link has been established. destination_hash = bytes.fromhex(destination_hexhash) except: RNS.log("Invalid destination entered. Check your input!\n") - exit() + sys.exit(0) # We must first initialise Reticulum reticulum = RNS.Reticulum(configpath) @@ -1534,9 +1536,8 @@ the link has been established. else: RNS.log("Link closed, exiting now") - RNS.Reticulum.exit_handler() time.sleep(1.5) - os._exit(0) + sys.exit(0) # When a packet is received over the link, we # simply print out the data. @@ -1600,7 +1601,7 @@ the link has been established. except KeyboardInterrupt: print("") - exit() + sys.exit(0)This example can also be found at https://github.com/markqvist/Reticulum/blob/master/Examples/Identify.py.
@@ -1729,7 +1730,7 @@ the link has been established. destination_hash = bytes.fromhex(destination_hexhash) except: RNS.log("Invalid destination entered. Check your input!\n") - exit() + sys.exit(0) # We must first initialise Reticulum reticulum = RNS.Reticulum(configpath) @@ -1836,9 +1837,8 @@ the link has been established. else: RNS.log("Link closed, exiting now") - RNS.Reticulum.exit_handler() time.sleep(1.5) - os._exit(0) + sys.exit(0) ########################################################## @@ -1894,7 +1894,7 @@ the link has been established. except KeyboardInterrupt: print("") - exit() + sys.exit(0)This example can also be found at https://github.com/markqvist/Reticulum/blob/master/Examples/Request.py.
@@ -2029,7 +2029,7 @@ data between peers of adef server_loop(destination):
# Let the user know that everything is ready
RNS.log(
- "Link example "+
+ "Channel example "+
RNS.prettyhexrep(destination.hash)+
" running, waiting for a connection."
)
@@ -2117,7 +2117,7 @@ data between peers of a destination_hash = bytes.fromhex(destination_hexhash)
except:
RNS.log("Invalid destination entered. Check your input!\n")
- exit()
+ sys.exit(0)
# We must first initialise Reticulum
reticulum = RNS.Reticulum(configpath)
@@ -2181,7 +2181,7 @@ data between peers of a packed_size = len(message.pack())
channel = server_link.get_channel()
if channel.is_ready_to_send():
- if packed_size <= channel.MDU:
+ if packed_size <= channel.mdu:
channel.send(message)
else:
RNS.log(
@@ -2226,9 +2226,8 @@ data between peers of a else:
RNS.log("Link closed, exiting now")
- RNS.Reticulum.exit_handler()
time.sleep(1.5)
- os._exit(0)
+ sys.exit(0)
# When a packet is received over the channel, we
# simply print out the data.
@@ -2292,7 +2291,7 @@ data between peers of a except KeyboardInterrupt:
print("")
- exit()
+ sys.exit(0)
This example can also be found at https://github.com/markqvist/Reticulum/blob/master/Examples/Channel.py.
@@ -2460,7 +2459,7 @@ binary data between peers of a destination_hash = bytes.fromhex(destination_hexhash)
except:
RNS.log("Invalid destination entered. Check your input!\n")
- exit()
+ sys.exit(0)
# We must first initialise Reticulum
reticulum = RNS.Reticulum(configpath)
@@ -2557,9 +2556,8 @@ binary data between peers of a else:
RNS.log("Link closed, exiting now")
- RNS.Reticulum.exit_handler()
time.sleep(1.5)
- os._exit(0)
+ sys.exit(0)
# When the buffer has new data, read it and write it to the terminal.
def client_buffer_ready(ready_bytes: int):
@@ -2623,7 +2621,7 @@ binary data between peers of a except KeyboardInterrupt:
print("")
- exit()
+ sys.exit(0)
This example can also be found at https://github.com/markqvist/Reticulum/blob/master/Examples/Buffer.py.
@@ -2859,7 +2857,7 @@ interface to efficiently pass files of any size over a Reticulum destination_hash = bytes.fromhex(destination_hexhash)
except:
RNS.log("Invalid destination entered. Check your input!\n")
- exit()
+ sys.exit(0)
# We must first initialise Reticulum
reticulum = RNS.Reticulum(configpath)
@@ -3097,7 +3095,7 @@ interface to efficiently pass files of any size over a Reticulum global server_files
if len(server_files) == 0:
RNS.log("Timed out waiting for filelist, exiting")
- os._exit(0)
+ sys.exit(0)
# When a link is closed, we'll inform the
@@ -3110,9 +3108,8 @@ interface to efficiently pass files of any size over a Reticulum else:
RNS.log("Link closed, exiting now")
- RNS.Reticulum.exit_handler()
time.sleep(1.5)
- os._exit(0)
+ sys.exit(0)
# When RNS detects that the download has
# started, we'll update our menu state
@@ -3236,7 +3233,7 @@ interface to efficiently pass files of any size over a Reticulum except KeyboardInterrupt:
print("")
- exit()
+ sys.exit(0)
This example can also be found at https://github.com/markqvist/Reticulum/blob/master/Examples/Filetransfer.py.
diff --git a/docs/manual/forhumans.html b/docs/manual/forhumans.html
index 310f574..c45dff5 100644
--- a/docs/manual/forhumans.html
+++ b/docs/manual/forhumans.html
@@ -6,7 +6,7 @@
- An Explanation of Reticulum for Human Beings - Reticulum Network Stack 0.9.0 beta documentation
+ An Explanation of Reticulum for Human Beings - Reticulum Network Stack 0.9.1 beta documentation
@@ -141,7 +141,7 @@
- Reticulum Network Stack 0.9.0 beta documentation
+ Reticulum Network Stack 0.9.1 beta documentation
@@ -167,7 +167,7 @@
-
+
- Reticulum Network Stack 0.9.0 beta documentation
+ Reticulum Network Stack 0.9.1 beta documentation
@@ -165,7 +165,7 @@
-
+