xref: /freebsd/contrib/dialog/samples/setup-vars (revision f4b37ed0f8b307b1f3f0f630ca725d68f1dff30d)
1#!/bin/sh
2# $Id: setup-vars,v 1.3 2012/06/29 09:52:26 tom Exp $
3# vile:shmode
4
5# These symbols are defined to use in the sample shell scripts to make them
6# more readable.  But they are (intentionally) not exported.  If they were
7# exported, they would also be visible in the dialog program (a subprocess).
8
9: ${DIALOG=dialog}
10
11: ${DIALOG_OK=0}
12: ${DIALOG_CANCEL=1}
13: ${DIALOG_HELP=2}
14: ${DIALOG_EXTRA=3}
15: ${DIALOG_ITEM_HELP=4}
16: ${DIALOG_ESC=255}
17
18: ${SIG_NONE=0}
19: ${SIG_HUP=1}
20: ${SIG_INT=2}
21: ${SIG_QUIT=3}
22: ${SIG_KILL=9}
23: ${SIG_TERM=15}
24