From owner-freebsd-bugs@FreeBSD.ORG Fri Jul 23 18:40:17 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93DE516A4D5 for ; Fri, 23 Jul 2004 18:40:17 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7523F43D3F for ; Fri, 23 Jul 2004 18:40:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i6NIeHc4046186 for ; Fri, 23 Jul 2004 18:40:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6NIeHWE046183; Fri, 23 Jul 2004 18:40:17 GMT (envelope-from gnats) Date: Fri, 23 Jul 2004 18:40:17 GMT Message-Id: <200407231840.i6NIeHWE046183@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Bram Moolenaar Subject: Re: bin/57466: dialog(1) does not read stdin, breaks subversion port X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Bram Moolenaar List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jul 2004 18:40:17 -0000 The following reply was made to PR bin/57466; it has been noted by GNATS. From: Bram Moolenaar To: "Bruce A. Mah" Cc: freebsd-gnats-submit@freebsd.org, bram@moolenaar.net Subject: Re: bin/57466: dialog(1) does not read stdin, breaks subversion port Date: Fri, 23 Jul 2004 20:37:59 +0200 Bruce - > This PR caught my eye because at one point I used to maintain the > subversion port. When did it ever use the dialog command? It didn't > when I used to maintain it, and it doesn't seem to now. > > Is this still a problem? I'll try it out (now using FreeBSD 4.9)... Hmm, now the subversion port breaks because of a nasty dependency: An older version of textproc/expat2 is already installed (expat-1.95.6_1) The usual problem: 126 packages depend on expat-1.95.6_1! Thus I can't use the subversion port at this time. This kind of dependency makes the port system completely useless! Note that the original problem is not with subversion, it just happened to occur in the subversion port. The actual problem is with "dialog". I tried making a test to show the problem with just running "dialog": dialog --yesno question 6 50 |& tee /tmp/tt Problem is that keys like and are not handled. But Enter is used. Could it be that the terminal is not set to raw mode? Without redirecting stderr it works fine, thus I suspect a stty() is done on stderr while the input is read from stdin. The xterm settings are also messed up (scrolling works as if the number of lines is much less, need to do a "soft rest" to fix that). - Bram -- hundred-and-one symptoms of being an internet addict: 65. The last time you looked at the clock it was 11:30pm, and in what seems like only a few seconds later, your sister runs past you to catch her 7am school bus. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ Project leader for A-A-P -- http://www.A-A-P.org /// \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///