Current Terminal Screen:
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
Overhead available: -89516 bytes for positioning
  Per change: -0.57 bytes
root@f3f8d6319494:/app# python3 << 'EOF'
> import struct
>
> with open('/app/frames.tza', 'rb') as f:
>     f.read(4)
>     w, h = struct.unpack('<HH', f.read(4))
>     n_frames, max_bytes = struct.unpack('<II', f.read(8))
>     print(f'w={w}, h={h}, n_frames={n_frames}, max_bytes={max_bytes}')
>     print(f'Bytes per frame: {w*h}')
>     print(f'Total raw bytes: {n_frames * w * h}')
>     print(f'Budget per frame: {max_bytes / n_frames:.2f}')
>
>     # Read first few frames
>     frames = [f.read(w*h) for _ in range(min(5, n_frames))]
>
>     # Check if frames are delta-encoded or something
>     print(f'\nFrame 0 first 20 bytes: {frames[0][:20]}')
>     print(f'Frame 1 first 20 bytes: {frames[1][:20]}')
>     print(f'Frame 2 first 20 bytes: {frames[2][:20]}')
>
>     # Count unique chars in frame 0
>     unique_chars = set(frames[0])
>     print(f'\nUnique chars in frame 0: {len(unique_chars)}')
>     print(f'Chars: {[chr(c) for c in sorted(unique_chars) if 32 <= c <= 126]}')
> EOF
w=80, h=24, n_frames=1200, max_bytes=69000
Bytes per frame: 1920
Total raw bytes: 2304000
Budget per frame: 57.50

Frame 0 first 20 bytes: b'TermZip-ANSI / Tiny-'
Frame 1 first 20 bytes: b'TermZip-ANSI / Tiny-'
Frame 2 first 20 bytes: b'TermZip-ANSI / Tiny-'

Unique chars in frame 0: 50
Chars: [' ', '(', ')', '+', '-', '/', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '=', 'A', 'B', 'C', 'F', 'I', 'N', 'S', 'T', 'Z', '[', ']', 'a', 'b', 'c
', 'd', 'e', 'f', 'g', 'h', 'i', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'x', 'y', '|']
root@f3f8d6319494:/app#
