Date: Fri, 23 Jul 2004 18:40:17 GMT From: Bram Moolenaar <Bram@moolenaar.net> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/57466: dialog(1) does not read stdin, breaks subversion port Message-ID: <200407231840.i6NIeHWE046183@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/57466; it has been noted by GNATS. From: Bram Moolenaar <Bram@moolenaar.net> To: "Bruce A. Mah" <bmah@freebsd.org> 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 <Tab> and <Space> 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 ///
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407231840.i6NIeHWE046183>