1217309Snwhitehorn#!/bin/sh
2251843Sbapt# $Id: testdata-8bit,v 1.2 2011/10/16 23:26:32 tom Exp $
3217309Snwhitehorn
4217309Snwhitehorn# Select one of the "SAMPLE=" lines, to test handling of characters which
5217309Snwhitehorn# are nonprinting in a POSIX locale:
6217309Snwhitehorn
7217309Snwhitehorncase .$1 in
8217309Snwhitehorn	# C1 controls
9217309Snwhitehorn.8)
10217309Snwhitehorn	SAMPLE="����������������"
11217309Snwhitehorn	;;
12217309Snwhitehorn.9)
13217309Snwhitehorn	SAMPLE="����������������"
14217309Snwhitehorn	;;
15217309Snwhitehorn
16217309Snwhitehorn# Latin-1
17217309Snwhitehorn.[aA])
18217309Snwhitehorn	SAMPLE="����������������"
19217309Snwhitehorn	;;
20217309Snwhitehorn.[bB])
21217309Snwhitehorn	SAMPLE="����������������"
22217309Snwhitehorn	;;
23217309Snwhitehorn.[cC])
24217309Snwhitehorn	SAMPLE="����������������"
25217309Snwhitehorn	;;
26217309Snwhitehorn.[dD])
27217309Snwhitehorn	SAMPLE="����������������"
28217309Snwhitehorn	;;
29217309Snwhitehorn.[eE])
30217309Snwhitehorn	SAMPLE="����������������"
31217309Snwhitehorn	;;
32217309Snwhitehorn.[fF])
33217309Snwhitehorn	SAMPLE="����������������"
34217309Snwhitehorn	;;
35217309Snwhitehorn*)
36217309Snwhitehorn	# C0 controls (except a few which are always treated specially by curses):
37217309Snwhitehorn	SAMPLE=""
38217309Snwhitehorn	;;
39217309Snwhitehornesac
40251843Sbapt
41251843Sbapt# This script is source'd from other scripts, and uses the parameter list from
42251843Sbapt# those explicitly.  But they may use the parameter list later, to set options
43251843Sbapt# specially for dialog.  Work around the conflicting uses by removing the
44251843Sbapt# parameter which we just used to select a set of data.
45251843Sbaptif test $# != 0
46251843Sbaptthen
47251843Sbapt	shift 1
48251843Sbaptfi
49