freebsd-skq/contrib/dialog/samples/testdata-8bit
Nathan Whitehorn 1971864966 Revert r241818 that updated dialog to 20120706. This turns out to horribly
break mixed form dialogs in conjunction with the FreeBSD termcap, making
the bsdinstall partition editor Add dialog, among other things, completely
nonfunctional. This restores dialog 20110707.
2012-12-30 04:22:34 +00:00

40 lines
637 B
Bash
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/sh
# $Id: testdata-8bit,v 1.1 2004/12/19 16:19:12 tom Exp $
# Select one of the "SAMPLE=" lines, to test handling of characters which
# are nonprinting in a POSIX locale:
case .$1 in
# C1 controls
.8)
SAMPLE="€<>ƒ„…†‡ˆ‰ŠŒ<E280B9>Ž<EFBFBD>"
;;
.9)
SAMPLE="<22>“”•˜™šœ<E280BA>žŸ"
;;
# Latin-1
.[aA])
SAMPLE=" ¡¢£¤¥¦§¨©ª«¬­®¯"
;;
.[bB])
SAMPLE="°±²³´µ¶·¸¹º»¼½¾¿"
;;
.[cC])
SAMPLE="ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏ"
;;
.[dD])
SAMPLE="ÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞß"
;;
.[eE])
SAMPLE="àáâãäåæçèéêëìíîï"
;;
.[fF])
SAMPLE="ðñòóôõö÷øùúûüýþÿ"
;;
*)
# C0 controls (except a few which are always treated specially by curses):
SAMPLE=" "
;;
esac