Skip to content

Commit aba8592

Browse files
committed
installer/portable: include terminfo for GNU screen and tmux
While Git for Windows does not ship with GNU screen nor tmux (commands that allow you to multiplex several command line sessions into a single terminal window), the use case seems to be common enough to at least support it by shipping the necessary terminfo files. This makes it possible to extract tmux.exe, say, from tmux-git-2.5.94.g73b9328c-1-x86_64.pkg.tar.xz and msys-event-2-1-6.dll from libevent-2.1.8-1-x86_64.pkg.tar.xz (both files can be downloaded from http://repo.msys2.org/msys/x86_64/) to $HOME/bin/ and then use tmux.exe from within Git Bash. It would be a lot more inconvenient if the user then would also have to download ncurses-6.0.20170708-2-x86_64.pkg.tar.xz and extract /usr/share/terminfo/73/screen into Git for Windows's root directory (which is typically only writable by administrators). Those screen terminfo files weigh in with a grand total of just over 200kB unpacked (and just under 10kB compressed), meaning that there is little cost to accommodate those use cases, either. This closes git-for-windows/git#1341 Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 6167960 commit aba8592

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

make-file-list.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ else
209209
-e "^\\($(echo $EXTRA_FILE_EXCLUDES |
210210
sed 's/ /\\|/g')\\)\$"
211211
fi | sort |
212-
grep --perl-regexp -v -e '^/usr/(lib|share)/terminfo/(?!.*/(cygwin|dumb|xterm.*)$)' |
212+
grep --perl-regexp -v -e '^/usr/(lib|share)/terminfo/(?!.*/(cygwin|dumb|screen.*|xterm.*)$)' |
213213
sed 's/^\///'
214214

215215
test -z "$PACKAGE_VERSIONS_FILE" ||

0 commit comments

Comments
 (0)