summaryrefslogtreecommitdiff
path: root/app/xterm/vttests
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2012-04-14 09:02:47 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2012-04-14 09:02:47 +0000
commitd842c1980a3ba45a1f4ceb8b1634243925af1d1b (patch)
tree891e3a79cf94fc51c962b639b596e20e66117de9 /app/xterm/vttests
parent1efdc33441c7ed493e975730da70dbf2dbbb5333 (diff)
Update to xterm 278. Tested by mpi@, shadchin@
Diffstat (limited to 'app/xterm/vttests')
-rw-r--r--app/xterm/vttests/16colors.sh35
-rw-r--r--app/xterm/vttests/8colors.sh35
-rw-r--r--app/xterm/vttests/acolors.sh35
-rw-r--r--app/xterm/vttests/doublechars.sh35
-rw-r--r--app/xterm/vttests/dynamic.sh35
-rw-r--r--app/xterm/vttests/dynamic2.sh35
-rw-r--r--app/xterm/vttests/fonts.sh35
-rw-r--r--app/xterm/vttests/resize.sh35
-rw-r--r--app/xterm/vttests/title.sh35
9 files changed, 288 insertions, 27 deletions
diff --git a/app/xterm/vttests/16colors.sh b/app/xterm/vttests/16colors.sh
index f47337577..7d3e24676 100644
--- a/app/xterm/vttests/16colors.sh
+++ b/app/xterm/vttests/16colors.sh
@@ -1,14 +1,43 @@
#!/bin/sh
-# $XFree86: xc/programs/xterm/vttests/16colors.sh,v 1.5 2003/05/19 00:52:30 dickey Exp $
+# $XTermId: 16colors.sh,v 1.14 2011/12/11 16:21:22 tom Exp $
+# -----------------------------------------------------------------------------
+# this file is part of xterm
#
-# -- Thomas Dickey (1999/3/27)
+# Copyright 1999-2003,2011 by Thomas E. Dickey
+#
+# All Rights Reserved
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, sublicense, and/or sell copies of the Software, and to
+# permit persons to whom the Software is furnished to do so, subject to
+# the following conditions:
+#
+# The above copyright notice and this permission notice shall be included
+# in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+# IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
+# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+#
+# Except as contained in this notice, the name(s) of the above copyright
+# holders shall not be used in advertising or otherwise to promote the
+# sale, use or other dealings in this Software without prior written
+# authorization.
+# -----------------------------------------------------------------------------
# Show a simple 16-color test pattern. It is a little more confusing than
# 8colors.sh, since everything is abbreviated to fit on an 80-column line.
# The high (8-15) combinations for foreground or background are marked with
# a '+' sign.
ESC=""
-CMD='echo'
+CMD='/bin/echo'
OPT='-n'
SUF=''
TMP=/tmp/xterm$$
diff --git a/app/xterm/vttests/8colors.sh b/app/xterm/vttests/8colors.sh
index 10865f730..0bb53c00d 100644
--- a/app/xterm/vttests/8colors.sh
+++ b/app/xterm/vttests/8colors.sh
@@ -1,11 +1,40 @@
#!/bin/sh
-# $XFree86: xc/programs/xterm/vttests/8colors.sh,v 1.5 2003/05/19 00:52:30 dickey Exp $
+# $XTermId: 8colors.sh,v 1.14 2011/12/11 16:21:22 tom Exp $
+# -----------------------------------------------------------------------------
+# this file is part of xterm
#
-# -- Thomas Dickey (1999/3/27)
+# Copyright 1999-2003,2011 by Thomas E. Dickey
+#
+# All Rights Reserved
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, sublicense, and/or sell copies of the Software, and to
+# permit persons to whom the Software is furnished to do so, subject to
+# the following conditions:
+#
+# The above copyright notice and this permission notice shall be included
+# in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+# IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
+# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+#
+# Except as contained in this notice, the name(s) of the above copyright
+# holders shall not be used in advertising or otherwise to promote the
+# sale, use or other dealings in this Software without prior written
+# authorization.
+# -----------------------------------------------------------------------------
# Show a simple 8-color test pattern
ESC=""
-CMD='echo'
+CMD='/bin/echo'
OPT='-n'
SUF=''
TMP=/tmp/xterm$$
diff --git a/app/xterm/vttests/acolors.sh b/app/xterm/vttests/acolors.sh
index ea19a38f4..ff3900c33 100644
--- a/app/xterm/vttests/acolors.sh
+++ b/app/xterm/vttests/acolors.sh
@@ -1,11 +1,40 @@
#!/bin/sh
-# $XFree86: xc/programs/xterm/vttests/acolors.sh,v 1.2 2003/05/19 00:52:30 dickey Exp $
+# $XTermId: acolors.sh,v 1.7 2011/12/11 16:21:22 tom Exp $
+# -----------------------------------------------------------------------------
+# this file is part of xterm
#
-# -- Thomas Dickey (1999/3/27)
+# Copyright 2002-2003,2011 by Thomas E. Dickey
+#
+# All Rights Reserved
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, sublicense, and/or sell copies of the Software, and to
+# permit persons to whom the Software is furnished to do so, subject to
+# the following conditions:
+#
+# The above copyright notice and this permission notice shall be included
+# in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+# IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
+# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+#
+# Except as contained in this notice, the name(s) of the above copyright
+# holders shall not be used in advertising or otherwise to promote the
+# sale, use or other dealings in this Software without prior written
+# authorization.
+# -----------------------------------------------------------------------------
# Demonstrate the use of the control sequence for changing ANSI colors.
ESC=""
-CMD='echo'
+CMD='/bin/echo'
OPT='-n'
SUF=''
TMP=/tmp/xterm$$
diff --git a/app/xterm/vttests/doublechars.sh b/app/xterm/vttests/doublechars.sh
index dd032ae46..249da1606 100644
--- a/app/xterm/vttests/doublechars.sh
+++ b/app/xterm/vttests/doublechars.sh
@@ -1,7 +1,36 @@
#!/bin/sh
-# $XFree86: xc/programs/xterm/vttests/doublechars.sh,v 1.5 2003/05/19 00:52:30 dickey Exp $
+# $XTermId: doublechars.sh,v 1.17 2011/12/11 16:21:22 tom Exp $
+# -----------------------------------------------------------------------------
+# this file is part of xterm
#
-# -- Thomas Dickey (1999/7/7)
+# Copyright 1999-2003,2011 by Thomas E. Dickey
+#
+# All Rights Reserved
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, sublicense, and/or sell copies of the Software, and to
+# permit persons to whom the Software is furnished to do so, subject to
+# the following conditions:
+#
+# The above copyright notice and this permission notice shall be included
+# in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+# IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
+# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+#
+# Except as contained in this notice, the name(s) of the above copyright
+# holders shall not be used in advertising or otherwise to promote the
+# sale, use or other dealings in this Software without prior written
+# authorization.
+# -----------------------------------------------------------------------------
# Illustrate the use of double-size characters by drawing successive lines in
# the commonly used video attributes.
#
@@ -9,7 +38,7 @@
# the double-high lines will be split.
ESC=""
-CMD='echo'
+CMD='/bin/echo'
OPT='-n'
SUF=''
TMP=/tmp/xterm$$
diff --git a/app/xterm/vttests/dynamic.sh b/app/xterm/vttests/dynamic.sh
index e68ebbc6c..7f561c9bb 100644
--- a/app/xterm/vttests/dynamic.sh
+++ b/app/xterm/vttests/dynamic.sh
@@ -1,12 +1,41 @@
#!/bin/sh
-# $XFree86: xc/programs/xterm/vttests/dynamic.sh,v 1.5 2003/05/19 00:52:30 dickey Exp $
+# $XTermId: dynamic.sh,v 1.17 2011/12/11 16:21:22 tom Exp $
+# -----------------------------------------------------------------------------
+# this file is part of xterm
#
-# -- Thomas Dickey (1999/3/27)
+# Copyright 1999-2003,2011 by Thomas E. Dickey
+#
+# All Rights Reserved
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, sublicense, and/or sell copies of the Software, and to
+# permit persons to whom the Software is furnished to do so, subject to
+# the following conditions:
+#
+# The above copyright notice and this permission notice shall be included
+# in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+# IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
+# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+#
+# Except as contained in this notice, the name(s) of the above copyright
+# holders shall not be used in advertising or otherwise to promote the
+# sale, use or other dealings in this Software without prior written
+# authorization.
+# -----------------------------------------------------------------------------
# Demonstrate the use of dynamic colors by setting the background successively
# to different values.
ESC=""
-CMD='echo'
+CMD='/bin/echo'
OPT='-n'
SUF=''
TMP=/tmp/xterm$$
diff --git a/app/xterm/vttests/dynamic2.sh b/app/xterm/vttests/dynamic2.sh
index e099af0c8..36748a60d 100644
--- a/app/xterm/vttests/dynamic2.sh
+++ b/app/xterm/vttests/dynamic2.sh
@@ -1,12 +1,41 @@
#!/bin/sh
-# $XTermId: dynamic2.sh,v 1.1 2006/10/17 20:37:21 tom Exp $
+# $XTermId: dynamic2.sh,v 1.3 2011/12/11 16:21:22 tom Exp $
+# -----------------------------------------------------------------------------
+# this file is part of xterm
#
-# -- Thomas Dickey (2006/10/17)
+# Copyright 2006,2011 by Thomas E. Dickey
+#
+# All Rights Reserved
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, sublicense, and/or sell copies of the Software, and to
+# permit persons to whom the Software is furnished to do so, subject to
+# the following conditions:
+#
+# The above copyright notice and this permission notice shall be included
+# in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+# IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
+# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+#
+# Except as contained in this notice, the name(s) of the above copyright
+# holders shall not be used in advertising or otherwise to promote the
+# sale, use or other dealings in this Software without prior written
+# authorization.
+# -----------------------------------------------------------------------------
# Demonstrate the use of dynamic colors by setting each dynamic color
# successively to different values.
ESC=""
-CMD='echo'
+CMD='/bin/echo'
OPT='-n'
SUF=''
TMP=/tmp/xterm$$
diff --git a/app/xterm/vttests/fonts.sh b/app/xterm/vttests/fonts.sh
index 5dd9e29f0..c9e7657a7 100644
--- a/app/xterm/vttests/fonts.sh
+++ b/app/xterm/vttests/fonts.sh
@@ -1,12 +1,41 @@
#!/bin/sh
-# $XFree86: xc/programs/xterm/vttests/fonts.sh,v 1.4 2003/05/19 00:52:30 dickey Exp $
+# $XTermId: fonts.sh,v 1.11 2011/12/11 16:21:22 tom Exp $
+# -----------------------------------------------------------------------------
+# this file is part of xterm
#
-# -- Thomas Dickey (1999/3/27)
+# Copyright 1999-2003,2011 by Thomas E. Dickey
+#
+# All Rights Reserved
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, sublicense, and/or sell copies of the Software, and to
+# permit persons to whom the Software is furnished to do so, subject to
+# the following conditions:
+#
+# The above copyright notice and this permission notice shall be included
+# in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+# IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
+# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+#
+# Except as contained in this notice, the name(s) of the above copyright
+# holders shall not be used in advertising or otherwise to promote the
+# sale, use or other dealings in this Software without prior written
+# authorization.
+# -----------------------------------------------------------------------------
# Demonstrate the use of dynamic colors by setting the background successively
# to different values.
ESC=""
-CMD='echo'
+CMD='/bin/echo'
OPT='-n'
SUF=''
TMP=/tmp/xterm$$
diff --git a/app/xterm/vttests/resize.sh b/app/xterm/vttests/resize.sh
index 004574949..30ff28458 100644
--- a/app/xterm/vttests/resize.sh
+++ b/app/xterm/vttests/resize.sh
@@ -1,12 +1,41 @@
#!/bin/sh
-# $XFree86: xc/programs/xterm/vttests/resize.sh,v 1.5 2003/05/19 00:52:30 dickey Exp $
+# $XTermId: resize.sh,v 1.17 2011/12/11 16:21:22 tom Exp $
+# -----------------------------------------------------------------------------
+# this file is part of xterm
#
-# -- Thomas Dickey (1999/3/27)
+# Copyright 1999-2003,2011 by Thomas E. Dickey
+#
+# All Rights Reserved
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, sublicense, and/or sell copies of the Software, and to
+# permit persons to whom the Software is furnished to do so, subject to
+# the following conditions:
+#
+# The above copyright notice and this permission notice shall be included
+# in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+# IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
+# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+#
+# Except as contained in this notice, the name(s) of the above copyright
+# holders shall not be used in advertising or otherwise to promote the
+# sale, use or other dealings in this Software without prior written
+# authorization.
+# -----------------------------------------------------------------------------
# Obtain the current screen size, then resize the terminal to the nominal
# screen width/height, and restore the size.
ESC=""
-CMD='echo'
+CMD='/bin/echo'
OPT='-n'
SUF=''
TMP=/tmp/xterm$$
diff --git a/app/xterm/vttests/title.sh b/app/xterm/vttests/title.sh
index af3807783..cc35ac022 100644
--- a/app/xterm/vttests/title.sh
+++ b/app/xterm/vttests/title.sh
@@ -1,12 +1,41 @@
#!/bin/sh
-# $XFree86: xc/programs/xterm/vttests/title.sh,v 1.6 2003/05/19 00:52:30 dickey Exp $
+# $XTermId: title.sh,v 1.18 2011/12/11 16:21:22 tom Exp $
+# -----------------------------------------------------------------------------
+# this file is part of xterm
#
-# -- Thomas Dickey (1999/3/27)
+# Copyright 1999-2003,2011 by Thomas E. Dickey
+#
+# All Rights Reserved
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, sublicense, and/or sell copies of the Software, and to
+# permit persons to whom the Software is furnished to do so, subject to
+# the following conditions:
+#
+# The above copyright notice and this permission notice shall be included
+# in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+# IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
+# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+#
+# Except as contained in this notice, the name(s) of the above copyright
+# holders shall not be used in advertising or otherwise to promote the
+# sale, use or other dealings in this Software without prior written
+# authorization.
+# -----------------------------------------------------------------------------
# Obtain the current title of the window, set up a simple clock which runs
# until this script is interrupted, then restore the title.
ESC=""
-CMD='echo'
+CMD='/bin/echo'
OPT='-n'
SUF=''
TMP=/tmp/xterm$$