xref: /freebsd/contrib/dialog/samples/inputbox6-8bit (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1#!/bin/sh
2# $Id: inputbox6-8bit,v 1.8 2020/11/26 00:03:58 tom Exp $
3
4. ./setup-vars
5
6. ./setup-tempfile
7
8. ./testdata-8bit
9
10$DIALOG \
11--title    "`printf '%s' "$SAMPLE"`" "$@" \
12--inputbox "`printf '%s' "$SAMPLE"`" \
1310 40      "`printf '%s' "$SAMPLE"`" 2>$tempfile
14
15returncode=$?
16
17. ./report-tempfile
18