My little blog can’t be this cute!
commit: 2e1288ad482b3bf8a93ec242b808f27a54ae4542
parent: b221ce1121dd76b5a3d3fa446ce653d6337c945f
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 14 May 2017 05:36:20 +0200

[article] ed; notes/editors: notes/cheatsheet on ed


4 files changed, 39 insertions(+), 0 deletions(-)

diff --git a/articles/ed.html b/articles/ed.html @@ -0,0 +1,12 @@ +<h1><a href="/articles/ed">ed</a></h1> +<p>You may have noticed if you’re following me on <a href="https://pouet.it/@lanodan_tmp/499933">@lanodan@pouet.it</a> that I’m posting quite a bit of honest post about the goodness of ed, and let me say why, sometimes I prefer ed</p> +<ul> + <li>It’s a too much simple and so powerfull ed-tor (pun intended) + <li>It’s blazzingly fast (as fast as your terminal actually), which is something I need as I use slow RS232 ones or shit connections(hotspots :3) with SSH + <li>If you know sed and/or vi you know ed + <li>It’s accessible to everyone, even blind people, without modifications whatsoever (thanks to line-oriented editing) + <li>You can screen/copy/capture/… the whole session, no more TUI madness + <li>Make patches that can actually be pasted directly in ed (even if I think I’ll stick to the well-known/larryWall one. Also means you can paste the editing session of one file to another + <li>ED IS THE STANDARD EDITOR (actually vi is too, but only in latest(2008) POSIX) +</ul> +<p>Note: From ed, with love; Also, I’m not trolling here, appart from the "standard editor" part</p> diff --git a/articles/ed.shtml b/articles/ed.shtml @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html lang="en"> + <head> +<!--#include file="/templates/head.shtml" --> + <title>ed — Cyber-home of lanodan</title> + <link type="application/rss+xml" href="/rss" title="flux RSS" rel="alternate"></link> + </head> + <body> +<!--#include file="/templates/en/nav.shtml" --> + <article> +<!--#include file="/articles/ed.html"--> + </article> + <a href="/articles/ed.html">article only(plain HTML)</a> +<!--#include file="/templates/en/footer.html" --> + </body> +</html> diff --git a/home.shtml b/home.shtml @@ -7,6 +7,9 @@ </head> <body> <!--#set var="transPageUrl" value='accueil' --><!--#include file="templates/en/nav.shtml" --> + <article> +<!--#include file="/articles/ed.html"--> + </article> <article> <!--#include file="/articles/My git server setup.html"--> </article> diff --git a/notes/editors.shtml b/notes/editors.shtml @@ -8,6 +8,14 @@ <!--#set var="feedUrl" value='http://gitlab.com/lanodan/blog/commits/master.atom?utf8=%E2%9C%93&search=notes%2F' --><!--#include file="/templates/en/nav.shtml" --> <main> Few notes for nice but not well-know usages of ed and ed-based editors + <h2>ed</h2> + <ul> + <li><code>+</code> next / previous <code>-</code></li> + <li>CAPS instead of ! for forcing</li> + <li>dot/^C for ending mode</li> + <li><code>a</code>ppend; <code>c</code>hange; <code>i</code>nsert (before)</li> + <li><code>,p</code> print everything</li> + <ul> <h2>Vim</h2> <ul> <li>^a → iterate</li>