xref: /freebsd/contrib/bsddialog/examples_utility/mixedform.sh (revision f499134dd403eeeba8283e2640e2654c8da62430)
1*f499134dSBaptiste Daroussin#!/bin/sh
2*f499134dSBaptiste Daroussin#-
3*f499134dSBaptiste Daroussin# SPDX-License-Identifier: CC0-1.0
4*f499134dSBaptiste Daroussin#
5*f499134dSBaptiste Daroussin# Written in 2021 by Alfonso Sabato Siciliano.
6*f499134dSBaptiste Daroussin# To the extent possible under law, the author has dedicated all copyright
7*f499134dSBaptiste Daroussin# and related and neighboring rights to this software to the public domain
8*f499134dSBaptiste Daroussin# worldwide. This software is distributed without any warranty, see:
9*f499134dSBaptiste Daroussin# <http://creativecommons.org/publicdomain/zero/1.0/>.
10*f499134dSBaptiste Daroussin
11*f499134dSBaptiste Daroussin./bsddialog --insecure --title " mixedform " --mixedform "Hello World!" 12 40 5 \
12*f499134dSBaptiste Daroussin	Label:    1	1	Entry		1	11	18	25	0 \
13*f499134dSBaptiste Daroussin	Label:    2	1	Read-Only	2	11	18	25	2 \
14*f499134dSBaptiste Daroussin	Password: 3	1	Value2		3	11	18	25	1 \
15*f499134dSBaptiste Daroussin	2>out.txt ; cat out.txt ; rm out.txt
16