Posts tagged “terminal”

16 articles on terminal. Back to all posts.

· 8 min read

PTY vs Pipes: Why Commands Behave Differently in Your Terminal

Diagnose delayed logs, missing colors, SSH TTY errors, and hanging subprocesses with a reproducible Python lab and a guide to choosing PTYs or pipes.

· 20 min read

Unforgeable Shell Integration: Authenticating OSC 133 Marks with SipHash-2-4 in Pure Shell Arithmetic

Any program's output can forge OSC 133 marks and lie to agents about what ran. A tested fix: SipHash-2-4 in shell arithmetic, fd-delivered keys, and gap-evident sequencing.

· 10 min read

OSC 8 Terminal Hyperlinks: How Clickable Links Work in the Terminal

How OSC 8 escape sequences make terminal text clickable, how to emit them from shell scripts and Python, and why detected URLs break when coding agents wrap them.

· 9 min read

Is Your Shell Clean? Why .bashrc Output Breaks scp, rsync, SFTP, and Git over SSH

Fix 'Received message too long', 'protocol version mismatch -- is your shell clean?', and 'bad line length character' by finding the startup file that prints over SSH.

· 6 min read

Port Already in Use on macOS: How to Fix EADDRINUSE

Find what is using a port on macOS, identify the right process, and fix EADDRINUSE errors in development servers, SSH tunnels, and parallel worktree sessions.

· 7 min read

Git Bisect Tutorial: Find Regressions with AI Coding Agents

Find the commit that introduced a bug with git bisect. Includes an automated Python probe, exit-code handling, worktree isolation, and a focused AI agent workflow.

· 7 min read

IDE vs Terminal on a Mac: Which to Use When (and How to Combine Them)

A practical guide to using the IDE and the terminal together on a Mac. What each is genuinely good at, where the terminal beats the IDE (and vice versa), the modern CLI tools that close the gap, and how AI coding agents are reshaping the balance.

· 9 min read

Best Terminal for Mac in 2026: A Developer's Comparison

A practical, no-hype comparison of the best Mac terminal emulators in 2026 — Terminal.app, iTerm2, Ghostty, Warp, Kitty, Alacritty, WezTerm, and Agents UI. Covers performance, customization, splits, SSH, and which one to pick for your workflow.

· 9 min read

macOS Terminal Setup Guide: zsh, Customization & Essential Commands

A practical guide to the macOS terminal: how zsh works, the essential commands every Mac developer should know, customizing your prompt and shell, and the modern CLI tools that make the terminal a joy to use.

· 6 min read

Terminal Multiplexer vs Modern Terminal Emulator: Do You Still Need tmux?

A practical comparison of terminal multiplexers like tmux and zellij versus modern terminal emulators with built-in session management, splits, and AI agent support.

· 5 min read

AI Agent Handoffs: How to Preserve Context Between Sessions

A practical system for handing work from one AI coding session to another without re-explaining the codebase, losing state, or repeating mistakes.

· 11 min read

Warp Terminal Alternatives in 2026: What Developers Are Switching To

Looking for a Warp terminal alternative? We compare iTerm2, Kitty, Alacritty, Ghostty, and Agents UI — covering privacy, performance, AI agent support, and why developers are moving away from Warp.

· 8 min read

Managing Multiple AI Agent Sessions Without Losing Your Mind

Practical strategies for organizing multiple AI coding agent sessions — from terminal layouts and naming conventions to context isolation and project-based workflows.

· 15 min read

Persistent Terminal Sessions: A Practical Guide to tmux and zellij

Learn how to keep terminal sessions alive across disconnects and reboots using tmux and zellij — with setup guides, key bindings, and workflow examples.

· 9 min read

Agents UI vs Warp vs iTerm2: Which Terminal for AI-First Development?

A detailed comparison of three macOS terminals for developers running AI coding agents — covering multi-session support, SSH workflows, persistence, and architecture.

· 7 min read

Best Terminal for AI Coding Agents in 2026

A practical comparison of terminal apps for running AI coding agents like Claude Code, Codex CLI, and Gemini CLI — from iTerm2 to Warp to Agents UI.

Try Agents UI

A native terminal for AI coding agents with persistent sessions, SSH workflows, and built-in editing.