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
  • 0 Votes
    1 Posts
    6 Views
    @mwl@io.mwl.io’s post made me revisit RCS in a very small role: a safety net for individual files.Paired with nvi, a tiny wrapper lets me snapshot configs before risky edits. Simple, local, no magic.Example wrapper I’m using:#!/bin/sh## safeedit — RCS-backed safe editing with nvi#set -eif [ $# -ne 1 ]; then echo "usage: safeedit <file>" >&2 exit 1fiFILE="$1"if [ ! -f "$FILE" ]; then echo "safeedit: file not found: $FILE" >&2 exit 1fiDIR=$(dirname "$FILE")BASE=$(basename "$FILE")RCS_DIR="$DIR/RCS"RCS_FILE="$RCS_DIR/$BASE,v"mkdir -p "$RCS_DIR"chmod 700 "$RCS_DIR"if [ ! -f "$RCS_FILE" ]; then ci -l "$FILE"else ci -u "$FILE" || true co -l "$FILE"fiexec nvi "$FILE"nvi protects the session; RCS protects the decision.Original post by @mwl@snac.bsd.cafe: https://io.mwl.io/@mwl/115814245521209100#nvi #RCS #Unix #SysAdmin #ConfigManagement
  • 0 Votes
    1 Posts
    5 Views
    Today in #FreeSoftwareAdvent, I realized how much my daily setup changed over the years.I removed my external monitor and keyboard.Not to be minimalist, but to reduce context switching.I kept the mouse because speed still matters.Working sometimes from my parents house made it clear that relying on an external monitor was fragile, so I forced myself to work only with the laptop.The same thing happened with software.Vim slowly became nvi.Alacritty became xterm, then st.I didn’t look for lighter tools, but for ones I could trust and reason about. Less abstraction, fewer surprises.Today I use two identical laptops -- one for work, one personal -- same setup, side by side, one mouse for each.The environment disappears, and the work stays.#suckless #st #nvi #xterm
  • 0 Votes
    1 Posts
    5 Views
    Still using nvi on Slackware.No plugins. No syntax highlighting. Just speed, predictability, and classic vi behavior, even with multi-GB files.I wrote a short guide explaining why nvi still matters and how its architecture enables fast, low-memory editing.📄 https://4c6e.xyz/code_notes.html (NVI Editor Guide)📄 https://git.sr.ht/~r1w1s1/code-notes/blob/main/notes/NVI_Editor_Guide.txt (plain text)#slackware #editor #nvi #vi #unix #minimalism

Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti
  • upcoming fediverse events

    Fediverso fedidev fediverse
    18
    0 Votes
    18 Posts
    62 Views
    @julian @wakest I think AS has been getting the updates this whole time, it was Piefed that wasn't
  • My fosdem talk is up!

    Fediverso c2s fosdem fediverse activitypub
    4
    1 Votes
    4 Posts
    3 Views
    I end the talk with an invitation for devs and non-developers alike to submit some user-stories about what they would want from a general AP clienthttps://github.com/swicg/activitypub-api
  • Is mastodon acting weird?

    Fediverso mastodon techsupport fediverse
    2
    0 Votes
    2 Posts
    4 Views
    @zewm Hey - we turned off the local and federated feeds for #MastodonSocial, but if you want to keep access to it please reach out to the staff account. More info here: https://mastodon.social/@staff/116015299592234843
  • 0 Votes
    1 Posts
    1 Views
    What time is it? Well, about five to four by my clock, but more importantly it's #Hackster round-up time!First, for those who've got a shiny new #Arduino UNO Q on their desks, a new Arduino App Lab which adds some nice quality-of-life features including easy project import and export.Also, it apparently takes 10GB of temporary storage to update your Arduino UNO Q(!)https://www.hackster.io/news/arduino-releases-a-new-app-lab-for-the-arduino-uno-q-promises-big-quality-of-life-gains-b0dca6ec3c8f#Technology #News #Microcontroller #SingleBoardComputer