From c714fc8927c454b5cf4735429b4cc9cde7aa5760 Mon Sep 17 00:00:00 2001 From: gbc dev Date: Fri, 17 Jul 2026 01:08:48 +0200 Subject: rebrand: gbc -> sl0pboy (binary, README, tooling) --- gbctl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gbctl') diff --git a/gbctl b/gbctl index b926461..ce8ba15 100755 --- a/gbctl +++ b/gbctl @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -"""gbctl — drive the gbc emulator's socket control/debug channel from the CLI. +"""gbctl — drive the sl0pboy emulator's socket control/debug channel from the CLI. Model mirrors gdb-driver: spawn a tmux pane running the emulator with a control socket, then drive it with terse verbs, then stop. Socket auto-resolves to the @@ -25,7 +25,7 @@ single live instance (else pass --sock / set GBCTL_SOCK). import json, os, re, socket, subprocess, sys, time, glob HERE = os.path.dirname(os.path.abspath(__file__)) -BIN = os.path.join(HERE, "build", "gbc") +BIN = os.path.join(HERE, "build", "sl0pboy") REGDIR = os.path.join(os.environ.get("XDG_RUNTIME_DIR", "/tmp"), "gbctl") # --------------------------------------------------------------------------- @@ -202,7 +202,7 @@ def cmd_spawn(argv): cmd = [BIN, "--sock", sock_path] + emu_args + [rom] # ROM is the final arg # exec via a shell wrapper so the pane stays around & shows a title - shell_cmd = "printf '\\033]2;gbc %s\\007'; exec %s" % ( + shell_cmd = "printf '\\033]2;sl0pboy %s\\007'; exec %s" % ( os.path.basename(rom), " ".join(_shquote(c) for c in cmd)) if split == "window": r = subprocess.run(["tmux", "new-window", "-P", "-F", "#{pane_id}", -- cgit v1.3.1-sl0p