From 711b6f2157cdf082a3a1309dc0201a05a26b3057 Mon Sep 17 00:00:00 2001 From: Izaya Date: Thu, 21 Jun 2018 00:02:16 +1000 Subject: [PATCH] replaced the test text --- mdptest.lua | 42 ++++++++++++++++++++++++++++++++++++++---- 1 file changed, 38 insertions(+), 4 deletions(-) diff --git a/mdptest.lua b/mdptest.lua index 285534e..ffcfb7b 100644 --- a/mdptest.lua +++ b/mdptest.lua @@ -1,13 +1,47 @@ local md = require "mdparse" -teststr = [[This is a test markdown string. It contains formatting including bold and italics, and [links](somewhere else) too. +teststr = [[# Minitel +An easy-to-implement networking protocol for OpenComputers. Not to be confused with the [French computer network of the same name](https://en.wikipedia.org/wiki/Minitel). -Here is a paragraph break, I suppose. +Minitel aims to implement layers 3, 4 and 5 of the OSI model. -Here's another. ]] +## Layers +### Layer 3 +[Layer 3](protocol-3.md) implements addressing, meshing and datagram transmission. + +### Layer 4 +[Layer 4](protocol-4.md) implements ordered message delivery + +### Layer 5 +[Layer 5](protocol-5.md) implements reliable, ordered, bidirectional streams. + +## Implementations +### OpenOS + +- [Reference implementation for OpenOS](OpenOS/README.md) + +### KittenOS + +- [Minitel for KittenOS NEO](KittenOS/README.md) + +### Embedded devices + +- [Microtel](Embedded/microtel/README.md) + +## Application-layer protocols +This repository also contains a number of implementations and specifications for application-layer protocols using Minitel. + +- [FRequest](FRequest/FRequest-protocol.md) +- [Minitel Mail](MMail/MMail-protocol.md) + +## Development and discussion +Code and documentation is hosted in the [Github repository](https://github.com/XeonSquared/OC-Minitel). + +Discussion takes place in, among other places, the [#SKS IRC channel on EsperNet](irc://irc.esper.net/#SKS) ([webchat](https://webchat.esper.net/?channels=SKS)) +]] lines, links = md.reflow(teststr, 40) print("0\t"..("1234567890"):rep(4)) for k,v in pairs(lines) do print(k,v) end print("\nLinks:") -for k,v in pairs(links) do print(k,v[1], v[2], v[3]) end +for k,v in pairs(links) do print(k,v[1], v[2], v[3], v[4]) end