Raw escape codes. - tgtimes - The Gopher Times HTML git clone git://bitreich.org/tgtimes git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/tgtimes DIR Log DIR Files DIR Refs DIR Tags DIR README --- DIR commit a0e02d3112c09588b0180cd7aaa143e6b4d51aaa DIR parent f847ad1377a627f8c5d2949ff98208637acf099e HTML Author: Christoph Lohmann <20h@r-36.net> Date: Sun, 27 Aug 2023 20:32:45 +0200 Raw escape codes. Diffstat: M filters/markdown.filter | 18 ++++++++---------- M opus7/9-0-article-tgtimes-peering-… | 37 ++++++++++++++++--------------- M opus7/9-6-article-josuah-the-road-… | 47 ++++++++++++++++--------------- 3 files changed, 51 insertions(+), 51 deletions(-) --- DIR diff --git a/filters/markdown.filter b/filters/markdown.filter @@ -3,16 +3,14 @@ # A simple markdown filter for u2ps formatting. # -export TERM=linux - -reset="$(tput sgr0)" -italicformat="$(tput sitm)" -italicreset="$(tput ritm)" -boldformat="$(tput bold)" +reset="$(echo -ne "\033[0m")" +italicformat="$(echo -ne "\033[3m")" +italicreset="$(echo -ne "\033[23m")" +boldformat="$(echo -ne "\033[1m")" boldreset="$(echo -ne "\033[22m")" -underlineformat="$(tput smul)" -underlinereset="$(tput rmul)" -reverseformat="$(tput rev)" +underlineformat="$(echo -ne "\033[4m")" +underlinereset="$(echo -ne "\033[m")" +reverseformat="$(echo -ne "\033[7m")" reversereset="$(echo -ne "\033[27m")" redcolor="$(tput setaf 1)" @@ -37,7 +35,7 @@ do "## "*) nline="$(printf "%s\n" "${line}" \ | sed 's,^## ,,')" - printf "${boldformat}${underlineformat}%s${reset} \n" \ + printf "${boldformat}${underlineformat}%s${underlinereset} \n" \ "${nline}" ;; " "*) DIR diff --git a/opus7/9-0-article-tgtimes-peering-cake.md b/opus7/9-0-article-tgtimes-peering-cake.md @@ -1,7 +1,8 @@ # Peering Cake for IPv6 by tgtimes The Internet Protocol is the fundamental encoding and communication -convention that permits computers to reach each other across multiple LANs. +convention that permits computers to reach each other across multiple +LANs. An Protocol to allow Inter-Network communication. Andy Tanenbaum wrote a beautiful introduction about the underlying idea: @@ -10,13 +11,13 @@ Andy Tanenbaum wrote a beautiful introduction about the underlying idea: The part of Internet visible from a single user looks like a tree, with at its root the service provider. Regardless how complex the branches are, -there is usually "the gateway", implying a single one per network, to allow -traffic to "exit", implying a single direction to go for reaching the -outter world. The routing configuration rarely changes, and is often +there is usually "the gateway", implying a single one per network, to +allow traffic to "exit", implying a single direction to go for reaching +the outter world. The routing configuration rarely changes, and is often boiling down to "going out", implying beyond the gateway is outside.. -The part of Internet visible from a service provider, however, looks like a -mesh, a more balanced graph, with many possible gateways, many possible +The part of Internet visible from a service provider, however, looks like +a mesh, a more balanced graph, with many possible gateways, many possible "exit" directions, and no more idea of "outside". If you pick one possible gateway picked at random, hoping them to nicely find the correct destination for your IP packets, they may realistically @@ -29,23 +30,23 @@ Network admins themself are usually friendly among themself, even across concurrents, but companies do not always play nice with each other. There is a legendary dispute known by all Internet Service Provider (ISP) -netadmins: the two biggest international internet network providers, Cogent -and Hurricane Electric, are disconnected. -The two major IPv6 Carriers, those giants connecting the ISP togethers across -continents, are currently refusing to exchange IPv6 packets with each other. -This means that with IPv6, from a country connected to only Cogent, it is not -possible to reach a country connected to only Hurricane Electric, and the -other way around. +netadmins: the two biggest international internet network providers, +Cogent and Hurricane Electric, are disconnected. +The two major IPv6 Carriers, those giants connecting the ISP togethers +across continents, are currently refusing to exchange IPv6 packets with +each other. This means that with IPv6, from a country connected to only +Cogent, it is not possible to reach a country connected to only Hurricane +Electric, and the other way around. For this reason, all ISPs from all countries connections with many more carriers for IPv6 than it is for IPv4, resulting in either lower stability or higher cost. This strategy permits Cogent to remain competitive face to its larger -concurrents. Hurricane Electric, on the other hand, have much more commercial -advantage to perform peering with Cogent, to therefore exchange traffic. -In the diversity of attempts to get Cogent to change its mind, Hurricane -Electric decorated a large creamy cake with a message, and shipped the cake -to the headquarters of Cogent. +concurrents. Hurricane Electric, on the other hand, have much more +commercial advantage to perform peering with Cogent, to therefore exchange +traffic. In the diversity of attempts to get Cogent to change its mind, +Hurricane Electric decorated a large creamy cake with a message, and +shipped the cake to the headquarters of Cogent. Here is what the message said in 2009: DIR diff --git a/opus7/9-6-article-josuah-the-road-to-success.md b/opus7/9-6-article-josuah-the-road-to-success.md @@ -4,28 +4,28 @@ Success, the holy grail in Life. Many different forms and shapes. Marriage? Career? A medal? A stable financial situation? Crossing the border and get naturalized? So many facets to that same shiny diamond. -Or does success mean avoiding failure? In that case, doing nothing means no -failure, but trying always have more chance to reach whatever one names -"success". - -If failing means that trying did not lead one as far as hoped for, then the -next thing to do for getting closer to "success" again is trying again, in -risk to fail over again. And while so, also going a bit closer every time -to success. - -What is the landmark that distinguish being very close to actually reaching -success? Which indicator to use? Is it about completing a large project? -Fame? A position in the company? And once at the top position of a company, -one can still say it was a tiny company and the real goal always was to be -at the head of a great company, and that success will be when the company -is large enough. - -So if there is no real landmark, if failing is trying but failing to reach -an impossible goal, then failing is the result of trying whatever that -leads to. Failure would be the moment that follows any attempt to reach the -end of a direction. Failure would simply be the moment where you look back -at where you were before trying, where you are now, and the road left to go -to reach infinity. +Or does success mean avoiding failure? In that case, doing nothing means +no failure, but trying always have more chance to reach whatever one +names "success". + +If failing means that trying did not lead one as far as hoped for, then +the next thing to do for getting closer to "success" again is trying +again, in risk to fail over again. And while so, also going a bit +closer every time to success. + +What is the landmark that distinguish being very close to actually +reaching success? Which indicator to use? Is it about completing a large +project? Fame? A position in the company? And once at the top position of +a company, one can still say it was a tiny company and the real goal +always was to be at the head of a great company, and that success will +be when the company is large enough. + +So if there is no real landmark, if failing is trying but failing to +reach an impossible goal, then failing is the result of trying whatever +that leads to. Failure would be the moment that follows any attempt to +reach the end of a direction. Failure would simply be the moment where +you look back at where you were before trying, where you are now, and +the road left to go to reach infinity. Success looks similar: trying to move forward, constantly bumping the objective further as one get closer to it. Again success is the moment @@ -33,7 +33,8 @@ where you look at where you are, and estimate how far you've been. If success and failure are the same, this suggests that something is wrong somewhere. Somehow, the ultimate acheivement of every life is death. -The Road to Success? +## The Road to Success? + This is the same as the road to Failure: this is Life, it leads to Death. Wherever we go, we will be on it as long as we live. So now, may we move that idea of Success away so that we can enjoy living our life.