Nathan Whitehorn 4c8945a06b Update dialog to version 20100428. This changes the license under which
dialog is distributed from GPLv2 to LGPLv2 and introduces a number of new
features and a new and better libdialog API. The existing libdialog will
be kept temporarily as libodialog for compatibility purposes until sade,
sysinstall and tzsetup have been either updated or replaced.

__FreeBSD_version is now 900030.

Discussed on:	-current
Approved by:	core
Obtained from:	http://invisible-island.net/dialog
2011-01-12 14:55:02 +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