Blog: 2024-09-17

From razwiki
Revision as of 13:15, 17 September 2024 by Razzi (talk | contribs)
Jump to navigation Jump to search

More editor ideas: either don't clear scrollback, or if you do clear scrollback, output the changes as a diff

$ edit ronin
diff --git a/ronin b/ronin
index 2805e3b..5cdfd6d 100755
--- a/ronin
+++ b/ronin
@@ -50,8 +50,8 @@ ronin_launch() {
     -hda "$RONIN_DISK" \
     -m 4096 \
     -nic hostfwd=tcp::2022-:22 \
-    -daemonize \

or

$ edit ronin
#!/bin/sh
# Create a virtual machine and log in

set -e

test ! -z "$RONIN_DEBUG" && set -x

RONIN_HOME="$HOME/.ronin"
RONIN_CACHE="$HOME/.cache/ronin"
RONIN_DISK="$RONIN_HOME/ronin-disk.qcow2"
<... etc>