Commits

trunk
Switch branches/tags
All users
All time
April 2026
Su Mo Tu We Th Fr Sa
29 30 31 1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 1 2
3 4 5 6 7 8 9

Commits on April 5, 2026

  1. extract utility modules
    keys.py — 60+ VT100/xterm key definitions (100% shell-agnostic)
    matchers.py — output matching library (exact, regex, contains, etc.)
    
    Verbatim copies, no changes needed.
    
    Source: fortsh/tests/interactive/utils/
    espadonne committed
  2. extract test runner from fortsh
    Verbatim copy of run_tests.py with identifier renames:
      FortshPTY -> ShellPTY, fortsh_path -> shell_path
      --fortsh -> --shell, find_fortsh_binary -> find_shell_binary
      Local variable fortsh -> shell throughout
    
    Removed hardcoded fortsh binary search paths — bensch requires
    explicit --shell argument.
    
    Source: fortsh/tests/interactive/run_tests.py
    espadonne committed
  3. extract PTY engine from fortsh
    Verbatim copy of fortsh_pty.py with identifier renames:
      FortshPTY -> ShellPTY
      FortshTestSession -> ShellTestSession
      fortsh_path -> shell_path
      ___FORTSH_CMD_END___ -> ___BENSCH_CMD_END___
    
    Shell-specific env vars (FORTSH_MINIMAL_ECHO, FORTSH_TEST_MODE,
    FORTSH_RC_FILE) retained — will be profile-driven in Phase 4.
    
    Source: fortsh/tests/interactive/fortsh_pty.py
    espadonne committed