From owner-freebsd-bugs@FreeBSD.ORG Sun Feb 27 21:24:19 2011 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3357D1065705 for ; Sun, 27 Feb 2011 21:24:19 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id EAF4B8FC20 for ; Sun, 27 Feb 2011 21:24:18 +0000 (UTC) Received: by iwn33 with SMTP id 33so2918942iwn.13 for ; Sun, 27 Feb 2011 13:24:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=gkQE72lTn4IvtaGIxFX77nu2wWW1dsB2ZkEETrvw6Yo=; b=MKFz6xqqaWG8Lrjv03bn/R19nyDxmQkVSoF4pLBCqvmhtUGgwBLR2LSK2GH4NjhSOp 4ecf62oLUvg/MzUvTyXZL3IEE+Jg0zSBnnu94+11Sl7B4u5TQG8NSyayzP4XmUdcy2m4 XjFQQrQA8WWHWdhrrRP8A9AgzQLW4mqosO3zw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=eitanadler.com; s=0xdeadbeef; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=oBthd1aQdtQ0tYs19y6xb3N4WllQE8ZNkKyX1y2CU9aJrjd8Vr8/cKb3piRPOGSxkU h+/PKNsUzHMN8G1etCOIEpOnfUnMACNt3lV+UNHTJlRWhQL341mNPRvzQJR+z6s/LzbK /zzzTVwJjXLxYty2xB4MmWu4GPJ8vG+ll1CFQ= Received: by 10.231.37.196 with SMTP id y4mr4767207ibd.70.1298840125132; Sun, 27 Feb 2011 12:55:25 -0800 (PST) MIME-Version: 1.0 Sender: lists@eitanadler.com Received: by 10.231.32.68 with HTTP; Sun, 27 Feb 2011 12:55:05 -0800 (PST) In-Reply-To: <83C33215-1358-4606-A7A8-FC40BCC08E69@lassitu.de> References: <201102241311.p1ODBajF050380@freefall.freebsd.org> <83C33215-1358-4606-A7A8-FC40BCC08E69@lassitu.de> From: Eitan Adler Date: Sun, 27 Feb 2011 15:55:05 -0500 X-Google-Sender-Auth: FiZZxxD9Ouv5eJOTp87Lsm0x3so Message-ID: To: Stefan Bethke Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-bugs@freebsd.org Subject: Re: gnu/137665: [patch] dialog(1) goes into tight loop on encountering eof X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2011 21:24:19 -0000 > dialog does not go into a tight loop eating all CPU, but it still gets st= uck. =C2=A0I believe it should take some action on encountering EOF, instea= d of waiting for input forever. =C2=A0My patch did that for the old dialog,= typically taking the same path as pressing ESC would. I can not reproduce this using the command stated in the PR: $dialog --yesno foo -1 -1