Blog: 2024-09-17: Difference between revisions

From razwiki
Jump to navigation Jump to search
(Created page with "More editor ideas: either don't clear scrollback, or if you do clear scrollback, output the changes as a diff </pre> $ 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 \ </pre> or <pre> $ edit ronin #!/bin/sh # Create a virtual machine and log in set -e test ! -z "$RONIN_DEBUG" && set -x RONIN_HOME="...")
 
No edit summary
Line 1: Line 1:
More editor ideas: either don't clear scrollback, or if you do clear scrollback, output the changes as a diff
More editor ideas: either don't clear scrollback, or if you do clear scrollback, output the changes as a diff

</pre>
<pre>
$ edit ronin
$ edit ronin
diff --git a/ronin b/ronin
diff --git a/ronin b/ronin

Revision as of 14:15, 17 September 2024

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>