xref: /freebsd/contrib/dialog/samples/setup-vars (revision 2a3e3873a1e4cd958f2b0f85d3b10cfa40575d30)
1*2a3e3873SBaptiste Daroussin#!/bin/sh
2*2a3e3873SBaptiste Daroussin# $Id: setup-vars,v 1.3 2012/06/29 09:52:26 tom Exp $
34c8945a0SNathan Whitehorn# vile:shmode
44c8945a0SNathan Whitehorn
57a1c0d96SNathan Whitehorn# These symbols are defined to use in the sample shell scripts to make them
67a1c0d96SNathan Whitehorn# more readable.  But they are (intentionally) not exported.  If they were
77a1c0d96SNathan Whitehorn# exported, they would also be visible in the dialog program (a subprocess).
87a1c0d96SNathan Whitehorn
94c8945a0SNathan Whitehorn: ${DIALOG=dialog}
104c8945a0SNathan Whitehorn
114c8945a0SNathan Whitehorn: ${DIALOG_OK=0}
124c8945a0SNathan Whitehorn: ${DIALOG_CANCEL=1}
134c8945a0SNathan Whitehorn: ${DIALOG_HELP=2}
144c8945a0SNathan Whitehorn: ${DIALOG_EXTRA=3}
154c8945a0SNathan Whitehorn: ${DIALOG_ITEM_HELP=4}
164c8945a0SNathan Whitehorn: ${DIALOG_ESC=255}
17*2a3e3873SBaptiste Daroussin
18*2a3e3873SBaptiste Daroussin: ${SIG_NONE=0}
19*2a3e3873SBaptiste Daroussin: ${SIG_HUP=1}
20*2a3e3873SBaptiste Daroussin: ${SIG_INT=2}
21*2a3e3873SBaptiste Daroussin: ${SIG_QUIT=3}
22*2a3e3873SBaptiste Daroussin: ${SIG_KILL=9}
23*2a3e3873SBaptiste Daroussin: ${SIG_TERM=15}
24