head	1.4;
access;
symbols
	RELENG_9_1_0_RELEASE:1.1
	RELENG_9_1:1.1.0.6
	RELENG_9_1_BP:1.1
	RELENG_9_0_0_RELEASE:1.1
	RELENG_9_0:1.1.0.4
	RELENG_9_0_BP:1.1
	RELENG_9:1.1.0.2
	RELENG_9_BP:1.1
	RELENG_8_BP:1.1;
locks; strict;
comment	@# @;


1.4
date	2013.06.18.00.33.05;	author svnexp;	state Exp;
branches;
next	1.3;

1.3
date	2012.12.30.06.03.14;	author svnexp;	state Exp;
branches;
next	1.2;

1.2
date	2012.10.21.18.25.12;	author nwhitehorn;	state Exp;
branches;
next	1.1;

1.1
date	2011.01.12.14.55.02;	author nwhitehorn;	state Exp;
branches;
next	;


desc
@@


1.4
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/251843
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@#!/bin/sh
# $Id: report-tempfile,v 1.4 2012/06/29 09:29:47 tom Exp $
# Report results in a temporary-file.
# vile:shmode

case $retval in
  $DIALOG_OK)
    echo "Result: `cat $tempfile`";;
  $DIALOG_CANCEL)
    echo "Cancel pressed.";;
  $DIALOG_HELP)
    echo "Help pressed.";;
  $DIALOG_EXTRA)
    echo "Extra button pressed.";;
  $DIALOG_ITEM_HELP)
    echo "Item-help button pressed.";;
  $DIALOG_ESC)
    if test -s $tempfile ; then
      cat $tempfile
    else
      echo "ESC pressed."
    fi
    ;;
esac
@


1.3
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/244850
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 2
a2 1
# $Id: report-tempfile,v 1.3 2010/01/13 09:59:05 tom Exp $
@


1.2
log
@SVN rev 241818 on 2012-10-21 18:25:12Z by nwhitehorn

Update dialog to 20120706: includes minor useability enhancements and
fixes for warnings encountered with clang.
@
text
@d1 1
a1 2
#!/bin/sh
# $Id: report-tempfile,v 1.4 2012/06/29 09:29:47 tom Exp $
@


1.1
log
@SVN rev 217309 on 2011-01-12 14:55:02Z by nwhitehorn

Update dialog to version 20100428. This changes the license under which
dialog is distributed from GPLv2 to LGPLv2 and introduces a number of new
features and a new and better libdialog API. The existing libdialog will
be kept temporarily as libodialog for compatibility purposes until sade,
sysinstall and tzsetup have been either updated or replaced.

__FreeBSD_version is now 900030.

Discussed on:	-current
Approved by:	core
Obtained from:	http://invisible-island.net/dialog
@
text
@d1 2
a2 1
# $Id: report-tempfile,v 1.3 2010/01/13 09:59:05 tom Exp $
@

