From 6fbb953aa4509c9c54910e8b059169c1b08c72bd Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 22 May 2018 23:18:11 +0530 Subject: [PATCH] Add a note about needing a temp file for tic --- kittens/ssh/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kittens/ssh/main.py b/kittens/ssh/main.py index 28a873453..c39394685 100644 --- a/kittens/ssh/main.py +++ b/kittens/ssh/main.py @@ -7,6 +7,8 @@ import sys SHELL_SCRIPT = '''\ #!/bin/sh +# macOS ships with an ancient version of tic that cannot read from stdin, so we +# create a temp file for it tmp=$(mktemp /tmp/terminfo.XXXXXX) cat >$tmp << 'TERMEOF' TERMINFO