168 lines
13 KiB
Diff
168 lines
13 KiB
Diff
|
From a843584fc210219a62472305d924de44ebb0ab02 Mon Sep 17 00:00:00 2001
|
|||
|
From: Daiki Ueno <ueno@gnu.org>
|
|||
|
Date: Wed, 15 Oct 2014 12:37:45 +0900
|
|||
|
Subject: [PATCH] tests: Support newer ncurses with italic caps in xterm
|
|||
|
terminfo
|
|||
|
|
|||
|
* tests/test-term-ostream-xterm-basic-italic.out: New file.
|
|||
|
* tests/test-term-ostream-xterm: Use it as possible test result.
|
|||
|
* Makefile.am (EXTRA_DIST): Add new files.
|
|||
|
Needed for ncurses >= 5.9-20140906 that defines sitm/ritm in the
|
|||
|
xterm-basic terminfo definition.
|
|||
|
---
|
|||
|
gnulib-local/ChangeLog | 8 ++
|
|||
|
gnulib-local/Makefile.am | 1 +
|
|||
|
gnulib-local/tests/test-term-ostream-xterm | 1 +
|
|||
|
.../tests/test-term-ostream-xterm-basic-italic.out | 131 +++++++++++++++++++++
|
|||
|
4 files changed, 141 insertions(+)
|
|||
|
create mode 100644 gnulib-local/tests/test-term-ostream-xterm-basic-italic.out
|
|||
|
|
|||
|
Index: gettext-0.19.2/gettext-tools/gnulib-tests/test-term-ostream-xterm-basic-italic.out
|
|||
|
===================================================================
|
|||
|
--- /dev/null
|
|||
|
+++ gettext-0.19.2/gettext-tools/gnulib-tests/test-term-ostream-xterm-basic-italic.out
|
|||
|
@@ -0,0 +1,131 @@
|
|||
|
+Colors (foreground/background):
|
|||
|
+ |black |blue |green |cyan |red |magenta|yellow |white |default
|
|||
|
+black |[30m[40m Words [39;49m|[30m[44m Words [39;49m|[30m[42m Words [39;49m|[30m[46m Words [39;49m|[30m[41m Words [39;49m|[30m[45m Words [39;49m|[30m[43m Words [39;49m|[30m[47m Words [39;49m|[30m Words [39;49m
|
|||
|
+blue |[34m[40m Words [39;49m|[34m[44m Words [39;49m|[34m[42m Words [39;49m|[34m[46m Words [39;49m|[34m[41m Words [39;49m|[34m[45m Words [39;49m|[34m[43m Words [39;49m|[34m[47m Words [39;49m|[34m Words [39;49m
|
|||
|
+green |[32m[40m Words [39;49m|[32m[44m Words [39;49m|[32m[42m Words [39;49m|[32m[46m Words [39;49m|[32m[41m Words [39;49m|[32m[45m Words [39;49m|[32m[43m Words [39;49m|[32m[47m Words [39;49m|[32m Words [39;49m
|
|||
|
+cyan |[36m[40m Words [39;49m|[36m[44m Words [39;49m|[36m[42m Words [39;49m|[36m[46m Words [39;49m|[36m[41m Words [39;49m|[36m[45m Words [39;49m|[36m[43m Words [39;49m|[36m[47m Words [39;49m|[36m Words [39;49m
|
|||
|
+red |[31m[40m Words [39;49m|[31m[44m Words [39;49m|[31m[42m Words [39;49m|[31m[46m Words [39;49m|[31m[41m Words [39;49m|[31m[45m Words [39;49m|[31m[43m Words [39;49m|[31m[47m Words [39;49m|[31m Words [39;49m
|
|||
|
+magenta|[35m[40m Words [39;49m|[35m[44m Words [39;49m|[35m[42m Words [39;49m|[35m[46m Words [39;49m|[35m[41m Words [39;49m|[35m[45m Words [39;49m|[35m[43m Words [39;49m|[35m[47m Words [39;49m|[35m Words [39;49m
|
|||
|
+yellow |[33m[40m Words [39;49m|[33m[44m Words [39;49m|[33m[42m Words [39;49m|[33m[46m Words [39;49m|[33m[41m Words [39;49m|[33m[45m Words [39;49m|[33m[43m Words [39;49m|[33m[47m Words [39;49m|[33m Words [39;49m
|
|||
|
+white |[37m[40m Words [39;49m|[37m[44m Words [39;49m|[37m[42m Words [39;49m|[37m[46m Words [39;49m|[37m[41m Words [39;49m|[37m[45m Words [39;49m|[37m[43m Words [39;49m|[37m[47m Words [39;49m|[37m Words [39;49m
|
|||
|
+default|[40m Words [39;49m|[44m Words [39;49m|[42m Words [39;49m|[46m Words [39;49m|[41m Words [39;49m|[45m Words [39;49m|[43m Words [39;49m|[47m Words [39;49m| Words
|
|||
|
+
|
|||
|
+Colors (hue/saturation):
|
|||
|
+[41m [47m [39;49m
|
|||
|
+[41m [47m [39;49m
|
|||
|
+[41m [47m [39;49m
|
|||
|
+[41m [47m [39;49m
|
|||
|
+[41m [47m [39;49m
|
|||
|
+[41m [47m [39;49m
|
|||
|
+[41m [47m [39;49m
|
|||
|
+[41m [47m [39;49m
|
|||
|
+[41m [47m [39;49m
|
|||
|
+[43m [47m [39;49m
|
|||
|
+[43m [47m [39;49m
|
|||
|
+[43m [47m [39;49m
|
|||
|
+[43m [47m [39;49m
|
|||
|
+[43m [47m [39;49m
|
|||
|
+[43m [47m [39;49m
|
|||
|
+[43m [47m [39;49m
|
|||
|
+[43m [47m [39;49m
|
|||
|
+[43m [47m [39;49m
|
|||
|
+[43m [47m [39;49m
|
|||
|
+[43m [47m [39;49m
|
|||
|
+[43m [47m [39;49m
|
|||
|
+[43m [47m [39;49m
|
|||
|
+[43m [47m [39;49m
|
|||
|
+[43m [47m [39;49m
|
|||
|
+[43m [47m [39;49m
|
|||
|
+[43m [47m [39;49m
|
|||
|
+[43m [47m [39;49m
|
|||
|
+[42m [47m [39;49m
|
|||
|
+[42m [47m [39;49m
|
|||
|
+[42m [47m [39;49m
|
|||
|
+[42m [47m [39;49m
|
|||
|
+[42m [47m [39;49m
|
|||
|
+[42m [47m [39;49m
|
|||
|
+[42m [47m [39;49m
|
|||
|
+[42m [47m [39;49m
|
|||
|
+[42m [47m [39;49m
|
|||
|
+[42m [47m [39;49m
|
|||
|
+[42m [47m [39;49m
|
|||
|
+[42m [47m [39;49m
|
|||
|
+[42m [47m [39;49m
|
|||
|
+[42m [47m [39;49m
|
|||
|
+[42m [47m [39;49m
|
|||
|
+[42m [47m [39;49m
|
|||
|
+[42m [47m [39;49m
|
|||
|
+[42m [47m [39;49m
|
|||
|
+[46m [47m [39;49m
|
|||
|
+[46m [47m [39;49m
|
|||
|
+[46m [47m [39;49m
|
|||
|
+[46m [47m [39;49m
|
|||
|
+[46m [47m [39;49m
|
|||
|
+[46m [47m [39;49m
|
|||
|
+[46m [47m [39;49m
|
|||
|
+[46m [47m [39;49m
|
|||
|
+[46m [47m [39;49m
|
|||
|
+[46m [47m [39;49m
|
|||
|
+[46m [47m [39;49m
|
|||
|
+[46m [47m [39;49m
|
|||
|
+[46m [47m [39;49m
|
|||
|
+[46m [47m [39;49m
|
|||
|
+[46m [47m [39;49m
|
|||
|
+[46m [47m [39;49m
|
|||
|
+[46m [47m [39;49m
|
|||
|
+[46m [47m [39;49m
|
|||
|
+[44m [47m [39;49m
|
|||
|
+[44m [47m [39;49m
|
|||
|
+[44m [47m [39;49m
|
|||
|
+[44m [47m [39;49m
|
|||
|
+[44m [47m [39;49m
|
|||
|
+[44m [47m [39;49m
|
|||
|
+[44m [47m [39;49m
|
|||
|
+[44m [47m [39;49m
|
|||
|
+[44m [47m [39;49m
|
|||
|
+[44m [47m [39;49m
|
|||
|
+[44m [47m [39;49m
|
|||
|
+[44m [47m [39;49m
|
|||
|
+[44m [47m [39;49m
|
|||
|
+[44m [47m [39;49m
|
|||
|
+[44m [47m [39;49m
|
|||
|
+[44m [47m [39;49m
|
|||
|
+[44m [47m [39;49m
|
|||
|
+[44m [47m [39;49m
|
|||
|
+[45m [47m [39;49m
|
|||
|
+[45m [47m [39;49m
|
|||
|
+[45m [47m [39;49m
|
|||
|
+[45m [47m [39;49m
|
|||
|
+[45m [47m [39;49m
|
|||
|
+[45m [47m [39;49m
|
|||
|
+[45m [47m [39;49m
|
|||
|
+[45m [47m [39;49m
|
|||
|
+[45m [47m [39;49m
|
|||
|
+[45m [47m [39;49m
|
|||
|
+[45m [47m [39;49m
|
|||
|
+[45m [47m [39;49m
|
|||
|
+[45m [47m [39;49m
|
|||
|
+[45m [47m [39;49m
|
|||
|
+[45m [47m [39;49m
|
|||
|
+[45m [47m [39;49m
|
|||
|
+[45m [47m [39;49m
|
|||
|
+[45m [47m [39;49m
|
|||
|
+[41m [47m [39;49m
|
|||
|
+[41m [47m [39;49m
|
|||
|
+[41m [47m [39;49m
|
|||
|
+[41m [47m [39;49m
|
|||
|
+[41m [47m [39;49m
|
|||
|
+[41m [47m [39;49m
|
|||
|
+[41m [47m [39;49m
|
|||
|
+[41m [47m [39;49m
|
|||
|
+[41m [47m [39;49m
|
|||
|
+
|
|||
|
+Weights:
|
|||
|
+normal, [1mbold, (B[mdefault
|
|||
|
+
|
|||
|
+Postures:
|
|||
|
+normal, [3mitalic, [23mdefault
|
|||
|
+
|
|||
|
+Text decorations:
|
|||
|
+normal, [4munderlined, [24mdefault
|
|||
|
+
|
|||
|
Index: gettext-0.19.2/gettext-tools/gnulib-tests/test-term-ostream-xterm
|
|||
|
===================================================================
|
|||
|
--- gettext-0.19.2.orig/gettext-tools/gnulib-tests/test-term-ostream-xterm
|
|||
|
+++ gettext-0.19.2/gettext-tools/gnulib-tests/test-term-ostream-xterm
|
|||
|
@@ -22,6 +22,7 @@ LC_ALL=C tr -d '\r' < out1 > out
|
|||
|
${DIFF} ${srcdir}/test-term-ostream-xterm-r6.out out > /dev/null \
|
|||
|
|| ${DIFF} ${srcdir}/test-term-ostream-xterm-xf86-v32.out out > /dev/null \
|
|||
|
|| ${DIFF} ${srcdir}/test-term-ostream-xterm-basic.out out > /dev/null \
|
|||
|
+|| ${DIFF} ${srcdir}/test-term-ostream-xterm-basic-italic.out out > /dev/null \
|
|||
|
|| ${DIFF} ${srcdir}/test-term-ostream-xterm-8bit.out out > /dev/null \
|
|||
|
|| ${DIFF} ${srcdir}/test-term-ostream-xterm-linux-debian.out out > /dev/null \
|
|||
|
|| ${DIFF} ${srcdir}/test-term-ostream-xterm-linux-mandriva.out out > /dev/null \
|