Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

Though a bit niche, my #FreeSoftwareAdvent today is ed(1).

Uncategorized
1 1 8
  • Though a bit niche, my today is ed(1). As the goofball behind @ed1conf, I certainly play it up, but I certainly use it more than the average Unix/BSD/Linux user.

    A while ago I wrote up list of reasons¹ why one might use ed, and some are more obscure/improbable reasons (though I've encountered all of them in that post), there are a couple of those that drive me back to ed regularly:

    • I can still see the output of previous commands on the screen while I edit, where a full-screen editor would obscure that output that I need to incorporate in my edit

    • it's just darn fast for a quick edit, changing a variable name or adding/removing an entry in a list, etc. No startup costs for a honkin' huge $VISUAL with dozens of plugins and language-server processes and GUI rendering

    • very usable on low-bandwith/high-latency connections like I sometimes get when I remote into machines (less of a problem now, but I still experience sessions where I'll SSH in, invoke ed, make the change, write & quit, and exit the shell, in a couple seconds, while the screen repaints things oh-so-slowly

    • and most importantly, there's quality geek-cred for using it in front of others 😆


    ¹ https://blog.thechases.com/posts/cli/why-ed1/

  • stefano@mastodon.bsd.cafeundefined stefano@mastodon.bsd.cafe shared this topic on
    valhalla@social.gl-como.itundefined valhalla@social.gl-como.it shared this topic on

Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti
  • 0 Votes
    1 Posts
    8 Views
    Following on the heels of ssh(1) yesterday, today's #FreeSoftwareAdvent is rsync(1).It's one of the key elements in my podcast listening (more on that to come later this month), where my podcatcher pulls down podcasts into a backlog tree structure, and I rsync the whole thing to my phone for listening. It also undergirds my blog deployment, building in Nikola (still gotta find some time to switch that to my custom Makefile driven build process) and then rsync'ing the output/ tree up to my web-server.And last night our teen wanted our family photo website content's pictures for a school project, so I was able to rsync the latest copy of them to a backup USB drive that he could browse offline.It's reliable and does a particular job (keeping two directory trees in sync) very well. Yes, ZFS send/receive is more efficient if both sides support it and they're whole datasets, but that's not always the case.Also, since I use bash as my shell, the "^" substitution makes it easy to issue something like$ rsync -n -avr $SRC $DESTand if it looks good, use$ ^-nto remove the dry-run flag and run it for real.
  • 0 Votes
    1 Posts
    7 Views
    Today in #FreeSoftwareAdvent, it's pf(4)Having lived through several iterations of firewall management tools on Linux (and FreeBSD offers both IPFW, IPFilter, and pf in the base system), I've come appreciate the simplicity and declarative nature of pf.conf for my firewall management.The only downside is the quirky syntax of pfctl(8) but I do like being able to run my rules through it to sanity-check them from vi/ed with:w !pfctl -nvf -before installing them.
  • 0 Votes
    1 Posts
    7 Views
    Today in #FreeSoftwareAdvent, I want to appreciate OfflineIMAP/mbsync. Both have served me well for bringing a remote IMAP mailbox locally and keeping it in sync across multiple machines, allowing me to mow through mail even when offline, and then have reasonable confidence that everything will just sync back up when I go online again.
  • 0 Votes
    1 Posts
    6 Views
    Today in #FreeSoftwareAdvent I'm thankful for the BSD projects, particularly FreeBSD & OpenBSD. Nothing against NetBSD or DragonflyBSD, I just haven't found a regular use-case for them in my day-to-day.I recently wrote up¹ why/how I ended up on a mix of FreeBSD & OpenBSD after a long tenure with Debian since it drifted from the Unixy principles² I loved and grew up with.⸻¹ https://blog.thechases.com/posts/why-bsds/² https://en.wikipedia.org/wiki/Unix_philosophy