xref: /freebsd/contrib/dialog/samples/setup-edit (revision c6879c6c14eedbd060ba588a3129a6c60ebbe783)
12a3e3873SBaptiste Daroussin#!/bin/sh
2*f4f33ea0SBaptiste Daroussin# $Id: setup-edit,v 1.3 2016/01/26 22:42:44 tom Exp $
34c8945a0SNathan Whitehorn# vile:shmode
44c8945a0SNathan Whitehorn
54c8945a0SNathan Whitehorninput=`tempfile 2>/dev/null` || input=/tmp/input$$
64c8945a0SNathan Whitehornoutput=`tempfile 2>/dev/null` || output=/tmp/test$$
7*f4f33ea0SBaptiste Daroussintrap "rm -f $input $output" $SIG_NONE $SIG_HUP $SIG_INT $SIG_QUIT $SIG_TERM
8